#ifndef PYTHONQTWRAPPER_QWEBFRAME_H #define PYTHONQTWRAPPER_QWEBFRAME_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class PythonQtWrapper_QWebFrame : public QObject { Q_OBJECT public: public slots: void addToJavaScriptWindowObject(QWebFrame* theWrappedObject, const QString& name, QObject* object); QList 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