PythonQtWrapper_QStyleOptionFrameV2.h
42 lines
| 1.4 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QSTYLEOPTIONFRAMEV2_H | ||
#define PYTHONQTWRAPPER_QSTYLEOPTIONFRAMEV2_H | ||||
#include <qstyleoption.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qstyleoption.h> | ||||
#include <qwidget.h> | ||||
florianlink
|
r24 | class PythonQtShell_QStyleOptionFrameV2 : public QStyleOptionFrameV2 | ||
{ | ||||
public: | ||||
PythonQtShell_QStyleOptionFrameV2():QStyleOptionFrameV2(),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionFrameV2(const QStyleOptionFrame& other):QStyleOptionFrameV2(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionFrameV2(const QStyleOptionFrameV2& other):QStyleOptionFrameV2(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionFrameV2(int version):QStyleOptionFrameV2(version),_wrapper(NULL) {}; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QStyleOptionFrameV2 : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
Q_ENUMS(StyleOptionVersion FrameFeature ) | ||||
florianlink
|
r73 | Q_FLAGS(FrameFeatures ) | ||
florianlink
|
r13 | enum StyleOptionVersion{ | ||
Version = QStyleOptionFrameV2::Version}; | ||||
enum FrameFeature{ | ||||
None = QStyleOptionFrameV2::None, Flat = QStyleOptionFrameV2::Flat}; | ||||
florianlink
|
r73 | Q_DECLARE_FLAGS(FrameFeatures, FrameFeature) | ||
florianlink
|
r13 | public slots: | ||
QStyleOptionFrameV2* new_QStyleOptionFrameV2(); | ||||
QStyleOptionFrameV2* new_QStyleOptionFrameV2(const QStyleOptionFrame& other); | ||||
QStyleOptionFrameV2* new_QStyleOptionFrameV2(const QStyleOptionFrameV2& other); | ||||
void delete_QStyleOptionFrameV2(QStyleOptionFrameV2* obj) { delete obj; } | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QSTYLEOPTIONFRAMEV2_H | ||||