##// 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_QFrame.h
120 lines | 4.4 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QFRAME_H
#define PYTHONQTWRAPPER_QFRAME_H
#include <qframe.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qaction.h>
#include <qbitmap.h>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qcursor.h>
#include <qevent.h>
#include <qfont.h>
#include <qframe.h>
#include <qicon.h>
#include <qinputcontext.h>
#include <qkeysequence.h>
#include <qlayout.h>
#include <qlist.h>
#include <qlocale.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 <qsize.h>
#include <qsizepolicy.h>
#include <qstyle.h>
#include <qwidget.h>
class PythonQtShell_QFrame : public QFrame
{
public:
PythonQtShell_QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0):QFrame(parent, f),_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 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* e);
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 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 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* arg__1);
virtual void resizeEvent(QResizeEvent* arg__1);
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_QFrame : public QFrame
{ public:
inline void promoted_changeEvent(QEvent* arg__1) { QFrame::changeEvent(arg__1); }
inline void promoted_paintEvent(QPaintEvent* arg__1) { QFrame::paintEvent(arg__1); }
inline bool promoted_event(QEvent* e) { return QFrame::event(e); }
};
class PythonQtWrapper_QFrame : public QObject
{ Q_OBJECT
public:
Q_ENUMS(StyleMask )
enum StyleMask{
Shadow_Mask = QFrame::Shadow_Mask, Shape_Mask = QFrame::Shape_Mask};
public slots:
QFrame* new_QFrame(QWidget* parent = 0, Qt::WindowFlags f = 0);
void delete_QFrame(QFrame* obj) { delete obj; }
void setFrameShape(QFrame* theWrappedObject, QFrame::Shape arg__1);
int lineWidth(QFrame* theWrappedObject) const;
void setFrameRect(QFrame* theWrappedObject, const QRect& arg__1);
QRect frameRect(QFrame* theWrappedObject) const;
void changeEvent(QFrame* theWrappedObject, QEvent* arg__1);
QFrame::Shadow frameShadow(QFrame* theWrappedObject) const;
void paintEvent(QFrame* theWrappedObject, QPaintEvent* arg__1);
QSize sizeHint(QFrame* theWrappedObject) const;
int frameStyle(QFrame* theWrappedObject) const;
QFrame::Shape frameShape(QFrame* theWrappedObject) const;
void setMidLineWidth(QFrame* theWrappedObject, int arg__1);
int frameWidth(QFrame* theWrappedObject) const;
void setLineWidth(QFrame* theWrappedObject, int arg__1);
int midLineWidth(QFrame* theWrappedObject) const;
void setFrameShadow(QFrame* theWrappedObject, QFrame::Shadow arg__1);
void setFrameStyle(QFrame* theWrappedObject, int arg__1);
bool event(QFrame* theWrappedObject, QEvent* e);
};
#endif // PYTHONQTWRAPPER_QFRAME_H