PythonQtWrapper_QWebFrame.h
68 lines
| 3.1 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QWEBFRAME_H | ||
#define PYTHONQTWRAPPER_QWEBFRAME_H | ||||
#include <qwebframe.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #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> | ||||
florianlink
|
r28 | class PythonQtPublicPromoter_QWebFrame : public QWebFrame | ||
{ public: | ||||
inline bool promoted_event(QEvent* arg__1) { return QWebFrame::event(arg__1); } | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QWebFrame : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
florianlink
|
r28 | void setScrollBarValue(QWebFrame* theWrappedObject, Qt::Orientation orientation, int value); | ||
void render(QWebFrame* theWrappedObject, QPainter* painter, const QRegion& clip); | ||||
QSize contentsSize(QWebFrame* theWrappedObject) const; | ||||
florianlink
|
r13 | QPoint pos(QWebFrame* theWrappedObject) const; | ||
florianlink
|
r28 | void load(QWebFrame* theWrappedObject, const QUrl& url); | ||
QWebFrame* parentFrame(QWebFrame* theWrappedObject) const; | ||||
int scrollBarMinimum(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; | ||||
Qt::ScrollBarPolicy scrollBarPolicy(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; | ||||
void load(QWebFrame* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation = QNetworkAccessManager::GetOperation, const QByteArray& body = QByteArray()); | ||||
QList<QWebFrame* > childFrames(QWebFrame* theWrappedObject) const; | ||||
QString frameName(QWebFrame* theWrappedObject) const; | ||||
florianlink
|
r24 | QRect geometry(QWebFrame* theWrappedObject) const; | ||
florianlink
|
r28 | QString title(QWebFrame* theWrappedObject) const; | ||
void render(QWebFrame* theWrappedObject, QPainter* painter); | ||||
QWebHitTestResult hitTestContent(QWebFrame* theWrappedObject, const QPoint& pos) const; | ||||
void setTextSizeMultiplier(QWebFrame* theWrappedObject, qreal factor); | ||||
void setUrl(QWebFrame* theWrappedObject, const QUrl& url); | ||||
florianlink
|
r24 | void addToJavaScriptWindowObject(QWebFrame* theWrappedObject, const QString& name, QObject* object); | ||
florianlink
|
r13 | void setContent(QWebFrame* theWrappedObject, const QByteArray& data, const QString& mimeType = QString(), const QUrl& baseUrl = QUrl()); | ||
florianlink
|
r24 | int scrollBarMaximum(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; | ||
florianlink
|
r28 | int scrollBarValue(QWebFrame* theWrappedObject, Qt::Orientation orientation) const; | ||
QString toPlainText(QWebFrame* theWrappedObject) const; | ||||
florianlink
|
r24 | QString renderTreeDump(QWebFrame* theWrappedObject) const; | ||
florianlink
|
r13 | void setScrollBarPolicy(QWebFrame* theWrappedObject, Qt::Orientation orientation, Qt::ScrollBarPolicy policy); | ||
florianlink
|
r24 | QIcon icon(QWebFrame* theWrappedObject) const; | ||
florianlink
|
r28 | QUrl url(QWebFrame* theWrappedObject) const; | ||
florianlink
|
r24 | void setHtml(QWebFrame* theWrappedObject, const QString& html, const QUrl& baseUrl = QUrl()); | ||
florianlink
|
r13 | qreal textSizeMultiplier(QWebFrame* theWrappedObject) const; | ||
florianlink
|
r28 | QString toHtml(QWebFrame* theWrappedObject) const; | ||
florianlink
|
r24 | QWebPage* page(QWebFrame* theWrappedObject) const; | ||
bool event(QWebFrame* theWrappedObject, QEvent* arg__1); | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QWEBFRAME_H | ||||