PythonQtWrapper_QWebView.h
167 lines
| 8.4 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QWEBVIEW_H | ||
#define PYTHONQTWRAPPER_QWEBVIEW_H | ||||
#include <qwebview.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qaction.h> | ||||
#include <qbitmap.h> | ||||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qcursor.h> | ||||
#include <qevent.h> | ||||
#include <qfont.h> | ||||
#include <qicon.h> | ||||
#include <qinputcontext.h> | ||||
#include <qkeysequence.h> | ||||
#include <qlayout.h> | ||||
#include <qlist.h> | ||||
#include <qlocale.h> | ||||
#include <qnetworkrequest.h> | ||||
#include <qobject.h> | ||||
#include <qpaintdevice.h> | ||||
#include <qpaintengine.h> | ||||
#include <qpainter.h> | ||||
#include <qpalette.h> | ||||
#include <qpoint.h> | ||||
#include <qprinter.h> | ||||
#include <qrect.h> | ||||
#include <qregion.h> | ||||
#include <qsize.h> | ||||
#include <qsizepolicy.h> | ||||
#include <qstyle.h> | ||||
#include <qurl.h> | ||||
#include <qwebpage.h> | ||||
#include <qwebsettings.h> | ||||
#include <qwebview.h> | ||||
#include <qwidget.h> | ||||
florianlink
|
r24 | class PythonQtShell_QWebView : public QWebView | ||
{ | ||||
public: | ||||
PythonQtShell_QWebView(QWidget* parent = 0):QWebView(parent),_wrapper(NULL) {}; | ||||
virtual void actionEvent(QActionEvent* arg__1); | ||||
virtual void changeEvent(QEvent* arg__1); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
virtual QWebView* createWindow(QWebPage::WebWindowType type); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual int devType() const; | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* arg__1); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void focusInEvent(QFocusEvent* arg__1); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* arg__1); | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; | ||||
virtual void keyPressEvent(QKeyEvent* arg__1); | ||||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void languageChange(); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual QSize minimumSizeHint() const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
virtual void mouseMoveEvent(QMouseEvent* arg__1); | ||||
virtual void mousePressEvent(QMouseEvent* arg__1); | ||||
virtual void mouseReleaseEvent(QMouseEvent* arg__1); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* ev); | ||||
virtual void resizeEvent(QResizeEvent* e); | ||||
virtual void showEvent(QShowEvent* arg__1); | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
virtual void wheelEvent(QWheelEvent* arg__1); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_QWebView : public QWebView | ||||
{ public: | ||||
florianlink
|
r73 | inline void promoted_focusOutEvent(QFocusEvent* arg__1) { QWebView::focusOutEvent(arg__1); } | ||
inline void promoted_dragEnterEvent(QDragEnterEvent* arg__1) { QWebView::dragEnterEvent(arg__1); } | ||||
florianlink
|
r28 | inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QWebView::mouseReleaseEvent(arg__1); } | ||
florianlink
|
r73 | inline void promoted_resizeEvent(QResizeEvent* e) { QWebView::resizeEvent(e); } | ||
inline void promoted_paintEvent(QPaintEvent* ev) { QWebView::paintEvent(ev); } | ||||
florianlink
|
r28 | inline bool promoted_focusNextPrevChild(bool next) { return QWebView::focusNextPrevChild(next); } | ||
florianlink
|
r73 | inline void promoted_dropEvent(QDropEvent* arg__1) { QWebView::dropEvent(arg__1); } | ||
florianlink
|
r28 | inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QWebView::mouseMoveEvent(arg__1); } | ||
florianlink
|
r73 | inline void promoted_dragMoveEvent(QDragMoveEvent* arg__1) { QWebView::dragMoveEvent(arg__1); } | ||
florianlink
|
r28 | inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QWebView::keyPressEvent(arg__1); } | ||
florianlink
|
r73 | inline bool promoted_event(QEvent* arg__1) { return QWebView::event(arg__1); } | ||
inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QWebView::mousePressEvent(arg__1); } | ||||
inline void promoted_keyReleaseEvent(QKeyEvent* arg__1) { QWebView::keyReleaseEvent(arg__1); } | ||||
florianlink
|
r28 | inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { QWebView::mouseDoubleClickEvent(arg__1); } | ||
florianlink
|
r73 | inline QWebView* promoted_createWindow(QWebPage::WebWindowType type) { return QWebView::createWindow(type); } | ||
inline void promoted_focusInEvent(QFocusEvent* arg__1) { QWebView::focusInEvent(arg__1); } | ||||
inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { QWebView::contextMenuEvent(arg__1); } | ||||
inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery property) const { return QWebView::inputMethodQuery(property); } | ||||
florianlink
|
r28 | inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QWebView::inputMethodEvent(arg__1); } | ||
florianlink
|
r73 | inline void promoted_changeEvent(QEvent* arg__1) { QWebView::changeEvent(arg__1); } | ||
inline void promoted_dragLeaveEvent(QDragLeaveEvent* arg__1) { QWebView::dragLeaveEvent(arg__1); } | ||||
inline void promoted_wheelEvent(QWheelEvent* arg__1) { QWebView::wheelEvent(arg__1); } | ||||
florianlink
|
r24 | }; | ||
florianlink
|
r13 | class PythonQtWrapper_QWebView : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QWebView* new_QWebView(QWidget* parent = 0); | ||||
void delete_QWebView(QWebView* obj) { delete obj; } | ||||
florianlink
|
r73 | void focusOutEvent(QWebView* theWrappedObject, QFocusEvent* arg__1); | ||
void setHtml(QWebView* theWrappedObject, const QString& html, const QUrl& baseUrl = QUrl()); | ||||
void dragEnterEvent(QWebView* theWrappedObject, QDragEnterEvent* arg__1); | ||||
florianlink
|
r24 | void mouseReleaseEvent(QWebView* theWrappedObject, QMouseEvent* arg__1); | ||
florianlink
|
r73 | void resizeEvent(QWebView* theWrappedObject, QResizeEvent* e); | ||
bool isModified(QWebView* theWrappedObject) const; | ||||
void triggerPageAction(QWebView* theWrappedObject, QWebPage::WebAction action, bool checked = false); | ||||
void paintEvent(QWebView* theWrappedObject, QPaintEvent* ev); | ||||
bool findText(QWebView* theWrappedObject, const QString& subString, QWebPage::FindFlags options = 0); | ||||
florianlink
|
r28 | bool focusNextPrevChild(QWebView* theWrappedObject, bool next); | ||
florianlink
|
r73 | void dropEvent(QWebView* theWrappedObject, QDropEvent* arg__1); | ||
florianlink
|
r24 | QWebHistory* history(QWebView* theWrappedObject) const; | ||
florianlink
|
r73 | void setUrl(QWebView* theWrappedObject, const QUrl& url); | ||
florianlink
|
r28 | void mouseMoveEvent(QWebView* theWrappedObject, QMouseEvent* arg__1); | ||
QWebPage* page(QWebView* theWrappedObject) const; | ||||
florianlink
|
r73 | void dragMoveEvent(QWebView* theWrappedObject, QDragMoveEvent* arg__1); | ||
florianlink
|
r28 | void keyPressEvent(QWebView* theWrappedObject, QKeyEvent* arg__1); | ||
florianlink
|
r73 | QWebSettings* settings(QWebView* theWrappedObject) const; | ||
bool event(QWebView* theWrappedObject, QEvent* arg__1); | ||||
florianlink
|
r28 | QString selectedText(QWebView* theWrappedObject) const; | ||
florianlink
|
r73 | void mousePressEvent(QWebView* theWrappedObject, QMouseEvent* arg__1); | ||
florianlink
|
r28 | void keyReleaseEvent(QWebView* theWrappedObject, QKeyEvent* arg__1); | ||
QUrl url(QWebView* theWrappedObject) const; | ||||
florianlink
|
r73 | void mouseDoubleClickEvent(QWebView* theWrappedObject, QMouseEvent* arg__1); | ||
QIcon icon(QWebView* theWrappedObject) const; | ||||
QWebView* createWindow(QWebView* theWrappedObject, QWebPage::WebWindowType type); | ||||
void focusInEvent(QWebView* theWrappedObject, QFocusEvent* arg__1); | ||||
void setPage(QWebView* theWrappedObject, QWebPage* page); | ||||
void load(QWebView* theWrappedObject, const QUrl& url); | ||||
void contextMenuEvent(QWebView* theWrappedObject, QContextMenuEvent* arg__1); | ||||
florianlink
|
r28 | QString title(QWebView* theWrappedObject) const; | ||
florianlink
|
r73 | QSize sizeHint(QWebView* theWrappedObject) const; | ||
QAction* pageAction(QWebView* theWrappedObject, QWebPage::WebAction action) const; | ||||
QVariant inputMethodQuery(QWebView* theWrappedObject, Qt::InputMethodQuery property) const; | ||||
void inputMethodEvent(QWebView* theWrappedObject, QInputMethodEvent* arg__1); | ||||
void load(QWebView* theWrappedObject, const QNetworkRequest& request, QNetworkAccessManager::Operation operation = QNetworkAccessManager::GetOperation, const QByteArray& body = QByteArray()); | ||||
void changeEvent(QWebView* theWrappedObject, QEvent* arg__1); | ||||
void setContent(QWebView* theWrappedObject, const QByteArray& data, const QString& mimeType = QString(), const QUrl& baseUrl = QUrl()); | ||||
void dragLeaveEvent(QWebView* theWrappedObject, QDragLeaveEvent* arg__1); | ||||
void setTextSizeMultiplier(QWebView* theWrappedObject, qreal factor); | ||||
qreal textSizeMultiplier(QWebView* theWrappedObject) const; | ||||
void wheelEvent(QWebView* theWrappedObject, QWheelEvent* arg__1); | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QWEBVIEW_H | ||||