##// END OF EJS Templates
added builtin support for variants etc., this will replace the direct includes in PythonQt...
added builtin support for variants etc., this will replace the direct includes in PythonQt git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@129 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r93:7b53f64eae84
Show More
PythonQtWrapper_QMdiArea.h
143 lines | 6.3 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QMDIAREA_H
#define PYTHONQTWRAPPER_QMDIAREA_H
#include <qmdiarea.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qaction.h>
#include <qbitmap.h>
#include <qbrush.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 <qmdiarea.h>
#include <qmdisubwindow.h>
#include <qobject.h>
#include <qpaintdevice.h>
#include <qpaintengine.h>
#include <qpainter.h>
#include <qpalette.h>
#include <qpoint.h>
#include <qrect.h>
#include <qregion.h>
#include <qscrollbar.h>
#include <qsize.h>
#include <qsizepolicy.h>
#include <qstyle.h>
#include <qwidget.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QMdiArea : public QMdiArea
{
public:
PythonQtShell_QMdiArea(QWidget* parent = 0):QMdiArea(parent),_wrapper(NULL) {};
virtual void actionEvent(QActionEvent* arg__1);
virtual void changeEvent(QEvent* arg__1);
virtual void childEvent(QChildEvent* childEvent);
virtual void closeEvent(QCloseEvent* arg__1);
virtual void contextMenuEvent(QContextMenuEvent* arg__1);
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* event);
virtual bool eventFilter(QObject* object, QEvent* event);
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 arg__1) 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 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* paintEvent);
virtual void resizeEvent(QResizeEvent* resizeEvent);
virtual void scrollContentsBy(int dx, int dy);
virtual void showEvent(QShowEvent* showEvent);
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* timerEvent);
virtual bool viewportEvent(QEvent* event);
virtual void wheelEvent(QWheelEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QMdiArea : public QMdiArea
{ public:
florianlink
recreated wrappers to match current python qt version...
r73 inline bool promoted_eventFilter(QObject* object, QEvent* event) { return QMdiArea::eventFilter(object, event); }
inline void promoted_paintEvent(QPaintEvent* paintEvent) { QMdiArea::paintEvent(paintEvent); }
inline void promoted_scrollContentsBy(int dx, int dy) { QMdiArea::scrollContentsBy(dx, dy); }
florianlink
upgraded wrappers to current generator version...
r28 inline bool promoted_event(QEvent* event) { return QMdiArea::event(event); }
florianlink
recreated wrappers to match current python qt version...
r73 inline bool promoted_viewportEvent(QEvent* event) { return QMdiArea::viewportEvent(event); }
florianlink
upgraded wrappers to current generator version...
r28 inline void promoted_resizeEvent(QResizeEvent* resizeEvent) { QMdiArea::resizeEvent(resizeEvent); }
florianlink
recreated wrappers to match current python qt version...
r73 inline void promoted_showEvent(QShowEvent* showEvent) { QMdiArea::showEvent(showEvent); }
florianlink
upgraded wrappers to current generator version...
r28 inline void promoted_childEvent(QChildEvent* childEvent) { QMdiArea::childEvent(childEvent); }
inline void promoted_timerEvent(QTimerEvent* timerEvent) { QMdiArea::timerEvent(timerEvent); }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 };
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QMdiArea : public QObject
{ Q_OBJECT
public:
Q_ENUMS(AreaOption )
florianlink
recreated wrappers to match current python qt version...
r73 Q_FLAGS(AreaOptions )
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 enum AreaOption{
DontMaximizeSubWindowOnActivation = QMdiArea::DontMaximizeSubWindowOnActivation};
florianlink
recreated wrappers to match current python qt version...
r73 Q_DECLARE_FLAGS(AreaOptions, AreaOption)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 public slots:
QMdiArea* new_QMdiArea(QWidget* parent = 0);
void delete_QMdiArea(QMdiArea* obj) { delete obj; }
florianlink
upgraded wrappers to current generator version...
r28 void setTabPosition(QMdiArea* theWrappedObject, QTabWidget::TabPosition position);
bool eventFilter(QMdiArea* theWrappedObject, QObject* object, QEvent* event);
florianlink
recreated wrappers to match current python qt version...
r73 void paintEvent(QMdiArea* theWrappedObject, QPaintEvent* paintEvent);
void setViewMode(QMdiArea* theWrappedObject, QMdiArea::ViewMode mode);
QSize minimumSizeHint(QMdiArea* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void scrollContentsBy(QMdiArea* theWrappedObject, int dx, int dy);
florianlink
recreated wrappers to match current python qt version...
r73 bool event(QMdiArea* theWrappedObject, QEvent* event);
QList<QMdiSubWindow* > subWindowList(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order = QMdiArea::CreationOrder) const;
QTabWidget::TabShape tabShape(QMdiArea* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QSize sizeHint(QMdiArea* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 bool viewportEvent(QMdiArea* theWrappedObject, QEvent* event);
void setActivationOrder(QMdiArea* theWrappedObject, QMdiArea::WindowOrder order);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QMdiSubWindow* addSubWindow(QMdiArea* theWrappedObject, QWidget* widget, Qt::WindowFlags flags = 0);
void setBackground(QMdiArea* theWrappedObject, const QBrush& background);
florianlink
upgraded wrappers to current generator version...
r28 QMdiArea::ViewMode viewMode(QMdiArea* theWrappedObject) const;
QMdiArea::WindowOrder activationOrder(QMdiArea* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 void resizeEvent(QMdiArea* theWrappedObject, QResizeEvent* resizeEvent);
florianlink
upgraded wrappers to current generator version...
r28 QMdiSubWindow* currentSubWindow(QMdiArea* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setTabShape(QMdiArea* theWrappedObject, QTabWidget::TabShape shape);
void showEvent(QMdiArea* theWrappedObject, QShowEvent* showEvent);
QMdiSubWindow* activeSubWindow(QMdiArea* theWrappedObject) const;
void setOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption option, bool on = true);
florianlink
recreated wrappers to match current python qt version...
r73 QBrush background(QMdiArea* theWrappedObject) const;
void removeSubWindow(QMdiArea* theWrappedObject, QWidget* widget);
void childEvent(QMdiArea* theWrappedObject, QChildEvent* childEvent);
QTabWidget::TabPosition tabPosition(QMdiArea* theWrappedObject) const;
bool testOption(QMdiArea* theWrappedObject, QMdiArea::AreaOption opton) const;
void timerEvent(QMdiArea* theWrappedObject, QTimerEvent* timerEvent);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QMDIAREA_H