com_trolltech_qt_gui8.h
1723 lines
| 91.7 KiB
| text/x-c
|
CLexer
florianlink
|
r99 | #include <PythonQt.h> | ||
florianlink
|
r110 | #include <QIcon> | ||
florianlink
|
r99 | #include <QObject> | ||
#include <QTextBlock> | ||||
#include <QVariant> | ||||
#include <qabstractitemdelegate.h> | ||||
#include <qabstractitemmodel.h> | ||||
florianlink
|
r110 | #include <qabstractitemview.h> | ||
florianlink
|
r99 | #include <qaction.h> | ||
#include <qbitmap.h> | ||||
#include <qbrush.h> | ||||
#include <qbytearray.h> | ||||
#include <qcolor.h> | ||||
#include <qcoreevent.h> | ||||
#include <qcursor.h> | ||||
#include <qdatastream.h> | ||||
#include <qevent.h> | ||||
#include <qfont.h> | ||||
florianlink
|
r110 | #include <qgesture.h> | ||
#include <qgraphicseffect.h> | ||||
#include <qgraphicsproxywidget.h> | ||||
florianlink
|
r99 | #include <qheaderview.h> | ||
#include <qicon.h> | ||||
florianlink
|
r110 | #include <qimage.h> | ||
florianlink
|
r99 | #include <qinputcontext.h> | ||
florianlink
|
r110 | #include <qitemeditorfactory.h> | ||
florianlink
|
r99 | #include <qitemselectionmodel.h> | ||
#include <qkeysequence.h> | ||||
#include <qlayout.h> | ||||
florianlink
|
r110 | #include <qline.h> | ||
florianlink
|
r99 | #include <qlist.h> | ||
#include <qlocale.h> | ||||
florianlink
|
r110 | #include <qmargins.h> | ||
#include <qmatrix.h> | ||||
florianlink
|
r99 | #include <qmenu.h> | ||
#include <qmimedata.h> | ||||
#include <qobject.h> | ||||
#include <qpaintdevice.h> | ||||
#include <qpaintengine.h> | ||||
#include <qpainter.h> | ||||
florianlink
|
r110 | #include <qpainterpath.h> | ||
florianlink
|
r99 | #include <qpalette.h> | ||
#include <qpen.h> | ||||
florianlink
|
r110 | #include <qpicture.h> | ||
#include <qpixmap.h> | ||||
florianlink
|
r99 | #include <qpoint.h> | ||
florianlink
|
r110 | #include <qpolygon.h> | ||
florianlink
|
r99 | #include <qrect.h> | ||
#include <qregion.h> | ||||
#include <qscrollbar.h> | ||||
#include <qsize.h> | ||||
#include <qsizepolicy.h> | ||||
#include <qstringlist.h> | ||||
#include <qstyle.h> | ||||
florianlink
|
r110 | #include <qstyleditemdelegate.h> | ||
florianlink
|
r99 | #include <qstyleoption.h> | ||
florianlink
|
r110 | #include <qstylepainter.h> | ||
#include <qstyleplugin.h> | ||||
#include <qsyntaxhighlighter.h> | ||||
#include <qsystemtrayicon.h> | ||||
florianlink
|
r99 | #include <qtabbar.h> | ||
#include <qtableview.h> | ||||
#include <qtablewidget.h> | ||||
#include <qtabwidget.h> | ||||
#include <qtextdocument.h> | ||||
#include <qtextedit.h> | ||||
#include <qtextformat.h> | ||||
#include <qtextlayout.h> | ||||
#include <qtextlist.h> | ||||
#include <qtextobject.h> | ||||
florianlink
|
r110 | #include <qtransform.h> | ||
florianlink
|
r99 | #include <qvector.h> | ||
#include <qwidget.h> | ||||
florianlink
|
r110 | class PythonQtShell_QStyleOptionTab : public QStyleOptionTab | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QStyleOptionTab():QStyleOptionTab(),_wrapper(NULL) {}; | ||
PythonQtShell_QStyleOptionTab(const QStyleOptionTab& other):QStyleOptionTab(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionTab(int version):QStyleOptionTab(version),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QStyleOptionTab : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
Q_ENUMS(StyleOptionVersion CornerWidget TabPosition SelectedPosition StyleOptionType ) | ||||
Q_FLAGS(CornerWidgets ) | ||||
enum StyleOptionVersion{ | ||||
Version = QStyleOptionTab::Version}; | ||||
enum CornerWidget{ | ||||
NoCornerWidgets = QStyleOptionTab::NoCornerWidgets, LeftCornerWidget = QStyleOptionTab::LeftCornerWidget, RightCornerWidget = QStyleOptionTab::RightCornerWidget}; | ||||
enum TabPosition{ | ||||
Beginning = QStyleOptionTab::Beginning, Middle = QStyleOptionTab::Middle, End = QStyleOptionTab::End, OnlyOneTab = QStyleOptionTab::OnlyOneTab}; | ||||
enum SelectedPosition{ | ||||
NotAdjacent = QStyleOptionTab::NotAdjacent, NextIsSelected = QStyleOptionTab::NextIsSelected, PreviousIsSelected = QStyleOptionTab::PreviousIsSelected}; | ||||
enum StyleOptionType{ | ||||
Type = QStyleOptionTab::Type}; | ||||
Q_DECLARE_FLAGS(CornerWidgets, CornerWidget) | ||||
public slots: | ||||
QStyleOptionTab* new_QStyleOptionTab(); | ||||
QStyleOptionTab* new_QStyleOptionTab(const QStyleOptionTab& other); | ||||
void delete_QStyleOptionTab(QStyleOptionTab* obj) { delete obj; } | ||||
florianlink
|
r117 | void py_set_row(QStyleOptionTab* theWrappedObject, int row){ theWrappedObject->row = row; } | ||
int py_get_row(QStyleOptionTab* theWrappedObject){ return theWrappedObject->row; } | ||||
void py_set_cornerWidgets(QStyleOptionTab* theWrappedObject, QStyleOptionTab::CornerWidgets cornerWidgets){ theWrappedObject->cornerWidgets = cornerWidgets; } | ||||
QStyleOptionTab::CornerWidgets py_get_cornerWidgets(QStyleOptionTab* theWrappedObject){ return theWrappedObject->cornerWidgets; } | ||||
void py_set_position(QStyleOptionTab* theWrappedObject, QStyleOptionTab::TabPosition position){ theWrappedObject->position = position; } | ||||
QStyleOptionTab::TabPosition py_get_position(QStyleOptionTab* theWrappedObject){ return theWrappedObject->position; } | ||||
void py_set_icon(QStyleOptionTab* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } | ||||
QIcon py_get_icon(QStyleOptionTab* theWrappedObject){ return theWrappedObject->icon; } | ||||
void py_set_shape(QStyleOptionTab* theWrappedObject, QTabBar::Shape shape){ theWrappedObject->shape = shape; } | ||||
QTabBar::Shape py_get_shape(QStyleOptionTab* theWrappedObject){ return theWrappedObject->shape; } | ||||
void py_set_text(QStyleOptionTab* theWrappedObject, QString text){ theWrappedObject->text = text; } | ||||
QString py_get_text(QStyleOptionTab* theWrappedObject){ return theWrappedObject->text; } | ||||
void py_set_selectedPosition(QStyleOptionTab* theWrappedObject, QStyleOptionTab::SelectedPosition selectedPosition){ theWrappedObject->selectedPosition = selectedPosition; } | ||||
QStyleOptionTab::SelectedPosition py_get_selectedPosition(QStyleOptionTab* theWrappedObject){ return theWrappedObject->selectedPosition; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | |||
class PythonQtShell_QStyleOptionTabBarBase : public QStyleOptionTabBarBase | ||||
{ | ||||
public: | ||||
PythonQtShell_QStyleOptionTabBarBase():QStyleOptionTabBarBase(),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other):QStyleOptionTabBarBase(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionTabBarBase(int version):QStyleOptionTabBarBase(version),_wrapper(NULL) {}; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtWrapper_QStyleOptionTabBarBase : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(StyleOptionVersion StyleOptionType ) | ||
enum StyleOptionVersion{ | ||||
Version = QStyleOptionTabBarBase::Version}; | ||||
enum StyleOptionType{ | ||||
Type = QStyleOptionTabBarBase::Type}; | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(); | ||
QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other); | ||||
void delete_QStyleOptionTabBarBase(QStyleOptionTabBarBase* obj) { delete obj; } | ||||
florianlink
|
r117 | void py_set_selectedTabRect(QStyleOptionTabBarBase* theWrappedObject, QRect selectedTabRect){ theWrappedObject->selectedTabRect = selectedTabRect; } | ||
QRect py_get_selectedTabRect(QStyleOptionTabBarBase* theWrappedObject){ return theWrappedObject->selectedTabRect; } | ||||
void py_set_shape(QStyleOptionTabBarBase* theWrappedObject, QTabBar::Shape shape){ theWrappedObject->shape = shape; } | ||||
QTabBar::Shape py_get_shape(QStyleOptionTabBarBase* theWrappedObject){ return theWrappedObject->shape; } | ||||
void py_set_tabBarRect(QStyleOptionTabBarBase* theWrappedObject, QRect tabBarRect){ theWrappedObject->tabBarRect = tabBarRect; } | ||||
QRect py_get_tabBarRect(QStyleOptionTabBarBase* theWrappedObject){ return theWrappedObject->tabBarRect; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QStyleOptionTabBarBaseV2 : public QStyleOptionTabBarBaseV2 | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QStyleOptionTabBarBaseV2():QStyleOptionTabBarBaseV2(),_wrapper(NULL) {}; | ||
PythonQtShell_QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBase& other):QStyleOptionTabBarBaseV2(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2& other):QStyleOptionTabBarBaseV2(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionTabBarBaseV2(int version):QStyleOptionTabBarBaseV2(version),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QStyleOptionTabBarBaseV2 : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
Q_ENUMS(StyleOptionVersion ) | ||||
enum StyleOptionVersion{ | ||||
Version = QStyleOptionTabBarBaseV2::Version}; | ||||
public slots: | ||||
QStyleOptionTabBarBaseV2* new_QStyleOptionTabBarBaseV2(); | ||||
QStyleOptionTabBarBaseV2* new_QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBase& other); | ||||
QStyleOptionTabBarBaseV2* new_QStyleOptionTabBarBaseV2(const QStyleOptionTabBarBaseV2& other); | ||||
void delete_QStyleOptionTabBarBaseV2(QStyleOptionTabBarBaseV2* obj) { delete obj; } | ||||
florianlink
|
r117 | void py_set_documentMode(QStyleOptionTabBarBaseV2* theWrappedObject, bool documentMode){ theWrappedObject->documentMode = documentMode; } | ||
bool py_get_documentMode(QStyleOptionTabBarBaseV2* theWrappedObject){ return theWrappedObject->documentMode; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | |||
class PythonQtShell_QStyleOptionTabV2 : public QStyleOptionTabV2 | ||||
{ | ||||
public: | ||||
PythonQtShell_QStyleOptionTabV2():QStyleOptionTabV2(),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionTabV2(const QStyleOptionTab& other):QStyleOptionTabV2(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionTabV2(const QStyleOptionTabV2& other):QStyleOptionTabV2(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionTabV2(int version):QStyleOptionTabV2(version),_wrapper(NULL) {}; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtWrapper_QStyleOptionTabV2 : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(StyleOptionVersion ) | ||
enum StyleOptionVersion{ | ||||
Version = QStyleOptionTabV2::Version}; | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QStyleOptionTabV2* new_QStyleOptionTabV2(); | ||
QStyleOptionTabV2* new_QStyleOptionTabV2(const QStyleOptionTab& other); | ||||
QStyleOptionTabV2* new_QStyleOptionTabV2(const QStyleOptionTabV2& other); | ||||
void delete_QStyleOptionTabV2(QStyleOptionTabV2* obj) { delete obj; } | ||||
florianlink
|
r117 | void py_set_iconSize(QStyleOptionTabV2* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } | ||
QSize py_get_iconSize(QStyleOptionTabV2* theWrappedObject){ return theWrappedObject->iconSize; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QStyleOptionTabV3 : public QStyleOptionTabV3 | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QStyleOptionTabV3():QStyleOptionTabV3(),_wrapper(NULL) {}; | ||
PythonQtShell_QStyleOptionTabV3(const QStyleOptionTab& other):QStyleOptionTabV3(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionTabV3(const QStyleOptionTabV2& other):QStyleOptionTabV3(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionTabV3(const QStyleOptionTabV3& other):QStyleOptionTabV3(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionTabV3(int version):QStyleOptionTabV3(version),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QStyleOptionTabV3 : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(StyleOptionVersion ) | ||
enum StyleOptionVersion{ | ||||
Version = QStyleOptionTabV3::Version}; | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QStyleOptionTabV3* new_QStyleOptionTabV3(); | ||
QStyleOptionTabV3* new_QStyleOptionTabV3(const QStyleOptionTab& other); | ||||
QStyleOptionTabV3* new_QStyleOptionTabV3(const QStyleOptionTabV2& other); | ||||
QStyleOptionTabV3* new_QStyleOptionTabV3(const QStyleOptionTabV3& other); | ||||
void delete_QStyleOptionTabV3(QStyleOptionTabV3* obj) { delete obj; } | ||||
florianlink
|
r117 | void py_set_documentMode(QStyleOptionTabV3* theWrappedObject, bool documentMode){ theWrappedObject->documentMode = documentMode; } | ||
bool py_get_documentMode(QStyleOptionTabV3* theWrappedObject){ return theWrappedObject->documentMode; } | ||||
void py_set_rightButtonSize(QStyleOptionTabV3* theWrappedObject, QSize rightButtonSize){ theWrappedObject->rightButtonSize = rightButtonSize; } | ||||
QSize py_get_rightButtonSize(QStyleOptionTabV3* theWrappedObject){ return theWrappedObject->rightButtonSize; } | ||||
void py_set_leftButtonSize(QStyleOptionTabV3* theWrappedObject, QSize leftButtonSize){ theWrappedObject->leftButtonSize = leftButtonSize; } | ||||
QSize py_get_leftButtonSize(QStyleOptionTabV3* theWrappedObject){ return theWrappedObject->leftButtonSize; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QStyleOptionTabWidgetFrame : public QStyleOptionTabWidgetFrame | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QStyleOptionTabWidgetFrame():QStyleOptionTabWidgetFrame(),_wrapper(NULL) {}; | ||
PythonQtShell_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other):QStyleOptionTabWidgetFrame(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionTabWidgetFrame(int version):QStyleOptionTabWidgetFrame(version),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QStyleOptionTabWidgetFrame : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(StyleOptionVersion StyleOptionType ) | ||
enum StyleOptionVersion{ | ||||
Version = QStyleOptionTabWidgetFrame::Version}; | ||||
enum StyleOptionType{ | ||||
Type = QStyleOptionTabWidgetFrame::Type}; | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(); | ||
QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other); | ||||
void delete_QStyleOptionTabWidgetFrame(QStyleOptionTabWidgetFrame* obj) { delete obj; } | ||||
florianlink
|
r117 | void py_set_lineWidth(QStyleOptionTabWidgetFrame* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; } | ||
int py_get_lineWidth(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->lineWidth; } | ||||
void py_set_rightCornerWidgetSize(QStyleOptionTabWidgetFrame* theWrappedObject, QSize rightCornerWidgetSize){ theWrappedObject->rightCornerWidgetSize = rightCornerWidgetSize; } | ||||
QSize py_get_rightCornerWidgetSize(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->rightCornerWidgetSize; } | ||||
void py_set_tabBarSize(QStyleOptionTabWidgetFrame* theWrappedObject, QSize tabBarSize){ theWrappedObject->tabBarSize = tabBarSize; } | ||||
QSize py_get_tabBarSize(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->tabBarSize; } | ||||
void py_set_shape(QStyleOptionTabWidgetFrame* theWrappedObject, QTabBar::Shape shape){ theWrappedObject->shape = shape; } | ||||
QTabBar::Shape py_get_shape(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->shape; } | ||||
void py_set_midLineWidth(QStyleOptionTabWidgetFrame* theWrappedObject, int midLineWidth){ theWrappedObject->midLineWidth = midLineWidth; } | ||||
int py_get_midLineWidth(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->midLineWidth; } | ||||
void py_set_leftCornerWidgetSize(QStyleOptionTabWidgetFrame* theWrappedObject, QSize leftCornerWidgetSize){ theWrappedObject->leftCornerWidgetSize = leftCornerWidgetSize; } | ||||
QSize py_get_leftCornerWidgetSize(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->leftCornerWidgetSize; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QStyleOptionTitleBar : public QStyleOptionTitleBar | ||
{ | ||||
public: | ||||
PythonQtShell_QStyleOptionTitleBar():QStyleOptionTitleBar(),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionTitleBar(const QStyleOptionTitleBar& other):QStyleOptionTitleBar(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionTitleBar(int version):QStyleOptionTitleBar(version),_wrapper(NULL) {}; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtWrapper_QStyleOptionTitleBar : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(StyleOptionVersion StyleOptionType ) | ||
enum StyleOptionVersion{ | ||||
Version = QStyleOptionTitleBar::Version}; | ||||
enum StyleOptionType{ | ||||
Type = QStyleOptionTitleBar::Type}; | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QStyleOptionTitleBar* new_QStyleOptionTitleBar(); | ||
QStyleOptionTitleBar* new_QStyleOptionTitleBar(const QStyleOptionTitleBar& other); | ||||
void delete_QStyleOptionTitleBar(QStyleOptionTitleBar* obj) { delete obj; } | ||||
florianlink
|
r117 | void py_set_titleBarFlags(QStyleOptionTitleBar* theWrappedObject, Qt::WindowFlags titleBarFlags){ theWrappedObject->titleBarFlags = titleBarFlags; } | ||
Qt::WindowFlags py_get_titleBarFlags(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->titleBarFlags; } | ||||
void py_set_icon(QStyleOptionTitleBar* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } | ||||
QIcon py_get_icon(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->icon; } | ||||
void py_set_text(QStyleOptionTitleBar* theWrappedObject, QString text){ theWrappedObject->text = text; } | ||||
QString py_get_text(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->text; } | ||||
void py_set_titleBarState(QStyleOptionTitleBar* theWrappedObject, int titleBarState){ theWrappedObject->titleBarState = titleBarState; } | ||||
int py_get_titleBarState(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->titleBarState; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QStyleOptionToolBar : public QStyleOptionToolBar | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QStyleOptionToolBar():QStyleOptionToolBar(),_wrapper(NULL) {}; | ||
PythonQtShell_QStyleOptionToolBar(const QStyleOptionToolBar& other):QStyleOptionToolBar(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionToolBar(int version):QStyleOptionToolBar(version),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QStyleOptionToolBar : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(StyleOptionVersion StyleOptionType ToolBarPosition ToolBarFeature ) | ||
Q_FLAGS(ToolBarFeatures ) | ||||
enum StyleOptionVersion{ | ||||
Version = QStyleOptionToolBar::Version}; | ||||
enum StyleOptionType{ | ||||
Type = QStyleOptionToolBar::Type}; | ||||
enum ToolBarPosition{ | ||||
Beginning = QStyleOptionToolBar::Beginning, Middle = QStyleOptionToolBar::Middle, End = QStyleOptionToolBar::End, OnlyOne = QStyleOptionToolBar::OnlyOne}; | ||||
enum ToolBarFeature{ | ||||
None = QStyleOptionToolBar::None, Movable = QStyleOptionToolBar::Movable}; | ||||
Q_DECLARE_FLAGS(ToolBarFeatures, ToolBarFeature) | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QStyleOptionToolBar* new_QStyleOptionToolBar(); | ||
QStyleOptionToolBar* new_QStyleOptionToolBar(const QStyleOptionToolBar& other); | ||||
void delete_QStyleOptionToolBar(QStyleOptionToolBar* obj) { delete obj; } | ||||
florianlink
|
r117 | void py_set_lineWidth(QStyleOptionToolBar* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; } | ||
int py_get_lineWidth(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->lineWidth; } | ||||
void py_set_positionWithinLine(QStyleOptionToolBar* theWrappedObject, QStyleOptionToolBar::ToolBarPosition positionWithinLine){ theWrappedObject->positionWithinLine = positionWithinLine; } | ||||
QStyleOptionToolBar::ToolBarPosition py_get_positionWithinLine(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->positionWithinLine; } | ||||
void py_set_positionOfLine(QStyleOptionToolBar* theWrappedObject, QStyleOptionToolBar::ToolBarPosition positionOfLine){ theWrappedObject->positionOfLine = positionOfLine; } | ||||
QStyleOptionToolBar::ToolBarPosition py_get_positionOfLine(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->positionOfLine; } | ||||
void py_set_features(QStyleOptionToolBar* theWrappedObject, QStyleOptionToolBar::ToolBarFeatures features){ theWrappedObject->features = features; } | ||||
QStyleOptionToolBar::ToolBarFeatures py_get_features(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->features; } | ||||
void py_set_toolBarArea(QStyleOptionToolBar* theWrappedObject, Qt::ToolBarArea toolBarArea){ theWrappedObject->toolBarArea = toolBarArea; } | ||||
Qt::ToolBarArea py_get_toolBarArea(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->toolBarArea; } | ||||
void py_set_midLineWidth(QStyleOptionToolBar* theWrappedObject, int midLineWidth){ theWrappedObject->midLineWidth = midLineWidth; } | ||||
int py_get_midLineWidth(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->midLineWidth; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QStyleOptionToolBox : public QStyleOptionToolBox | ||
{ | ||||
public: | ||||
PythonQtShell_QStyleOptionToolBox():QStyleOptionToolBox(),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionToolBox(const QStyleOptionToolBox& other):QStyleOptionToolBox(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionToolBox(int version):QStyleOptionToolBox(version),_wrapper(NULL) {}; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtWrapper_QStyleOptionToolBox : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(StyleOptionVersion StyleOptionType ) | ||
enum StyleOptionVersion{ | ||||
Version = QStyleOptionToolBox::Version}; | ||||
enum StyleOptionType{ | ||||
Type = QStyleOptionToolBox::Type}; | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QStyleOptionToolBox* new_QStyleOptionToolBox(); | ||
QStyleOptionToolBox* new_QStyleOptionToolBox(const QStyleOptionToolBox& other); | ||||
void delete_QStyleOptionToolBox(QStyleOptionToolBox* obj) { delete obj; } | ||||
florianlink
|
r117 | void py_set_icon(QStyleOptionToolBox* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } | ||
QIcon py_get_icon(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->icon; } | ||||
void py_set_text(QStyleOptionToolBox* theWrappedObject, QString text){ theWrappedObject->text = text; } | ||||
QString py_get_text(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->text; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QStyleOptionToolBoxV2 : public QStyleOptionToolBoxV2 | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QStyleOptionToolBoxV2():QStyleOptionToolBoxV2(),_wrapper(NULL) {}; | ||
PythonQtShell_QStyleOptionToolBoxV2(const QStyleOptionToolBox& other):QStyleOptionToolBoxV2(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2& other):QStyleOptionToolBoxV2(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionToolBoxV2(int version):QStyleOptionToolBoxV2(version),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QStyleOptionToolBoxV2 : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(StyleOptionVersion TabPosition SelectedPosition ) | ||
enum StyleOptionVersion{ | ||||
Version = QStyleOptionToolBoxV2::Version}; | ||||
enum TabPosition{ | ||||
Beginning = QStyleOptionToolBoxV2::Beginning, Middle = QStyleOptionToolBoxV2::Middle, End = QStyleOptionToolBoxV2::End, OnlyOneTab = QStyleOptionToolBoxV2::OnlyOneTab}; | ||||
enum SelectedPosition{ | ||||
NotAdjacent = QStyleOptionToolBoxV2::NotAdjacent, NextIsSelected = QStyleOptionToolBoxV2::NextIsSelected, PreviousIsSelected = QStyleOptionToolBoxV2::PreviousIsSelected}; | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QStyleOptionToolBoxV2* new_QStyleOptionToolBoxV2(); | ||
QStyleOptionToolBoxV2* new_QStyleOptionToolBoxV2(const QStyleOptionToolBox& other); | ||||
QStyleOptionToolBoxV2* new_QStyleOptionToolBoxV2(const QStyleOptionToolBoxV2& other); | ||||
void delete_QStyleOptionToolBoxV2(QStyleOptionToolBoxV2* obj) { delete obj; } | ||||
florianlink
|
r117 | void py_set_position(QStyleOptionToolBoxV2* theWrappedObject, QStyleOptionToolBoxV2::TabPosition position){ theWrappedObject->position = position; } | ||
QStyleOptionToolBoxV2::TabPosition py_get_position(QStyleOptionToolBoxV2* theWrappedObject){ return theWrappedObject->position; } | ||||
void py_set_selectedPosition(QStyleOptionToolBoxV2* theWrappedObject, QStyleOptionToolBoxV2::SelectedPosition selectedPosition){ theWrappedObject->selectedPosition = selectedPosition; } | ||||
QStyleOptionToolBoxV2::SelectedPosition py_get_selectedPosition(QStyleOptionToolBoxV2* theWrappedObject){ return theWrappedObject->selectedPosition; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QStyleOptionToolButton : public QStyleOptionToolButton | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QStyleOptionToolButton():QStyleOptionToolButton(),_wrapper(NULL) {}; | ||
PythonQtShell_QStyleOptionToolButton(const QStyleOptionToolButton& other):QStyleOptionToolButton(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionToolButton(int version):QStyleOptionToolButton(version),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QStyleOptionToolButton : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(StyleOptionVersion ToolButtonFeature StyleOptionType ) | ||
Q_FLAGS(ToolButtonFeatures ) | ||||
enum StyleOptionVersion{ | ||||
Version = QStyleOptionToolButton::Version}; | ||||
enum ToolButtonFeature{ | ||||
None = QStyleOptionToolButton::None, Arrow = QStyleOptionToolButton::Arrow, Menu = QStyleOptionToolButton::Menu, MenuButtonPopup = QStyleOptionToolButton::MenuButtonPopup, PopupDelay = QStyleOptionToolButton::PopupDelay, HasMenu = QStyleOptionToolButton::HasMenu}; | ||||
enum StyleOptionType{ | ||||
Type = QStyleOptionToolButton::Type}; | ||||
Q_DECLARE_FLAGS(ToolButtonFeatures, ToolButtonFeature) | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QStyleOptionToolButton* new_QStyleOptionToolButton(); | ||
QStyleOptionToolButton* new_QStyleOptionToolButton(const QStyleOptionToolButton& other); | ||||
void delete_QStyleOptionToolButton(QStyleOptionToolButton* obj) { delete obj; } | ||||
florianlink
|
r117 | void py_set_iconSize(QStyleOptionToolButton* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; } | ||
QSize py_get_iconSize(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->iconSize; } | ||||
void py_set_toolButtonStyle(QStyleOptionToolButton* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle){ theWrappedObject->toolButtonStyle = toolButtonStyle; } | ||||
Qt::ToolButtonStyle py_get_toolButtonStyle(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->toolButtonStyle; } | ||||
void py_set_features(QStyleOptionToolButton* theWrappedObject, QStyleOptionToolButton::ToolButtonFeatures features){ theWrappedObject->features = features; } | ||||
QStyleOptionToolButton::ToolButtonFeatures py_get_features(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->features; } | ||||
void py_set_arrowType(QStyleOptionToolButton* theWrappedObject, Qt::ArrowType arrowType){ theWrappedObject->arrowType = arrowType; } | ||||
Qt::ArrowType py_get_arrowType(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->arrowType; } | ||||
void py_set_icon(QStyleOptionToolButton* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } | ||||
QIcon py_get_icon(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->icon; } | ||||
void py_set_pos(QStyleOptionToolButton* theWrappedObject, QPoint pos){ theWrappedObject->pos = pos; } | ||||
QPoint py_get_pos(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->pos; } | ||||
void py_set_text(QStyleOptionToolButton* theWrappedObject, QString text){ theWrappedObject->text = text; } | ||||
QString py_get_text(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->text; } | ||||
void py_set_font(QStyleOptionToolButton* theWrappedObject, QFont font){ theWrappedObject->font = font; } | ||||
QFont py_get_font(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->font; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QStyleOptionViewItem : public QStyleOptionViewItem | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QStyleOptionViewItem():QStyleOptionViewItem(),_wrapper(NULL) {}; | ||
PythonQtShell_QStyleOptionViewItem(const QStyleOptionViewItem& other):QStyleOptionViewItem(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionViewItem(int version):QStyleOptionViewItem(version),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QStyleOptionViewItem : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(StyleOptionVersion StyleOptionType Position ) | ||
enum StyleOptionVersion{ | ||||
Version = QStyleOptionViewItem::Version}; | ||||
enum StyleOptionType{ | ||||
Type = QStyleOptionViewItem::Type}; | ||||
enum Position{ | ||||
Left = QStyleOptionViewItem::Left, Right = QStyleOptionViewItem::Right, Top = QStyleOptionViewItem::Top, Bottom = QStyleOptionViewItem::Bottom}; | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QStyleOptionViewItem* new_QStyleOptionViewItem(); | ||
QStyleOptionViewItem* new_QStyleOptionViewItem(const QStyleOptionViewItem& other); | ||||
void delete_QStyleOptionViewItem(QStyleOptionViewItem* obj) { delete obj; } | ||||
florianlink
|
r117 | void py_set_showDecorationSelected(QStyleOptionViewItem* theWrappedObject, bool showDecorationSelected){ theWrappedObject->showDecorationSelected = showDecorationSelected; } | ||
bool py_get_showDecorationSelected(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->showDecorationSelected; } | ||||
void py_set_decorationPosition(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::Position decorationPosition){ theWrappedObject->decorationPosition = decorationPosition; } | ||||
QStyleOptionViewItem::Position py_get_decorationPosition(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationPosition; } | ||||
void py_set_decorationAlignment(QStyleOptionViewItem* theWrappedObject, Qt::Alignment decorationAlignment){ theWrappedObject->decorationAlignment = decorationAlignment; } | ||||
Qt::Alignment py_get_decorationAlignment(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationAlignment; } | ||||
void py_set_displayAlignment(QStyleOptionViewItem* theWrappedObject, Qt::Alignment displayAlignment){ theWrappedObject->displayAlignment = displayAlignment; } | ||||
Qt::Alignment py_get_displayAlignment(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->displayAlignment; } | ||||
void py_set_textElideMode(QStyleOptionViewItem* theWrappedObject, Qt::TextElideMode textElideMode){ theWrappedObject->textElideMode = textElideMode; } | ||||
Qt::TextElideMode py_get_textElideMode(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->textElideMode; } | ||||
void py_set_decorationSize(QStyleOptionViewItem* theWrappedObject, QSize decorationSize){ theWrappedObject->decorationSize = decorationSize; } | ||||
QSize py_get_decorationSize(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationSize; } | ||||
void py_set_font(QStyleOptionViewItem* theWrappedObject, QFont font){ theWrappedObject->font = font; } | ||||
QFont py_get_font(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->font; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QStyleOptionViewItemV2 : public QStyleOptionViewItemV2 | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QStyleOptionViewItemV2():QStyleOptionViewItemV2(),_wrapper(NULL) {}; | ||
PythonQtShell_QStyleOptionViewItemV2(const QStyleOptionViewItem& other):QStyleOptionViewItemV2(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionViewItemV2(const QStyleOptionViewItemV2& other):QStyleOptionViewItemV2(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionViewItemV2(int version):QStyleOptionViewItemV2(version),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QStyleOptionViewItemV2 : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(StyleOptionVersion ViewItemFeature ) | ||
Q_FLAGS(ViewItemFeatures ) | ||||
enum StyleOptionVersion{ | ||||
Version = QStyleOptionViewItemV2::Version}; | ||||
enum ViewItemFeature{ | ||||
None = QStyleOptionViewItemV2::None, WrapText = QStyleOptionViewItemV2::WrapText, Alternate = QStyleOptionViewItemV2::Alternate, HasCheckIndicator = QStyleOptionViewItemV2::HasCheckIndicator, HasDisplay = QStyleOptionViewItemV2::HasDisplay, HasDecoration = QStyleOptionViewItemV2::HasDecoration}; | ||||
Q_DECLARE_FLAGS(ViewItemFeatures, ViewItemFeature) | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(); | ||
QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(const QStyleOptionViewItem& other); | ||||
QStyleOptionViewItemV2* new_QStyleOptionViewItemV2(const QStyleOptionViewItemV2& other); | ||||
void delete_QStyleOptionViewItemV2(QStyleOptionViewItemV2* obj) { delete obj; } | ||||
florianlink
|
r117 | void py_set_features(QStyleOptionViewItemV2* theWrappedObject, QStyleOptionViewItemV2::ViewItemFeatures features){ theWrappedObject->features = features; } | ||
QStyleOptionViewItemV2::ViewItemFeatures py_get_features(QStyleOptionViewItemV2* theWrappedObject){ return theWrappedObject->features; } | ||||
florianlink
|
r110 | }; | ||
class PythonQtShell_QStyleOptionViewItemV3 : public QStyleOptionViewItemV3 | ||||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QStyleOptionViewItemV3():QStyleOptionViewItemV3(),_wrapper(NULL) {}; | ||
PythonQtShell_QStyleOptionViewItemV3(const QStyleOptionViewItem& other):QStyleOptionViewItemV3(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionViewItemV3(const QStyleOptionViewItemV3& other):QStyleOptionViewItemV3(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionViewItemV3(int version):QStyleOptionViewItemV3(version),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QStyleOptionViewItemV3 : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(StyleOptionVersion ) | ||
enum StyleOptionVersion{ | ||||
Version = QStyleOptionViewItemV3::Version}; | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(); | ||
QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(const QStyleOptionViewItem& other); | ||||
QStyleOptionViewItemV3* new_QStyleOptionViewItemV3(const QStyleOptionViewItemV3& other); | ||||
void delete_QStyleOptionViewItemV3(QStyleOptionViewItemV3* obj) { delete obj; } | ||||
florianlink
|
r117 | const QWidget* py_get_widget(QStyleOptionViewItemV3* theWrappedObject){ return theWrappedObject->widget; } | ||
void py_set_locale(QStyleOptionViewItemV3* theWrappedObject, QLocale locale){ theWrappedObject->locale = locale; } | ||||
QLocale py_get_locale(QStyleOptionViewItemV3* theWrappedObject){ return theWrappedObject->locale; } | ||||
florianlink
|
r110 | }; | ||
class PythonQtShell_QStyleOptionViewItemV4 : public QStyleOptionViewItemV4 | ||||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QStyleOptionViewItemV4():QStyleOptionViewItemV4(),_wrapper(NULL) {}; | ||
PythonQtShell_QStyleOptionViewItemV4(const QStyleOptionViewItem& other):QStyleOptionViewItemV4(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionViewItemV4(const QStyleOptionViewItemV4& other):QStyleOptionViewItemV4(other),_wrapper(NULL) {}; | ||||
PythonQtShell_QStyleOptionViewItemV4(int version):QStyleOptionViewItemV4(version),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QStyleOptionViewItemV4 : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(ViewItemPosition StyleOptionVersion ) | ||
enum ViewItemPosition{ | ||||
Invalid = QStyleOptionViewItemV4::Invalid, Beginning = QStyleOptionViewItemV4::Beginning, Middle = QStyleOptionViewItemV4::Middle, End = QStyleOptionViewItemV4::End, OnlyOne = QStyleOptionViewItemV4::OnlyOne}; | ||||
enum StyleOptionVersion{ | ||||
Version = QStyleOptionViewItemV4::Version}; | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(); | ||
QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(const QStyleOptionViewItem& other); | ||||
QStyleOptionViewItemV4* new_QStyleOptionViewItemV4(const QStyleOptionViewItemV4& other); | ||||
void delete_QStyleOptionViewItemV4(QStyleOptionViewItemV4* obj) { delete obj; } | ||||
florianlink
|
r117 | void py_set_checkState(QStyleOptionViewItemV4* theWrappedObject, Qt::CheckState checkState){ theWrappedObject->checkState = checkState; } | ||
Qt::CheckState py_get_checkState(QStyleOptionViewItemV4* theWrappedObject){ return theWrappedObject->checkState; } | ||||
void py_set_viewItemPosition(QStyleOptionViewItemV4* theWrappedObject, QStyleOptionViewItemV4::ViewItemPosition viewItemPosition){ theWrappedObject->viewItemPosition = viewItemPosition; } | ||||
QStyleOptionViewItemV4::ViewItemPosition py_get_viewItemPosition(QStyleOptionViewItemV4* theWrappedObject){ return theWrappedObject->viewItemPosition; } | ||||
void py_set_icon(QStyleOptionViewItemV4* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; } | ||||
QIcon py_get_icon(QStyleOptionViewItemV4* theWrappedObject){ return theWrappedObject->icon; } | ||||
void py_set_backgroundBrush(QStyleOptionViewItemV4* theWrappedObject, QBrush backgroundBrush){ theWrappedObject->backgroundBrush = backgroundBrush; } | ||||
QBrush py_get_backgroundBrush(QStyleOptionViewItemV4* theWrappedObject){ return theWrappedObject->backgroundBrush; } | ||||
void py_set_index(QStyleOptionViewItemV4* theWrappedObject, QModelIndex index){ theWrappedObject->index = index; } | ||||
QModelIndex py_get_index(QStyleOptionViewItemV4* theWrappedObject){ return theWrappedObject->index; } | ||||
void py_set_text(QStyleOptionViewItemV4* theWrappedObject, QString text){ theWrappedObject->text = text; } | ||||
QString py_get_text(QStyleOptionViewItemV4* theWrappedObject){ return theWrappedObject->text; } | ||||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QStylePainter : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QStylePainter* new_QStylePainter(); | ||
QStylePainter* new_QStylePainter(QPaintDevice* pd, QWidget* w); | ||||
QStylePainter* new_QStylePainter(QWidget* w); | ||||
void delete_QStylePainter(QStylePainter* obj) { delete obj; } | ||||
bool begin(QStylePainter* theWrappedObject, QPaintDevice* pd, QWidget* w); | ||||
bool begin(QStylePainter* theWrappedObject, QWidget* w); | ||||
florianlink
|
r128 | void drawComplexControl(QStylePainter* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex& opt); | ||
florianlink
|
r110 | void drawControl(QStylePainter* theWrappedObject, QStyle::ControlElement ce, const QStyleOption& opt); | ||
florianlink
|
r128 | void drawItemPixmap(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap); | ||
florianlink
|
r110 | void drawItemText(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole); | ||
florianlink
|
r128 | void drawPrimitive(QStylePainter* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption& opt); | ||
florianlink
|
r110 | QStyle* style(QStylePainter* theWrappedObject) const; | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QStylePlugin : public QStylePlugin | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QStylePlugin(QObject* parent = 0):QStylePlugin(parent),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r128 | virtual void childEvent(QChildEvent* arg__1); | ||
florianlink
|
r110 | virtual QStyle* create(const QString& key); | ||
florianlink
|
r128 | virtual void customEvent(QEvent* arg__1); | ||
florianlink
|
r117 | virtual bool event(QEvent* arg__1); | ||
florianlink
|
r99 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
florianlink
|
r128 | virtual QStringList keys() const; | ||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QStylePlugin : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QStylePlugin* new_QStylePlugin(QObject* parent = 0); | ||
void delete_QStylePlugin(QStylePlugin* obj) { delete obj; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QStyledItemDelegate : public QStyledItemDelegate | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QStyledItemDelegate(QObject* parent = 0):QStyledItemDelegate(parent),_wrapper(NULL) {}; | ||
florianlink
|
r128 | virtual void childEvent(QChildEvent* arg__1); | ||
florianlink
|
r110 | virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; | ||
florianlink
|
r128 | virtual void customEvent(QEvent* arg__1); | ||
virtual QString displayText(const QVariant& value, const QLocale& locale) const; | ||||
florianlink
|
r110 | virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); | ||
florianlink
|
r128 | virtual bool event(QEvent* arg__1); | ||
virtual bool eventFilter(QObject* object, QEvent* event); | ||||
florianlink
|
r110 | virtual void initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const; | ||
florianlink
|
r128 | virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; | ||
florianlink
|
r110 | virtual void setEditorData(QWidget* editor, const QModelIndex& index) const; | ||
florianlink
|
r128 | virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; | ||
florianlink
|
r110 | virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; | ||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r128 | virtual void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QStyledItemDelegate : public QStyledItemDelegate | ||
{ public: | ||||
inline QWidget* promoted_createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const { return QStyledItemDelegate::createEditor(parent, option, index); } | ||||
florianlink
|
r128 | inline QString promoted_displayText(const QVariant& value, const QLocale& locale) const { return QStyledItemDelegate::displayText(value, locale); } | ||
florianlink
|
r110 | inline bool promoted_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return QStyledItemDelegate::editorEvent(event, model, option, index); } | ||
florianlink
|
r128 | inline bool promoted_eventFilter(QObject* object, QEvent* event) { return QStyledItemDelegate::eventFilter(object, event); } | ||
florianlink
|
r110 | inline void promoted_initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const { QStyledItemDelegate::initStyleOption(option, index); } | ||
florianlink
|
r128 | inline void promoted_paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const { QStyledItemDelegate::paint(painter, option, index); } | ||
florianlink
|
r110 | inline void promoted_setEditorData(QWidget* editor, const QModelIndex& index) const { QStyledItemDelegate::setEditorData(editor, index); } | ||
florianlink
|
r128 | inline void promoted_setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const { QStyledItemDelegate::setModelData(editor, model, index); } | ||
florianlink
|
r110 | inline QSize promoted_sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const { return QStyledItemDelegate::sizeHint(option, index); } | ||
inline void promoted_updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const { QStyledItemDelegate::updateEditorGeometry(editor, option, index); } | ||||
}; | ||||
class PythonQtWrapper_QStyledItemDelegate : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QStyledItemDelegate* new_QStyledItemDelegate(QObject* parent = 0); | ||
void delete_QStyledItemDelegate(QStyledItemDelegate* obj) { delete obj; } | ||||
florianlink
|
r120 | QWidget* createEditor(QStyledItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; | ||
florianlink
|
r128 | QString displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const; | ||
florianlink
|
r110 | bool editorEvent(QStyledItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); | ||
florianlink
|
r128 | bool eventFilter(QStyledItemDelegate* theWrappedObject, QObject* object, QEvent* event); | ||
florianlink
|
r110 | void initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const; | ||
florianlink
|
r128 | QItemEditorFactory* itemEditorFactory(QStyledItemDelegate* theWrappedObject) const; | ||
void paint(QStyledItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; | ||||
florianlink
|
r110 | void setEditorData(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const; | ||
florianlink
|
r128 | void setItemEditorFactory(QStyledItemDelegate* theWrappedObject, QItemEditorFactory* factory); | ||
void setModelData(QStyledItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; | ||||
florianlink
|
r110 | QSize sizeHint(QStyledItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const; | ||
void updateEditorGeometry(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QSwipeGesture : public QSwipeGesture | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QSwipeGesture(QObject* parent = 0):QSwipeGesture(parent),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r120 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r128 | virtual bool event(QEvent* arg__1); | ||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QSwipeGesture : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QSwipeGesture* new_QSwipeGesture(QObject* parent = 0); | ||
void delete_QSwipeGesture(QSwipeGesture* obj) { delete obj; } | ||||
florianlink
|
r120 | QSwipeGesture::SwipeDirection horizontalDirection(QSwipeGesture* theWrappedObject) const; | ||
florianlink
|
r128 | void setSwipeAngle(QSwipeGesture* theWrappedObject, qreal value); | ||
florianlink
|
r110 | qreal swipeAngle(QSwipeGesture* theWrappedObject) const; | ||
QSwipeGesture::SwipeDirection verticalDirection(QSwipeGesture* theWrappedObject) const; | ||||
}; | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | class PythonQtShell_QSyntaxHighlighter : public QSyntaxHighlighter | ||
{ | ||||
public: | ||||
PythonQtShell_QSyntaxHighlighter(QObject* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {}; | ||||
PythonQtShell_QSyntaxHighlighter(QTextDocument* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {}; | ||||
PythonQtShell_QSyntaxHighlighter(QTextEdit* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r117 | virtual bool event(QEvent* arg__1); | ||
florianlink
|
r128 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
virtual void highlightBlock(const QString& text); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
florianlink
|
r110 | PythonQtInstanceWrapper* _wrapper; | ||
}; | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | class PythonQtWrapper_QSyntaxHighlighter : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QSyntaxHighlighter* new_QSyntaxHighlighter(QObject* parent); | ||
QSyntaxHighlighter* new_QSyntaxHighlighter(QTextDocument* parent); | ||||
QSyntaxHighlighter* new_QSyntaxHighlighter(QTextEdit* parent); | ||||
void delete_QSyntaxHighlighter(QSyntaxHighlighter* obj) { delete obj; } | ||||
QTextDocument* document(QSyntaxHighlighter* theWrappedObject) const; | ||||
florianlink
|
r120 | void setDocument(QSyntaxHighlighter* theWrappedObject, QTextDocument* doc); | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QSystemTrayIcon : public QSystemTrayIcon | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QSystemTrayIcon(QObject* parent = 0):QSystemTrayIcon(parent),_wrapper(NULL) {}; | ||
PythonQtShell_QSystemTrayIcon(const QIcon& icon, QObject* parent = 0):QSystemTrayIcon(icon, parent),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r128 | virtual bool event(QEvent* event); | ||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QSystemTrayIcon : public QSystemTrayIcon | ||
{ public: | ||||
inline bool promoted_event(QEvent* event) { return QSystemTrayIcon::event(event); } | ||||
}; | ||||
class PythonQtWrapper_QSystemTrayIcon : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(MessageIcon ActivationReason ) | ||
enum MessageIcon{ | ||||
NoIcon = QSystemTrayIcon::NoIcon, Information = QSystemTrayIcon::Information, Warning = QSystemTrayIcon::Warning, Critical = QSystemTrayIcon::Critical}; | ||||
enum ActivationReason{ | ||||
Unknown = QSystemTrayIcon::Unknown, Context = QSystemTrayIcon::Context, DoubleClick = QSystemTrayIcon::DoubleClick, Trigger = QSystemTrayIcon::Trigger, MiddleClick = QSystemTrayIcon::MiddleClick}; | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QSystemTrayIcon* new_QSystemTrayIcon(QObject* parent = 0); | ||
QSystemTrayIcon* new_QSystemTrayIcon(const QIcon& icon, QObject* parent = 0); | ||||
void delete_QSystemTrayIcon(QSystemTrayIcon* obj) { delete obj; } | ||||
florianlink
|
r120 | QMenu* contextMenu(QSystemTrayIcon* theWrappedObject) const; | ||
bool event(QSystemTrayIcon* theWrappedObject, QEvent* event); | ||||
florianlink
|
r128 | QRect geometry(QSystemTrayIcon* theWrappedObject) const; | ||
QIcon icon(QSystemTrayIcon* theWrappedObject) const; | ||||
florianlink
|
r110 | bool static_QSystemTrayIcon_isSystemTrayAvailable(); | ||
florianlink
|
r120 | bool isVisible(QSystemTrayIcon* theWrappedObject) const; | ||
florianlink
|
r128 | void setContextMenu(QSystemTrayIcon* theWrappedObject, QMenu* menu); | ||
florianlink
|
r110 | void setIcon(QSystemTrayIcon* theWrappedObject, const QIcon& icon); | ||
florianlink
|
r128 | void setToolTip(QSystemTrayIcon* theWrappedObject, const QString& tip); | ||
void showMessage(QSystemTrayIcon* theWrappedObject, const QString& title, const QString& msg, QSystemTrayIcon::MessageIcon icon = QSystemTrayIcon::Information, int msecs = 10000); | ||||
bool static_QSystemTrayIcon_supportsMessages(); | ||||
QString toolTip(QSystemTrayIcon* theWrappedObject) const; | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QTabBar : public QTabBar | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTabBar(QWidget* parent = 0):QTabBar(parent),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r128 | virtual void actionEvent(QActionEvent* arg__1); | ||
florianlink
|
r110 | virtual void changeEvent(QEvent* arg__1); | ||
florianlink
|
r128 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r120 | virtual int devType() const; | ||
florianlink
|
r128 | virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
florianlink
|
r120 | virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||
florianlink
|
r128 | virtual void dropEvent(QDropEvent* arg__1); | ||
florianlink
|
r120 | virtual void enterEvent(QEvent* arg__1); | ||
florianlink
|
r128 | virtual bool event(QEvent* arg__1); | ||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
florianlink
|
r120 | virtual void focusInEvent(QFocusEvent* arg__1); | ||
florianlink
|
r128 | 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); | ||||
florianlink
|
r110 | virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||
florianlink
|
r128 | virtual void keyPressEvent(QKeyEvent* arg__1); | ||
florianlink
|
r120 | virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||
florianlink
|
r128 | virtual void languageChange(); | ||
virtual void leaveEvent(QEvent* arg__1); | ||||
florianlink
|
r120 | virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||
florianlink
|
r128 | 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); | ||||
florianlink
|
r120 | virtual QPaintEngine* paintEngine() const; | ||
florianlink
|
r128 | virtual void paintEvent(QPaintEvent* arg__1); | ||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
virtual void showEvent(QShowEvent* arg__1); | ||||
virtual void tabInserted(int index); | ||||
virtual void tabLayoutChange(); | ||||
virtual void tabRemoved(int index); | ||||
virtual QSize tabSizeHint(int index) const; | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r128 | virtual void wheelEvent(QWheelEvent* event); | ||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_QTabBar : public QTabBar | ||||
{ public: | ||||
florianlink
|
r128 | inline void promoted_changeEvent(QEvent* arg__1) { QTabBar::changeEvent(arg__1); } | ||
inline bool promoted_event(QEvent* arg__1) { return QTabBar::event(arg__1); } | ||||
inline void promoted_hideEvent(QHideEvent* arg__1) { QTabBar::hideEvent(arg__1); } | ||||
florianlink
|
r110 | inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QTabBar::keyPressEvent(arg__1); } | ||
florianlink
|
r128 | inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QTabBar::mouseMoveEvent(arg__1); } | ||
florianlink
|
r110 | inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QTabBar::mousePressEvent(arg__1); } | ||
florianlink
|
r128 | inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QTabBar::mouseReleaseEvent(arg__1); } | ||
inline void promoted_paintEvent(QPaintEvent* arg__1) { QTabBar::paintEvent(arg__1); } | ||||
florianlink
|
r110 | inline void promoted_resizeEvent(QResizeEvent* arg__1) { QTabBar::resizeEvent(arg__1); } | ||
florianlink
|
r120 | inline void promoted_showEvent(QShowEvent* arg__1) { QTabBar::showEvent(arg__1); } | ||
florianlink
|
r128 | inline void promoted_tabInserted(int index) { QTabBar::tabInserted(index); } | ||
inline void promoted_tabLayoutChange() { QTabBar::tabLayoutChange(); } | ||||
florianlink
|
r120 | inline void promoted_tabRemoved(int index) { QTabBar::tabRemoved(index); } | ||
florianlink
|
r110 | inline QSize promoted_tabSizeHint(int index) const { return QTabBar::tabSizeHint(index); } | ||
florianlink
|
r128 | inline void promoted_wheelEvent(QWheelEvent* event) { QTabBar::wheelEvent(event); } | ||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QTabBar : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
Q_ENUMS(SelectionBehavior ButtonPosition ) | ||||
enum SelectionBehavior{ | ||||
SelectLeftTab = QTabBar::SelectLeftTab, SelectRightTab = QTabBar::SelectRightTab, SelectPreviousTab = QTabBar::SelectPreviousTab}; | ||||
enum ButtonPosition{ | ||||
LeftSide = QTabBar::LeftSide, RightSide = QTabBar::RightSide}; | ||||
public slots: | ||||
QTabBar* new_QTabBar(QWidget* parent = 0); | ||||
void delete_QTabBar(QTabBar* obj) { delete obj; } | ||||
florianlink
|
r128 | int addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text); | ||
florianlink
|
r120 | int addTab(QTabBar* theWrappedObject, const QString& text); | ||
florianlink
|
r128 | void changeEvent(QTabBar* theWrappedObject, QEvent* arg__1); | ||
int count(QTabBar* theWrappedObject) const; | ||||
int currentIndex(QTabBar* theWrappedObject) const; | ||||
bool documentMode(QTabBar* theWrappedObject) const; | ||||
bool drawBase(QTabBar* theWrappedObject) const; | ||||
Qt::TextElideMode elideMode(QTabBar* theWrappedObject) const; | ||||
bool event(QTabBar* theWrappedObject, QEvent* arg__1); | ||||
florianlink
|
r110 | bool expanding(QTabBar* theWrappedObject) const; | ||
florianlink
|
r128 | void hideEvent(QTabBar* theWrappedObject, QHideEvent* arg__1); | ||
QSize iconSize(QTabBar* theWrappedObject) const; | ||||
int insertTab(QTabBar* theWrappedObject, int index, const QIcon& icon, const QString& text); | ||||
int insertTab(QTabBar* theWrappedObject, int index, const QString& text); | ||||
bool isMovable(QTabBar* theWrappedObject) const; | ||||
bool isTabEnabled(QTabBar* theWrappedObject, int index) const; | ||||
void keyPressEvent(QTabBar* theWrappedObject, QKeyEvent* arg__1); | ||||
QSize minimumSizeHint(QTabBar* theWrappedObject) const; | ||||
void mouseMoveEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1); | ||||
void mousePressEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1); | ||||
florianlink
|
r120 | void mouseReleaseEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1); | ||
florianlink
|
r128 | void moveTab(QTabBar* theWrappedObject, int from, int to); | ||
void paintEvent(QTabBar* theWrappedObject, QPaintEvent* arg__1); | ||||
void removeTab(QTabBar* theWrappedObject, int index); | ||||
void resizeEvent(QTabBar* theWrappedObject, QResizeEvent* arg__1); | ||||
florianlink
|
r120 | QTabBar::SelectionBehavior selectionBehaviorOnRemove(QTabBar* theWrappedObject) const; | ||
florianlink
|
r110 | void setDocumentMode(QTabBar* theWrappedObject, bool set); | ||
florianlink
|
r128 | void setDrawBase(QTabBar* theWrappedObject, bool drawTheBase); | ||
void setElideMode(QTabBar* theWrappedObject, Qt::TextElideMode arg__1); | ||||
florianlink
|
r110 | void setExpanding(QTabBar* theWrappedObject, bool enabled); | ||
florianlink
|
r128 | void setIconSize(QTabBar* theWrappedObject, const QSize& size); | ||
void setMovable(QTabBar* theWrappedObject, bool movable); | ||||
florianlink
|
r110 | void setSelectionBehaviorOnRemove(QTabBar* theWrappedObject, QTabBar::SelectionBehavior behavior); | ||
florianlink
|
r128 | void setShape(QTabBar* theWrappedObject, QTabBar::Shape shape); | ||
florianlink
|
r110 | void setTabButton(QTabBar* theWrappedObject, int index, QTabBar::ButtonPosition position, QWidget* widget); | ||
florianlink
|
r128 | void setTabData(QTabBar* theWrappedObject, int index, const QVariant& data); | ||
void setTabEnabled(QTabBar* theWrappedObject, int index, bool arg__2); | ||||
void setTabIcon(QTabBar* theWrappedObject, int index, const QIcon& icon); | ||||
void setTabText(QTabBar* theWrappedObject, int index, const QString& text); | ||||
void setTabTextColor(QTabBar* theWrappedObject, int index, const QColor& color); | ||||
void setTabToolTip(QTabBar* theWrappedObject, int index, const QString& tip); | ||||
void setTabWhatsThis(QTabBar* theWrappedObject, int index, const QString& text); | ||||
void setTabsClosable(QTabBar* theWrappedObject, bool closable); | ||||
florianlink
|
r120 | void setUsesScrollButtons(QTabBar* theWrappedObject, bool useButtons); | ||
florianlink
|
r128 | QTabBar::Shape shape(QTabBar* theWrappedObject) const; | ||
florianlink
|
r110 | void showEvent(QTabBar* theWrappedObject, QShowEvent* arg__1); | ||
QSize sizeHint(QTabBar* theWrappedObject) const; | ||||
florianlink
|
r128 | int tabAt(QTabBar* theWrappedObject, const QPoint& pos) const; | ||
QWidget* tabButton(QTabBar* theWrappedObject, int index, QTabBar::ButtonPosition position) const; | ||||
florianlink
|
r110 | QVariant tabData(QTabBar* theWrappedObject, int index) const; | ||
florianlink
|
r128 | QIcon tabIcon(QTabBar* theWrappedObject, int index) const; | ||
void tabInserted(QTabBar* theWrappedObject, int index); | ||||
void tabLayoutChange(QTabBar* theWrappedObject); | ||||
QRect tabRect(QTabBar* theWrappedObject, int index) const; | ||||
florianlink
|
r110 | void tabRemoved(QTabBar* theWrappedObject, int index); | ||
QSize tabSizeHint(QTabBar* theWrappedObject, int index) const; | ||||
florianlink
|
r128 | QString tabText(QTabBar* theWrappedObject, int index) const; | ||
QColor tabTextColor(QTabBar* theWrappedObject, int index) const; | ||||
QString tabToolTip(QTabBar* theWrappedObject, int index) const; | ||||
QString tabWhatsThis(QTabBar* theWrappedObject, int index) const; | ||||
bool tabsClosable(QTabBar* theWrappedObject) const; | ||||
florianlink
|
r110 | bool usesScrollButtons(QTabBar* theWrappedObject) const; | ||
florianlink
|
r128 | void wheelEvent(QTabBar* theWrappedObject, QWheelEvent* event); | ||
florianlink
|
r110 | }; | ||
class PythonQtShell_QTabWidget : public QTabWidget | ||||
{ | ||||
public: | ||||
PythonQtShell_QTabWidget(QWidget* parent = 0):QTabWidget(parent),_wrapper(NULL) {}; | ||||
florianlink
|
r128 | virtual void actionEvent(QActionEvent* arg__1); | ||
florianlink
|
r110 | virtual void changeEvent(QEvent* arg__1); | ||
florianlink
|
r128 | virtual void childEvent(QChildEvent* arg__1); | ||
florianlink
|
r120 | virtual void closeEvent(QCloseEvent* arg__1); | ||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
florianlink
|
r128 | virtual void customEvent(QEvent* arg__1); | ||
virtual int devType() const; | ||||
florianlink
|
r120 | virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||
florianlink
|
r110 | virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||
florianlink
|
r128 | virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||
florianlink
|
r120 | virtual void dropEvent(QDropEvent* arg__1); | ||
florianlink
|
r110 | virtual void enterEvent(QEvent* arg__1); | ||
florianlink
|
r128 | virtual bool event(QEvent* arg__1); | ||
florianlink
|
r120 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
florianlink
|
r128 | 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* arg__1); | ||||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
virtual void showEvent(QShowEvent* arg__1); | ||||
virtual void tabInserted(int index); | ||||
virtual void tabRemoved(int index); | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r128 | virtual void wheelEvent(QWheelEvent* arg__1); | ||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_QTabWidget : public QTabWidget | ||||
{ public: | ||||
inline void promoted_changeEvent(QEvent* arg__1) { QTabWidget::changeEvent(arg__1); } | ||||
inline bool promoted_event(QEvent* arg__1) { return QTabWidget::event(arg__1); } | ||||
inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QTabWidget::keyPressEvent(arg__1); } | ||||
florianlink
|
r128 | inline void promoted_paintEvent(QPaintEvent* arg__1) { QTabWidget::paintEvent(arg__1); } | ||
inline void promoted_resizeEvent(QResizeEvent* arg__1) { QTabWidget::resizeEvent(arg__1); } | ||||
inline void promoted_showEvent(QShowEvent* arg__1) { QTabWidget::showEvent(arg__1); } | ||||
inline void promoted_tabInserted(int index) { QTabWidget::tabInserted(index); } | ||||
inline void promoted_tabRemoved(int index) { QTabWidget::tabRemoved(index); } | ||||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QTabWidget : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTabWidget* new_QTabWidget(QWidget* parent = 0); | ||||
void delete_QTabWidget(QTabWidget* obj) { delete obj; } | ||||
florianlink
|
r128 | int addTab(QTabWidget* theWrappedObject, QWidget* widget, const QIcon& icon, const QString& label); | ||
int addTab(QTabWidget* theWrappedObject, QWidget* widget, const QString& arg__2); | ||||
void changeEvent(QTabWidget* theWrappedObject, QEvent* arg__1); | ||||
florianlink
|
r110 | void clear(QTabWidget* theWrappedObject); | ||
florianlink
|
r128 | QWidget* cornerWidget(QTabWidget* theWrappedObject, Qt::Corner corner = Qt::TopRightCorner) const; | ||
int count(QTabWidget* theWrappedObject) const; | ||||
florianlink
|
r110 | int currentIndex(QTabWidget* theWrappedObject) const; | ||
florianlink
|
r128 | QWidget* currentWidget(QTabWidget* theWrappedObject) const; | ||
florianlink
|
r120 | bool documentMode(QTabWidget* theWrappedObject) const; | ||
florianlink
|
r128 | Qt::TextElideMode elideMode(QTabWidget* theWrappedObject) const; | ||
bool event(QTabWidget* theWrappedObject, QEvent* arg__1); | ||||
QSize iconSize(QTabWidget* theWrappedObject) const; | ||||
int indexOf(QTabWidget* theWrappedObject, QWidget* widget) const; | ||||
int insertTab(QTabWidget* theWrappedObject, int index, QWidget* widget, const QIcon& icon, const QString& label); | ||||
int insertTab(QTabWidget* theWrappedObject, int index, QWidget* widget, const QString& arg__3); | ||||
florianlink
|
r110 | bool isMovable(QTabWidget* theWrappedObject) const; | ||
bool isTabEnabled(QTabWidget* theWrappedObject, int index) const; | ||||
florianlink
|
r128 | void keyPressEvent(QTabWidget* theWrappedObject, QKeyEvent* arg__1); | ||
QSize minimumSizeHint(QTabWidget* theWrappedObject) const; | ||||
florianlink
|
r110 | void paintEvent(QTabWidget* theWrappedObject, QPaintEvent* arg__1); | ||
florianlink
|
r128 | void removeTab(QTabWidget* theWrappedObject, int index); | ||
void resizeEvent(QTabWidget* theWrappedObject, QResizeEvent* arg__1); | ||||
void setCornerWidget(QTabWidget* theWrappedObject, QWidget* w, Qt::Corner corner = Qt::TopRightCorner); | ||||
void setDocumentMode(QTabWidget* theWrappedObject, bool set); | ||||
florianlink
|
r120 | void setElideMode(QTabWidget* theWrappedObject, Qt::TextElideMode arg__1); | ||
florianlink
|
r128 | void setIconSize(QTabWidget* theWrappedObject, const QSize& size); | ||
void setMovable(QTabWidget* theWrappedObject, bool movable); | ||||
void setTabEnabled(QTabWidget* theWrappedObject, int index, bool arg__2); | ||||
void setTabIcon(QTabWidget* theWrappedObject, int index, const QIcon& icon); | ||||
void setTabPosition(QTabWidget* theWrappedObject, QTabWidget::TabPosition arg__1); | ||||
void setTabShape(QTabWidget* theWrappedObject, QTabWidget::TabShape s); | ||||
void setTabText(QTabWidget* theWrappedObject, int index, const QString& arg__2); | ||||
florianlink
|
r120 | void setTabToolTip(QTabWidget* theWrappedObject, int index, const QString& tip); | ||
florianlink
|
r128 | void setTabWhatsThis(QTabWidget* theWrappedObject, int index, const QString& text); | ||
void setTabsClosable(QTabWidget* theWrappedObject, bool closeable); | ||||
florianlink
|
r110 | void setUsesScrollButtons(QTabWidget* theWrappedObject, bool useButtons); | ||
florianlink
|
r128 | void showEvent(QTabWidget* theWrappedObject, QShowEvent* arg__1); | ||
QSize sizeHint(QTabWidget* theWrappedObject) const; | ||||
florianlink
|
r120 | QIcon tabIcon(QTabWidget* theWrappedObject, int index) const; | ||
florianlink
|
r128 | void tabInserted(QTabWidget* theWrappedObject, int index); | ||
QTabWidget::TabPosition tabPosition(QTabWidget* theWrappedObject) const; | ||||
void tabRemoved(QTabWidget* theWrappedObject, int index); | ||||
QTabWidget::TabShape tabShape(QTabWidget* theWrappedObject) const; | ||||
QString tabText(QTabWidget* theWrappedObject, int index) const; | ||||
QString tabToolTip(QTabWidget* theWrappedObject, int index) const; | ||||
QString tabWhatsThis(QTabWidget* theWrappedObject, int index) const; | ||||
bool tabsClosable(QTabWidget* theWrappedObject) const; | ||||
bool usesScrollButtons(QTabWidget* theWrappedObject) const; | ||||
QWidget* widget(QTabWidget* theWrappedObject, int index) const; | ||||
florianlink
|
r110 | }; | ||
class PythonQtShell_QTableView : public QTableView | ||||
{ | ||||
public: | ||||
PythonQtShell_QTableView(QWidget* parent = 0):QTableView(parent),_wrapper(NULL) {}; | ||||
florianlink
|
r128 | virtual void actionEvent(QActionEvent* arg__1); | ||
virtual void changeEvent(QEvent* arg__1); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
florianlink
|
r110 | virtual void commitData(QWidget* editor); | ||
florianlink
|
r128 | virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||
virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r120 | virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); | ||
florianlink
|
r128 | virtual int devType() const; | ||
florianlink
|
r120 | virtual void doItemsLayout(); | ||
virtual void dragEnterEvent(QDragEnterEvent* event); | ||||
florianlink
|
r128 | virtual void dragLeaveEvent(QDragLeaveEvent* event); | ||
virtual void dragMoveEvent(QDragMoveEvent* event); | ||||
virtual void dropEvent(QDropEvent* event); | ||||
florianlink
|
r120 | virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); | ||
florianlink
|
r128 | virtual void editorDestroyed(QObject* editor); | ||
virtual void enterEvent(QEvent* arg__1); | ||||
florianlink
|
r120 | virtual bool event(QEvent* event); | ||
florianlink
|
r128 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
virtual void focusInEvent(QFocusEvent* event); | ||||
florianlink
|
r120 | virtual bool focusNextPrevChild(bool next); | ||
florianlink
|
r128 | virtual void focusOutEvent(QFocusEvent* event); | ||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual int horizontalOffset() const; | ||||
virtual void horizontalScrollbarAction(int action); | ||||
florianlink
|
r120 | virtual void horizontalScrollbarValueChanged(int value); | ||
florianlink
|
r128 | virtual QModelIndex indexAt(const QPoint& p) const; | ||
virtual void inputMethodEvent(QInputMethodEvent* event); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; | ||||
virtual bool isIndexHidden(const QModelIndex& index) const; | ||||
virtual void keyPressEvent(QKeyEvent* event); | ||||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void keyboardSearch(const QString& search); | ||||
florianlink
|
r110 | virtual void languageChange(); | ||
florianlink
|
r120 | virtual void leaveEvent(QEvent* arg__1); | ||
florianlink
|
r117 | virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||
florianlink
|
r128 | virtual void mouseDoubleClickEvent(QMouseEvent* event); | ||
virtual void mouseMoveEvent(QMouseEvent* event); | ||||
virtual void mousePressEvent(QMouseEvent* event); | ||||
virtual void mouseReleaseEvent(QMouseEvent* event); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
florianlink
|
r117 | virtual QPaintEngine* paintEngine() const; | ||
florianlink
|
r128 | virtual void paintEvent(QPaintEvent* e); | ||
virtual void reset(); | ||||
virtual void resizeEvent(QResizeEvent* event); | ||||
virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); | ||||
virtual void rowsInserted(const QModelIndex& parent, int start, int end); | ||||
virtual void scrollContentsBy(int dx, int dy); | ||||
virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); | ||||
virtual void selectAll(); | ||||
virtual QList<QModelIndex > selectedIndexes() const; | ||||
virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); | ||||
virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; | ||||
virtual void setModel(QAbstractItemModel* model); | ||||
virtual void setRootIndex(const QModelIndex& index); | ||||
virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); | ||||
virtual void setSelectionModel(QItemSelectionModel* selectionModel); | ||||
florianlink
|
r120 | virtual void showEvent(QShowEvent* arg__1); | ||
florianlink
|
r128 | virtual int sizeHintForColumn(int column) const; | ||
virtual int sizeHintForRow(int row) const; | ||||
virtual void startDrag(Qt::DropActions supportedActions); | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual void timerEvent(QTimerEvent* event); | ||||
virtual void updateEditorData(); | ||||
virtual void updateEditorGeometries(); | ||||
virtual void updateGeometries(); | ||||
virtual int verticalOffset() const; | ||||
virtual void verticalScrollbarAction(int action); | ||||
virtual void verticalScrollbarValueChanged(int value); | ||||
virtual QStyleOptionViewItem viewOptions() const; | ||||
virtual bool viewportEvent(QEvent* event); | ||||
virtual QRect visualRect(const QModelIndex& index) const; | ||||
virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; | ||||
virtual void wheelEvent(QWheelEvent* arg__1); | ||||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_QTableView : public QTableView | ||||
{ public: | ||||
florianlink
|
r128 | inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QTableView::currentChanged(current, previous); } | ||
florianlink
|
r110 | inline int promoted_horizontalOffset() const { return QTableView::horizontalOffset(); } | ||
inline void promoted_horizontalScrollbarAction(int action) { QTableView::horizontalScrollbarAction(action); } | ||||
florianlink
|
r128 | inline QModelIndex promoted_indexAt(const QPoint& p) const { return QTableView::indexAt(p); } | ||
inline bool promoted_isIndexHidden(const QModelIndex& index) const { return QTableView::isIndexHidden(index); } | ||||
florianlink
|
r120 | inline void promoted_paintEvent(QPaintEvent* e) { QTableView::paintEvent(e); } | ||
florianlink
|
r128 | inline void promoted_scrollContentsBy(int dx, int dy) { QTableView::scrollContentsBy(dx, dy); } | ||
inline void promoted_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QTableView::scrollTo(index, hint); } | ||||
inline QList<QModelIndex > promoted_selectedIndexes() const { return QTableView::selectedIndexes(); } | ||||
florianlink
|
r120 | inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QTableView::selectionChanged(selected, deselected); } | ||
florianlink
|
r128 | inline void promoted_setModel(QAbstractItemModel* model) { QTableView::setModel(model); } | ||
florianlink
|
r110 | inline void promoted_setRootIndex(const QModelIndex& index) { QTableView::setRootIndex(index); } | ||
florianlink
|
r120 | inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QTableView::setSelection(rect, command); } | ||
florianlink
|
r128 | inline void promoted_setSelectionModel(QItemSelectionModel* selectionModel) { QTableView::setSelectionModel(selectionModel); } | ||
florianlink
|
r110 | inline int promoted_sizeHintForColumn(int column) const { return QTableView::sizeHintForColumn(column); } | ||
florianlink
|
r128 | inline int promoted_sizeHintForRow(int row) const { return QTableView::sizeHintForRow(row); } | ||
inline void promoted_timerEvent(QTimerEvent* event) { QTableView::timerEvent(event); } | ||||
inline void promoted_updateGeometries() { QTableView::updateGeometries(); } | ||||
florianlink
|
r120 | inline int promoted_verticalOffset() const { return QTableView::verticalOffset(); } | ||
florianlink
|
r128 | inline void promoted_verticalScrollbarAction(int action) { QTableView::verticalScrollbarAction(action); } | ||
florianlink
|
r120 | inline QStyleOptionViewItem promoted_viewOptions() const { return QTableView::viewOptions(); } | ||
florianlink
|
r128 | inline QRect promoted_visualRect(const QModelIndex& index) const { return QTableView::visualRect(index); } | ||
inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return QTableView::visualRegionForSelection(selection); } | ||||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QTableView : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTableView* new_QTableView(QWidget* parent = 0); | ||||
void delete_QTableView(QTableView* obj) { delete obj; } | ||||
void clearSpans(QTableView* theWrappedObject); | ||||
florianlink
|
r128 | int columnAt(QTableView* theWrappedObject, int x) const; | ||
int columnSpan(QTableView* theWrappedObject, int row, int column) const; | ||||
int columnViewportPosition(QTableView* theWrappedObject, int column) const; | ||||
int columnWidth(QTableView* theWrappedObject, int column) const; | ||||
void currentChanged(QTableView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous); | ||||
florianlink
|
r110 | Qt::PenStyle gridStyle(QTableView* theWrappedObject) const; | ||
QHeaderView* horizontalHeader(QTableView* theWrappedObject) const; | ||||
florianlink
|
r128 | int horizontalOffset(QTableView* theWrappedObject) const; | ||
void horizontalScrollbarAction(QTableView* theWrappedObject, int action); | ||||
QModelIndex indexAt(QTableView* theWrappedObject, const QPoint& p) const; | ||||
bool isColumnHidden(QTableView* theWrappedObject, int column) const; | ||||
bool isCornerButtonEnabled(QTableView* theWrappedObject) const; | ||||
bool isIndexHidden(QTableView* theWrappedObject, const QModelIndex& index) const; | ||||
bool isRowHidden(QTableView* theWrappedObject, int row) const; | ||||
florianlink
|
r110 | bool isSortingEnabled(QTableView* theWrappedObject) const; | ||
florianlink
|
r120 | void paintEvent(QTableView* theWrappedObject, QPaintEvent* e); | ||
florianlink
|
r110 | int rowAt(QTableView* theWrappedObject, int y) const; | ||
florianlink
|
r128 | int rowHeight(QTableView* theWrappedObject, int row) const; | ||
florianlink
|
r110 | int rowSpan(QTableView* theWrappedObject, int row, int column) const; | ||
int rowViewportPosition(QTableView* theWrappedObject, int row) const; | ||||
florianlink
|
r128 | void scrollContentsBy(QTableView* theWrappedObject, int dx, int dy); | ||
florianlink
|
r120 | void scrollTo(QTableView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); | ||
florianlink
|
r128 | QList<QModelIndex > selectedIndexes(QTableView* theWrappedObject) const; | ||
void selectionChanged(QTableView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected); | ||||
void setColumnHidden(QTableView* theWrappedObject, int column, bool hide); | ||||
void setColumnWidth(QTableView* theWrappedObject, int column, int width); | ||||
void setCornerButtonEnabled(QTableView* theWrappedObject, bool enable); | ||||
void setGridStyle(QTableView* theWrappedObject, Qt::PenStyle style); | ||||
florianlink
|
r120 | void setHorizontalHeader(QTableView* theWrappedObject, QHeaderView* header); | ||
florianlink
|
r128 | void setModel(QTableView* theWrappedObject, QAbstractItemModel* model); | ||
void setRootIndex(QTableView* theWrappedObject, const QModelIndex& index); | ||||
void setRowHeight(QTableView* theWrappedObject, int row, int height); | ||||
void setRowHidden(QTableView* theWrappedObject, int row, bool hide); | ||||
florianlink
|
r120 | void setSelection(QTableView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command); | ||
florianlink
|
r128 | void setSelectionModel(QTableView* theWrappedObject, QItemSelectionModel* selectionModel); | ||
void setSortingEnabled(QTableView* theWrappedObject, bool enable); | ||||
void setSpan(QTableView* theWrappedObject, int row, int column, int rowSpan, int columnSpan); | ||||
void setVerticalHeader(QTableView* theWrappedObject, QHeaderView* header); | ||||
void setWordWrap(QTableView* theWrappedObject, bool on); | ||||
bool showGrid(QTableView* theWrappedObject) const; | ||||
florianlink
|
r110 | int sizeHintForColumn(QTableView* theWrappedObject, int column) const; | ||
florianlink
|
r128 | int sizeHintForRow(QTableView* theWrappedObject, int row) const; | ||
florianlink
|
r120 | void sortByColumn(QTableView* theWrappedObject, int column, Qt::SortOrder order); | ||
florianlink
|
r128 | void timerEvent(QTableView* theWrappedObject, QTimerEvent* event); | ||
void updateGeometries(QTableView* theWrappedObject); | ||||
QHeaderView* verticalHeader(QTableView* theWrappedObject) const; | ||||
florianlink
|
r120 | int verticalOffset(QTableView* theWrappedObject) const; | ||
florianlink
|
r128 | void verticalScrollbarAction(QTableView* theWrappedObject, int action); | ||
florianlink
|
r120 | QStyleOptionViewItem viewOptions(QTableView* theWrappedObject) const; | ||
florianlink
|
r128 | QRect visualRect(QTableView* theWrappedObject, const QModelIndex& index) const; | ||
QRegion visualRegionForSelection(QTableView* theWrappedObject, const QItemSelection& selection) const; | ||||
bool wordWrap(QTableView* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
class PythonQtShell_QTableWidget : public QTableWidget | ||||
{ | ||||
public: | ||||
PythonQtShell_QTableWidget(QWidget* parent = 0):QTableWidget(parent),_wrapper(NULL) {}; | ||||
PythonQtShell_QTableWidget(int rows, int columns, QWidget* parent = 0):QTableWidget(rows, columns, parent),_wrapper(NULL) {}; | ||||
florianlink
|
r128 | virtual void actionEvent(QActionEvent* arg__1); | ||
virtual void changeEvent(QEvent* arg__1); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
florianlink
|
r110 | virtual void commitData(QWidget* editor); | ||
florianlink
|
r128 | virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||
virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r120 | virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); | ||
florianlink
|
r128 | virtual int devType() const; | ||
florianlink
|
r110 | virtual void doItemsLayout(); | ||
florianlink
|
r120 | virtual void dragEnterEvent(QDragEnterEvent* event); | ||
florianlink
|
r128 | virtual void dragLeaveEvent(QDragLeaveEvent* event); | ||
virtual void dragMoveEvent(QDragMoveEvent* event); | ||||
virtual void dropEvent(QDropEvent* event); | ||||
virtual bool dropMimeData(int row, int column, const QMimeData* data, Qt::DropAction action); | ||||
florianlink
|
r120 | virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); | ||
florianlink
|
r128 | virtual void editorDestroyed(QObject* editor); | ||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* e); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void focusInEvent(QFocusEvent* event); | ||||
florianlink
|
r120 | virtual bool focusNextPrevChild(bool next); | ||
florianlink
|
r128 | virtual void focusOutEvent(QFocusEvent* event); | ||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual int horizontalOffset() const; | ||||
virtual void horizontalScrollbarAction(int action); | ||||
florianlink
|
r120 | virtual void horizontalScrollbarValueChanged(int value); | ||
florianlink
|
r128 | virtual QModelIndex indexAt(const QPoint& p) const; | ||
virtual void inputMethodEvent(QInputMethodEvent* event); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; | ||||
virtual bool isIndexHidden(const QModelIndex& index) const; | ||||
virtual void keyPressEvent(QKeyEvent* event); | ||||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void keyboardSearch(const QString& search); | ||||
florianlink
|
r110 | virtual void languageChange(); | ||
florianlink
|
r120 | virtual void leaveEvent(QEvent* arg__1); | ||
florianlink
|
r117 | virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||
florianlink
|
r128 | virtual QMimeData* mimeData(const QList<QTableWidgetItem* > items) const; | ||
virtual QStringList mimeTypes() const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* event); | ||||
virtual void mouseMoveEvent(QMouseEvent* event); | ||||
virtual void mousePressEvent(QMouseEvent* event); | ||||
virtual void mouseReleaseEvent(QMouseEvent* event); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
florianlink
|
r117 | virtual QPaintEngine* paintEngine() const; | ||
florianlink
|
r128 | virtual void paintEvent(QPaintEvent* e); | ||
virtual void reset(); | ||||
virtual void resizeEvent(QResizeEvent* event); | ||||
virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); | ||||
virtual void rowsInserted(const QModelIndex& parent, int start, int end); | ||||
virtual void scrollContentsBy(int dx, int dy); | ||||
virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint); | ||||
virtual void selectAll(); | ||||
virtual QList<QModelIndex > selectedIndexes() const; | ||||
virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); | ||||
virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; | ||||
virtual void setRootIndex(const QModelIndex& index); | ||||
virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); | ||||
virtual void setSelectionModel(QItemSelectionModel* selectionModel); | ||||
florianlink
|
r120 | virtual void showEvent(QShowEvent* arg__1); | ||
florianlink
|
r128 | virtual int sizeHintForColumn(int column) const; | ||
virtual int sizeHintForRow(int row) const; | ||||
virtual void startDrag(Qt::DropActions supportedActions); | ||||
virtual Qt::DropActions supportedDropActions() const; | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual void timerEvent(QTimerEvent* event); | ||||
virtual void updateEditorData(); | ||||
virtual void updateEditorGeometries(); | ||||
virtual void updateGeometries(); | ||||
virtual int verticalOffset() const; | ||||
virtual void verticalScrollbarAction(int action); | ||||
virtual void verticalScrollbarValueChanged(int value); | ||||
virtual QStyleOptionViewItem viewOptions() const; | ||||
virtual bool viewportEvent(QEvent* event); | ||||
virtual QRect visualRect(const QModelIndex& index) const; | ||||
virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; | ||||
virtual void wheelEvent(QWheelEvent* arg__1); | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QTableWidget : public QTableWidget | ||
{ public: | ||||
inline void promoted_dropEvent(QDropEvent* event) { QTableWidget::dropEvent(event); } | ||||
florianlink
|
r128 | inline bool promoted_dropMimeData(int row, int column, const QMimeData* data, Qt::DropAction action) { return QTableWidget::dropMimeData(row, column, data, action); } | ||
florianlink
|
r110 | inline bool promoted_event(QEvent* e) { return QTableWidget::event(e); } | ||
florianlink
|
r120 | inline QStringList promoted_mimeTypes() const { return QTableWidget::mimeTypes(); } | ||
florianlink
|
r128 | inline Qt::DropActions promoted_supportedDropActions() const { return QTableWidget::supportedDropActions(); } | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QTableWidget : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QTableWidget* new_QTableWidget(QWidget* parent = 0); | ||
QTableWidget* new_QTableWidget(int rows, int columns, QWidget* parent = 0); | ||||
void delete_QTableWidget(QTableWidget* obj) { delete obj; } | ||||
florianlink
|
r120 | QWidget* cellWidget(QTableWidget* theWrappedObject, int row, int column) const; | ||
florianlink
|
r128 | void closePersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item); | ||
int column(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const; | ||||
int columnCount(QTableWidget* theWrappedObject) const; | ||||
florianlink
|
r110 | int currentColumn(QTableWidget* theWrappedObject) const; | ||
QTableWidgetItem* currentItem(QTableWidget* theWrappedObject) const; | ||||
florianlink
|
r128 | int currentRow(QTableWidget* theWrappedObject) const; | ||
void dropEvent(QTableWidget* theWrappedObject, QDropEvent* event); | ||||
florianlink
|
r110 | bool dropMimeData(QTableWidget* theWrappedObject, int row, int column, const QMimeData* data, Qt::DropAction action); | ||
florianlink
|
r128 | void editItem(QTableWidget* theWrappedObject, QTableWidgetItem* item); | ||
bool event(QTableWidget* theWrappedObject, QEvent* e); | ||||
QList<QTableWidgetItem* > findItems(QTableWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const; | ||||
QTableWidgetItem* horizontalHeaderItem(QTableWidget* theWrappedObject, int column) const; | ||||
QTableWidgetItem* item(QTableWidget* theWrappedObject, int row, int column) const; | ||||
florianlink
|
r110 | QTableWidgetItem* itemAt(QTableWidget* theWrappedObject, const QPoint& p) const; | ||
florianlink
|
r120 | QTableWidgetItem* itemAt(QTableWidget* theWrappedObject, int x, int y) const; | ||
florianlink
|
r110 | const QTableWidgetItem* itemPrototype(QTableWidget* theWrappedObject) const; | ||
florianlink
|
r128 | QStringList mimeTypes(QTableWidget* theWrappedObject) const; | ||
florianlink
|
r110 | void openPersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item); | ||
florianlink
|
r128 | void removeCellWidget(QTableWidget* theWrappedObject, int row, int column); | ||
int row(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const; | ||||
int rowCount(QTableWidget* theWrappedObject) const; | ||||
QList<QTableWidgetItem* > selectedItems(QTableWidget* theWrappedObject); | ||||
QList<QTableWidgetSelectionRange > selectedRanges(QTableWidget* theWrappedObject) const; | ||||
florianlink
|
r110 | void setCellWidget(QTableWidget* theWrappedObject, int row, int column, QWidget* widget); | ||
florianlink
|
r128 | void setColumnCount(QTableWidget* theWrappedObject, int columns); | ||
void setCurrentCell(QTableWidget* theWrappedObject, int row, int column); | ||||
void setCurrentCell(QTableWidget* theWrappedObject, int row, int column, QItemSelectionModel::SelectionFlags command); | ||||
void setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item); | ||||
void setCurrentItem(QTableWidget* theWrappedObject, QTableWidgetItem* item, QItemSelectionModel::SelectionFlags command); | ||||
void setHorizontalHeaderItem(QTableWidget* theWrappedObject, int column, QTableWidgetItem* item); | ||||
void setHorizontalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels); | ||||
void setItem(QTableWidget* theWrappedObject, int row, int column, QTableWidgetItem* item); | ||||
florianlink
|
r120 | void setItemPrototype(QTableWidget* theWrappedObject, const QTableWidgetItem* item); | ||
florianlink
|
r110 | void setRangeSelected(QTableWidget* theWrappedObject, const QTableWidgetSelectionRange& range, bool select); | ||
florianlink
|
r128 | void setRowCount(QTableWidget* theWrappedObject, int rows); | ||
void setVerticalHeaderItem(QTableWidget* theWrappedObject, int row, QTableWidgetItem* item); | ||||
void setVerticalHeaderLabels(QTableWidget* theWrappedObject, const QStringList& labels); | ||||
void sortItems(QTableWidget* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder); | ||||
Qt::DropActions supportedDropActions(QTableWidget* theWrappedObject) const; | ||||
QTableWidgetItem* takeHorizontalHeaderItem(QTableWidget* theWrappedObject, int column); | ||||
QTableWidgetItem* takeItem(QTableWidget* theWrappedObject, int row, int column); | ||||
QTableWidgetItem* takeVerticalHeaderItem(QTableWidget* theWrappedObject, int row); | ||||
QTableWidgetItem* verticalHeaderItem(QTableWidget* theWrappedObject, int row) const; | ||||
int visualColumn(QTableWidget* theWrappedObject, int logicalColumn) const; | ||||
QRect visualItemRect(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const; | ||||
int visualRow(QTableWidget* theWrappedObject, int logicalRow) const; | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QTableWidgetItem : public QTableWidgetItem | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTableWidgetItem(const QIcon& icon, const QString& text, int type = Type):QTableWidgetItem(icon, text, type),_wrapper(NULL) {}; | ||
PythonQtShell_QTableWidgetItem(const QString& text, int type = Type):QTableWidgetItem(text, type),_wrapper(NULL) {}; | ||||
PythonQtShell_QTableWidgetItem(int type = Type):QTableWidgetItem(type),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | virtual QTableWidgetItem* clone() const; | ||
virtual QVariant data(int role) const; | ||||
florianlink
|
r128 | virtual bool __lt__(const QTableWidgetItem& other) const; | ||
virtual void read(QDataStream& in); | ||||
florianlink
|
r110 | virtual void setData(int role, const QVariant& value); | ||
florianlink
|
r120 | virtual void write(QDataStream& out) const; | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QTableWidgetItem : public QTableWidgetItem | ||
{ public: | ||||
inline QTableWidgetItem* promoted_clone() const { return QTableWidgetItem::clone(); } | ||||
inline QVariant promoted_data(int role) const { return QTableWidgetItem::data(role); } | ||||
inline void promoted_setData(int role, const QVariant& value) { QTableWidgetItem::setData(role, value); } | ||||
}; | ||||
class PythonQtWrapper_QTableWidgetItem : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(ItemType ) | ||
enum ItemType{ | ||||
Type = QTableWidgetItem::Type, UserType = QTableWidgetItem::UserType}; | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QTableWidgetItem* new_QTableWidgetItem(const QIcon& icon, const QString& text, int type = Type); | ||
QTableWidgetItem* new_QTableWidgetItem(const QString& text, int type = Type); | ||||
QTableWidgetItem* new_QTableWidgetItem(int type = Type); | ||||
void delete_QTableWidgetItem(QTableWidgetItem* obj) { delete obj; } | ||||
florianlink
|
r128 | QBrush background(QTableWidgetItem* theWrappedObject) const; | ||
Qt::CheckState checkState(QTableWidgetItem* theWrappedObject) const; | ||||
florianlink
|
r110 | QTableWidgetItem* clone(QTableWidgetItem* theWrappedObject) const; | ||
int column(QTableWidgetItem* theWrappedObject) const; | ||||
QVariant data(QTableWidgetItem* theWrappedObject, int role) const; | ||||
florianlink
|
r128 | Qt::ItemFlags flags(QTableWidgetItem* theWrappedObject) const; | ||
QFont font(QTableWidgetItem* theWrappedObject) const; | ||||
florianlink
|
r110 | QBrush foreground(QTableWidgetItem* theWrappedObject) const; | ||
QIcon icon(QTableWidgetItem* theWrappedObject) const; | ||||
bool isSelected(QTableWidgetItem* theWrappedObject) const; | ||||
florianlink
|
r128 | void writeTo(QTableWidgetItem* theWrappedObject, QDataStream& out); | ||
void readFrom(QTableWidgetItem* theWrappedObject, QDataStream& in); | ||||
florianlink
|
r110 | int row(QTableWidgetItem* theWrappedObject) const; | ||
florianlink
|
r128 | void setBackground(QTableWidgetItem* theWrappedObject, const QBrush& brush); | ||
florianlink
|
r120 | void setCheckState(QTableWidgetItem* theWrappedObject, Qt::CheckState state); | ||
florianlink
|
r128 | void setData(QTableWidgetItem* theWrappedObject, int role, const QVariant& value); | ||
void setFlags(QTableWidgetItem* theWrappedObject, Qt::ItemFlags flags); | ||||
void setFont(QTableWidgetItem* theWrappedObject, const QFont& font); | ||||
void setForeground(QTableWidgetItem* theWrappedObject, const QBrush& brush); | ||||
void setIcon(QTableWidgetItem* theWrappedObject, const QIcon& icon); | ||||
void setSelected(QTableWidgetItem* theWrappedObject, bool select); | ||||
void setSizeHint(QTableWidgetItem* theWrappedObject, const QSize& size); | ||||
void setStatusTip(QTableWidgetItem* theWrappedObject, const QString& statusTip); | ||||
void setText(QTableWidgetItem* theWrappedObject, const QString& text); | ||||
void setTextAlignment(QTableWidgetItem* theWrappedObject, int alignment); | ||||
void setToolTip(QTableWidgetItem* theWrappedObject, const QString& toolTip); | ||||
void setWhatsThis(QTableWidgetItem* theWrappedObject, const QString& whatsThis); | ||||
QSize sizeHint(QTableWidgetItem* theWrappedObject) const; | ||||
QString statusTip(QTableWidgetItem* theWrappedObject) const; | ||||
QTableWidget* tableWidget(QTableWidgetItem* theWrappedObject) const; | ||||
florianlink
|
r120 | QString text(QTableWidgetItem* theWrappedObject) const; | ||
florianlink
|
r128 | int textAlignment(QTableWidgetItem* theWrappedObject) const; | ||
QString toolTip(QTableWidgetItem* theWrappedObject) const; | ||||
int type(QTableWidgetItem* theWrappedObject) const; | ||||
QString whatsThis(QTableWidgetItem* theWrappedObject) const; | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QTableWidgetSelectionRange : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QTableWidgetSelectionRange* new_QTableWidgetSelectionRange(); | ||
QTableWidgetSelectionRange* new_QTableWidgetSelectionRange(const QTableWidgetSelectionRange& other); | ||||
QTableWidgetSelectionRange* new_QTableWidgetSelectionRange(int top, int left, int bottom, int right); | ||||
void delete_QTableWidgetSelectionRange(QTableWidgetSelectionRange* obj) { delete obj; } | ||||
int bottomRow(QTableWidgetSelectionRange* theWrappedObject) const; | ||||
int columnCount(QTableWidgetSelectionRange* theWrappedObject) const; | ||||
florianlink
|
r128 | int leftColumn(QTableWidgetSelectionRange* theWrappedObject) const; | ||
int rightColumn(QTableWidgetSelectionRange* theWrappedObject) const; | ||||
int rowCount(QTableWidgetSelectionRange* theWrappedObject) const; | ||||
int topRow(QTableWidgetSelectionRange* theWrappedObject) const; | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QTabletEvent : public QTabletEvent | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTabletEvent(QEvent::Type t, const QPoint& pos, const QPoint& globalPos, const QPointF& hiResGlobalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID):QTabletEvent(t, pos, globalPos, hiResGlobalPos, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QTabletEvent : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(TabletDevice PointerType ) | ||
enum TabletDevice{ | ||||
NoDevice = QTabletEvent::NoDevice, Puck = QTabletEvent::Puck, Stylus = QTabletEvent::Stylus, Airbrush = QTabletEvent::Airbrush, FourDMouse = QTabletEvent::FourDMouse, XFreeEraser = QTabletEvent::XFreeEraser, RotationStylus = QTabletEvent::RotationStylus}; | ||||
enum PointerType{ | ||||
UnknownPointer = QTabletEvent::UnknownPointer, Pen = QTabletEvent::Pen, Cursor = QTabletEvent::Cursor, Eraser = QTabletEvent::Eraser}; | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QTabletEvent* new_QTabletEvent(QEvent::Type t, const QPoint& pos, const QPoint& globalPos, const QPointF& hiResGlobalPos, int device, int pointerType, qreal pressure, int xTilt, int yTilt, qreal tangentialPressure, qreal rotation, int z, Qt::KeyboardModifiers keyState, qint64 uniqueID); | ||
void delete_QTabletEvent(QTabletEvent* obj) { delete obj; } | ||||
florianlink
|
r128 | QTabletEvent::TabletDevice device(QTabletEvent* theWrappedObject) const; | ||
florianlink
|
r120 | const QPoint* globalPos(QTabletEvent* theWrappedObject) const; | ||
florianlink
|
r128 | int globalX(QTabletEvent* theWrappedObject) const; | ||
int globalY(QTabletEvent* theWrappedObject) const; | ||||
florianlink
|
r120 | const QPointF* hiResGlobalPos(QTabletEvent* theWrappedObject) const; | ||
florianlink
|
r128 | qreal hiResGlobalX(QTabletEvent* theWrappedObject) const; | ||
florianlink
|
r120 | qreal hiResGlobalY(QTabletEvent* theWrappedObject) const; | ||
florianlink
|
r110 | QTabletEvent::PointerType pointerType(QTabletEvent* theWrappedObject) const; | ||
florianlink
|
r128 | const QPoint* pos(QTabletEvent* theWrappedObject) const; | ||
qreal pressure(QTabletEvent* theWrappedObject) const; | ||||
florianlink
|
r110 | qreal rotation(QTabletEvent* theWrappedObject) const; | ||
florianlink
|
r128 | qreal tangentialPressure(QTabletEvent* theWrappedObject) const; | ||
qint64 uniqueId(QTabletEvent* theWrappedObject) const; | ||||
int x(QTabletEvent* theWrappedObject) const; | ||||
int xTilt(QTabletEvent* theWrappedObject) const; | ||||
int y(QTabletEvent* theWrappedObject) const; | ||||
florianlink
|
r110 | int yTilt(QTabletEvent* theWrappedObject) const; | ||
florianlink
|
r128 | int z(QTabletEvent* theWrappedObject) const; | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QTextBlock : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QTextBlock* new_QTextBlock(); | ||
QTextBlock* new_QTextBlock(const QTextBlock& o); | ||||
void delete_QTextBlock(QTextBlock* obj) { delete obj; } | ||||
florianlink
|
r128 | QTextBlock::iterator begin(QTextBlock* theWrappedObject) const; | ||
QTextBlockFormat blockFormat(QTextBlock* theWrappedObject) const; | ||||
int blockFormatIndex(QTextBlock* theWrappedObject) const; | ||||
int blockNumber(QTextBlock* theWrappedObject) const; | ||||
QTextCharFormat charFormat(QTextBlock* theWrappedObject) const; | ||||
int charFormatIndex(QTextBlock* theWrappedObject) const; | ||||
void clearLayout(QTextBlock* theWrappedObject); | ||||
florianlink
|
r110 | bool contains(QTextBlock* theWrappedObject, int position) const; | ||
const QTextDocument* document(QTextBlock* theWrappedObject) const; | ||||
florianlink
|
r128 | QTextBlock::iterator end(QTextBlock* theWrappedObject) const; | ||
int firstLineNumber(QTextBlock* theWrappedObject) const; | ||||
int fragmentIndex(QTextBlock* theWrappedObject) const; | ||||
bool isValid(QTextBlock* theWrappedObject) const; | ||||
bool isVisible(QTextBlock* theWrappedObject) const; | ||||
QTextLayout* layout(QTextBlock* theWrappedObject) const; | ||||
int length(QTextBlock* theWrappedObject) const; | ||||
int lineCount(QTextBlock* theWrappedObject) const; | ||||
florianlink
|
r110 | QTextBlock next(QTextBlock* theWrappedObject) const; | ||
florianlink
|
r120 | bool __ne__(QTextBlock* theWrappedObject, const QTextBlock& o) const; | ||
florianlink
|
r128 | bool __lt__(QTextBlock* theWrappedObject, const QTextBlock& o) const; | ||
bool __eq__(QTextBlock* theWrappedObject, const QTextBlock& o) const; | ||||
int position(QTextBlock* theWrappedObject) const; | ||||
florianlink
|
r110 | QTextBlock previous(QTextBlock* theWrappedObject) const; | ||
int revision(QTextBlock* theWrappedObject) const; | ||||
florianlink
|
r128 | void setLineCount(QTextBlock* theWrappedObject, int count); | ||
void setRevision(QTextBlock* theWrappedObject, int rev); | ||||
florianlink
|
r120 | void setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data); | ||
florianlink
|
r128 | void setUserState(QTextBlock* theWrappedObject, int state); | ||
void setVisible(QTextBlock* theWrappedObject, bool visible); | ||||
florianlink
|
r110 | QString text(QTextBlock* theWrappedObject) const; | ||
florianlink
|
r128 | QTextList* textList(QTextBlock* theWrappedObject) const; | ||
QTextBlockUserData* userData(QTextBlock* theWrappedObject) const; | ||||
int userState(QTextBlock* theWrappedObject) const; | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QTextBlockFormat : public QTextBlockFormat | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTextBlockFormat():QTextBlockFormat(),_wrapper(NULL) {}; | ||
PythonQtShell_QTextBlockFormat(const QTextFormat& fmt):QTextBlockFormat(fmt),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QTextBlockFormat : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QTextBlockFormat* new_QTextBlockFormat(); | ||
QTextBlockFormat* new_QTextBlockFormat(const QTextBlockFormat& other) { | ||||
PythonQtShell_QTextBlockFormat* a = new PythonQtShell_QTextBlockFormat(); | ||||
*((QTextBlockFormat*)a) = other; | ||||
florianlink
|
r99 | return a; } | ||
florianlink
|
r110 | void delete_QTextBlockFormat(QTextBlockFormat* obj) { delete obj; } | ||
florianlink
|
r128 | Qt::Alignment alignment(QTextBlockFormat* theWrappedObject) const; | ||
qreal bottomMargin(QTextBlockFormat* theWrappedObject) const; | ||||
int indent(QTextBlockFormat* theWrappedObject) const; | ||||
florianlink
|
r110 | bool isValid(QTextBlockFormat* theWrappedObject) const; | ||
florianlink
|
r128 | qreal leftMargin(QTextBlockFormat* theWrappedObject) const; | ||
bool nonBreakableLines(QTextBlockFormat* theWrappedObject) const; | ||||
QTextFormat::PageBreakFlags pageBreakPolicy(QTextBlockFormat* theWrappedObject) const; | ||||
qreal rightMargin(QTextBlockFormat* theWrappedObject) const; | ||||
florianlink
|
r110 | void setAlignment(QTextBlockFormat* theWrappedObject, Qt::Alignment alignment); | ||
florianlink
|
r128 | void setBottomMargin(QTextBlockFormat* theWrappedObject, qreal margin); | ||
void setIndent(QTextBlockFormat* theWrappedObject, int indent); | ||||
void setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin); | ||||
void setNonBreakableLines(QTextBlockFormat* theWrappedObject, bool b); | ||||
void setPageBreakPolicy(QTextBlockFormat* theWrappedObject, QTextFormat::PageBreakFlags flags); | ||||
florianlink
|
r110 | void setRightMargin(QTextBlockFormat* theWrappedObject, qreal margin); | ||
void setTabPositions(QTextBlockFormat* theWrappedObject, const QList<QTextOption::Tab >& tabs); | ||||
florianlink
|
r120 | void setTextIndent(QTextBlockFormat* theWrappedObject, qreal aindent); | ||
florianlink
|
r110 | void setTopMargin(QTextBlockFormat* theWrappedObject, qreal margin); | ||
florianlink
|
r128 | QList<QTextOption::Tab > tabPositions(QTextBlockFormat* theWrappedObject) const; | ||
qreal textIndent(QTextBlockFormat* theWrappedObject) const; | ||||
florianlink
|
r110 | qreal topMargin(QTextBlockFormat* theWrappedObject) const; | ||
florianlink
|
r99 | }; | ||