PythonQtWrapper_QWebFrame.h
61 lines
| 3.0 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QWEBFRAME_H | ||
#define PYTHONQTWRAPPER_QWEBFRAME_H | ||||
#include <qwebframe.h> | ||||
#include <QObject> | ||||
#include <QVariant> | ||||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qicon.h> | ||||
#include <qlist.h> | ||||
#include <qnetworkrequest.h> | ||||
#include <qobject.h> | ||||
#include <qpainter.h> | ||||
#include <qpoint.h> | ||||
#include <qprinter.h> | ||||
#include <qrect.h> | ||||
#include <qregion.h> | ||||
#include <qsize.h> | ||||
#include <qurl.h> | ||||
#include <qwebframe.h> | ||||
#include <qwebpage.h> | ||||
class PythonQtWrapper_QWebFrame : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
void addToJavaScriptWindowObject(QWebFrame* theWrappedObject, const QString& name, QObject* object); | ||||
QList<QWebFrame* > childFrames(QWebFrame* theWrappedObject) const; | ||||
QSize contentsSize(QWebFrame* theWrappedObject) const; | ||||
bool event(QWebFrame* theWrappedObject, QEvent* arg__1); | ||||
QString frameName(QWebFrame* theWrappedObject) const; | ||||
QRect geometry(QWebFrame* theWrappedObject) const; | ||||
QWebHitTestResult hitTestContent(QWebFrame* theWrappedObject, const QPoint& pos) const; | ||||
QIcon icon(QWebFrame* theWrappedObject) const; | ||||
void load(QWebFrame* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation = QNetworkAccessManager::GetOperation, const QByteArray& body = QByteArray()); | ||||
void load(QWebFrame* theWrappedObject, const QUrl& url); | ||||
QWebPage* page(QWebFrame* theWrappedObject) const; | ||||
QWebFrame* parentFrame(QWebFrame* theWrappedObject) const; | ||||
QPoint pos(QWebFrame* theWrappedObject) const; | ||||
void render(QWebFrame* theWrappedObject, QPainter* painter); | ||||
void render(QWebFrame* theWrappedObject, QPainter* painter, const QRegion& clip); | ||||
QString renderTreeDump(QWebFrame* theWrappedObject) const; | ||||
int scrollBarMaximum(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; | ||||
int scrollBarMinimum(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; | ||||
Qt::ScrollBarPolicy scrollBarPolicy(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; | ||||
int scrollBarValue(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; | ||||
void setContent(QWebFrame* theWrappedObject, const QByteArray& data, const QString& mimeType = QString(), const QUrl& baseUrl = QUrl()); | ||||
void setHtml(QWebFrame* theWrappedObject, const QString& html, const QUrl& baseUrl = QUrl()); | ||||
void setScrollBarPolicy(QWebFrame* theWrappedObject, Qt::Orientation orientation, Qt::ScrollBarPolicy policy); | ||||
void setScrollBarValue(QWebFrame* theWrappedObject, Qt::Orientation orientation, int value); | ||||
void setTextSizeMultiplier(QWebFrame* theWrappedObject, qreal factor); | ||||
void setUrl(QWebFrame* theWrappedObject, const QUrl& url); | ||||
qreal textSizeMultiplier(QWebFrame* theWrappedObject) const; | ||||
QString title(QWebFrame* theWrappedObject) const; | ||||
QString toHtml(QWebFrame* theWrappedObject) const; | ||||
QString toPlainText(QWebFrame* theWrappedObject) const; | ||||
QUrl url(QWebFrame* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QWEBFRAME_H | ||||