|
|
#include <PythonQt.h>
|
|
|
#include <QIcon>
|
|
|
#include <QIconEngine>
|
|
|
#include <QObject>
|
|
|
#include <QTextBlock>
|
|
|
#include <QTextDocumentFragment>
|
|
|
#include <QTextEdit>
|
|
|
#include <QVariant>
|
|
|
#include <qabstractitemdelegate.h>
|
|
|
#include <qabstractitemmodel.h>
|
|
|
#include <qabstractitemview.h>
|
|
|
#include <qaction.h>
|
|
|
#include <qbitmap.h>
|
|
|
#include <qbrush.h>
|
|
|
#include <qbytearray.h>
|
|
|
#include <qcolor.h>
|
|
|
#include <qcoreevent.h>
|
|
|
#include <qcursor.h>
|
|
|
#include <qevent.h>
|
|
|
#include <qfont.h>
|
|
|
#include <qgesture.h>
|
|
|
#include <qgraphicseffect.h>
|
|
|
#include <qgraphicsproxywidget.h>
|
|
|
#include <qheaderview.h>
|
|
|
#include <qimage.h>
|
|
|
#include <qitemeditorfactory.h>
|
|
|
#include <qitemselectionmodel.h>
|
|
|
#include <qkeysequence.h>
|
|
|
#include <qlayout.h>
|
|
|
#include <qline.h>
|
|
|
#include <qlist.h>
|
|
|
#include <qlocale.h>
|
|
|
#include <qmargins.h>
|
|
|
#include <qmatrix.h>
|
|
|
#include <qmenu.h>
|
|
|
#include <qmimedata.h>
|
|
|
#include <qobject.h>
|
|
|
#include <qpaintdevice.h>
|
|
|
#include <qpaintengine.h>
|
|
|
#include <qpainter.h>
|
|
|
#include <qpainterpath.h>
|
|
|
#include <qpalette.h>
|
|
|
#include <qpen.h>
|
|
|
#include <qpicture.h>
|
|
|
#include <qpixmap.h>
|
|
|
#include <qpoint.h>
|
|
|
#include <qpolygon.h>
|
|
|
#include <qrect.h>
|
|
|
#include <qregion.h>
|
|
|
#include <qscrollbar.h>
|
|
|
#include <qsize.h>
|
|
|
#include <qsizepolicy.h>
|
|
|
#include <qstringlist.h>
|
|
|
#include <qstyle.h>
|
|
|
#include <qstyleditemdelegate.h>
|
|
|
#include <qstyleoption.h>
|
|
|
#include <qstylepainter.h>
|
|
|
#include <qstyleplugin.h>
|
|
|
#include <qsyntaxhighlighter.h>
|
|
|
#include <qsystemtrayicon.h>
|
|
|
#include <qtabbar.h>
|
|
|
#include <qtableview.h>
|
|
|
#include <qtablewidget.h>
|
|
|
#include <qtabwidget.h>
|
|
|
#include <qtextbrowser.h>
|
|
|
#include <qtextcursor.h>
|
|
|
#include <qtextdocument.h>
|
|
|
#include <qtextdocumentfragment.h>
|
|
|
#include <qtextformat.h>
|
|
|
#include <qtextlayout.h>
|
|
|
#include <qtextlist.h>
|
|
|
#include <qtextobject.h>
|
|
|
#include <qtexttable.h>
|
|
|
#include <qtransform.h>
|
|
|
#include <qurl.h>
|
|
|
#include <qvector.h>
|
|
|
#include <qwidget.h>
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QStyleOptionSlider : public QStyleOptionSlider
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QStyleOptionSlider():QStyleOptionSlider(),_wrapper(NULL) {};
|
|
|
PythonQtShell_QStyleOptionSlider(const QStyleOptionSlider& other):QStyleOptionSlider(other),_wrapper(NULL) {};
|
|
|
PythonQtShell_QStyleOptionSlider(int version):QStyleOptionSlider(version),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QStyleOptionSlider();
|
|
|
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QStyleOptionSlider : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(StyleOptionVersion StyleOptionType )
|
|
|
enum StyleOptionVersion{
|
|
|
Version = QStyleOptionSlider::Version};
|
|
|
enum StyleOptionType{
|
|
|
Type = QStyleOptionSlider::Type};
|
|
|
public slots:
|
|
|
QStyleOptionSlider* new_QStyleOptionSlider();
|
|
|
QStyleOptionSlider* new_QStyleOptionSlider(const QStyleOptionSlider& other);
|
|
|
void delete_QStyleOptionSlider(QStyleOptionSlider* obj) { delete obj; }
|
|
|
void py_set_sliderPosition(QStyleOptionSlider* theWrappedObject, int sliderPosition){ theWrappedObject->sliderPosition = sliderPosition; }
|
|
|
int py_get_sliderPosition(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->sliderPosition; }
|
|
|
void py_set_pageStep(QStyleOptionSlider* theWrappedObject, int pageStep){ theWrappedObject->pageStep = pageStep; }
|
|
|
int py_get_pageStep(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->pageStep; }
|
|
|
void py_set_sliderValue(QStyleOptionSlider* theWrappedObject, int sliderValue){ theWrappedObject->sliderValue = sliderValue; }
|
|
|
int py_get_sliderValue(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->sliderValue; }
|
|
|
void py_set_tickInterval(QStyleOptionSlider* theWrappedObject, int tickInterval){ theWrappedObject->tickInterval = tickInterval; }
|
|
|
int py_get_tickInterval(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->tickInterval; }
|
|
|
void py_set_orientation(QStyleOptionSlider* theWrappedObject, Qt::Orientation orientation){ theWrappedObject->orientation = orientation; }
|
|
|
Qt::Orientation py_get_orientation(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->orientation; }
|
|
|
void py_set_dialWrapping(QStyleOptionSlider* theWrappedObject, bool dialWrapping){ theWrappedObject->dialWrapping = dialWrapping; }
|
|
|
bool py_get_dialWrapping(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->dialWrapping; }
|
|
|
void py_set_notchTarget(QStyleOptionSlider* theWrappedObject, qreal notchTarget){ theWrappedObject->notchTarget = notchTarget; }
|
|
|
qreal py_get_notchTarget(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->notchTarget; }
|
|
|
void py_set_upsideDown(QStyleOptionSlider* theWrappedObject, bool upsideDown){ theWrappedObject->upsideDown = upsideDown; }
|
|
|
bool py_get_upsideDown(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->upsideDown; }
|
|
|
void py_set_minimum(QStyleOptionSlider* theWrappedObject, int minimum){ theWrappedObject->minimum = minimum; }
|
|
|
int py_get_minimum(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->minimum; }
|
|
|
void py_set_maximum(QStyleOptionSlider* theWrappedObject, int maximum){ theWrappedObject->maximum = maximum; }
|
|
|
int py_get_maximum(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->maximum; }
|
|
|
void py_set_tickPosition(QStyleOptionSlider* theWrappedObject, QSlider::TickPosition tickPosition){ theWrappedObject->tickPosition = tickPosition; }
|
|
|
QSlider::TickPosition py_get_tickPosition(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->tickPosition; }
|
|
|
void py_set_singleStep(QStyleOptionSlider* theWrappedObject, int singleStep){ theWrappedObject->singleStep = singleStep; }
|
|
|
int py_get_singleStep(QStyleOptionSlider* theWrappedObject){ return theWrappedObject->singleStep; }
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QStyleOptionSpinBox : public QStyleOptionSpinBox
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QStyleOptionSpinBox():QStyleOptionSpinBox(),_wrapper(NULL) {};
|
|
|
PythonQtShell_QStyleOptionSpinBox(const QStyleOptionSpinBox& other):QStyleOptionSpinBox(other),_wrapper(NULL) {};
|
|
|
PythonQtShell_QStyleOptionSpinBox(int version):QStyleOptionSpinBox(version),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QStyleOptionSpinBox();
|
|
|
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QStyleOptionSpinBox : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(StyleOptionVersion StyleOptionType )
|
|
|
enum StyleOptionVersion{
|
|
|
Version = QStyleOptionSpinBox::Version};
|
|
|
enum StyleOptionType{
|
|
|
Type = QStyleOptionSpinBox::Type};
|
|
|
public slots:
|
|
|
QStyleOptionSpinBox* new_QStyleOptionSpinBox();
|
|
|
QStyleOptionSpinBox* new_QStyleOptionSpinBox(const QStyleOptionSpinBox& other);
|
|
|
void delete_QStyleOptionSpinBox(QStyleOptionSpinBox* obj) { delete obj; }
|
|
|
void py_set_buttonSymbols(QStyleOptionSpinBox* theWrappedObject, QAbstractSpinBox::ButtonSymbols buttonSymbols){ theWrappedObject->buttonSymbols = buttonSymbols; }
|
|
|
QAbstractSpinBox::ButtonSymbols py_get_buttonSymbols(QStyleOptionSpinBox* theWrappedObject){ return theWrappedObject->buttonSymbols; }
|
|
|
void py_set_stepEnabled(QStyleOptionSpinBox* theWrappedObject, QAbstractSpinBox::StepEnabled stepEnabled){ theWrappedObject->stepEnabled = stepEnabled; }
|
|
|
QAbstractSpinBox::StepEnabled py_get_stepEnabled(QStyleOptionSpinBox* theWrappedObject){ return theWrappedObject->stepEnabled; }
|
|
|
void py_set_frame(QStyleOptionSpinBox* theWrappedObject, bool frame){ theWrappedObject->frame = frame; }
|
|
|
bool py_get_frame(QStyleOptionSpinBox* theWrappedObject){ return theWrappedObject->frame; }
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QStyleOptionTab : public QStyleOptionTab
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QStyleOptionTab():QStyleOptionTab(),_wrapper(NULL) {};
|
|
|
PythonQtShell_QStyleOptionTab(const QStyleOptionTab& other):QStyleOptionTab(other),_wrapper(NULL) {};
|
|
|
PythonQtShell_QStyleOptionTab(int version):QStyleOptionTab(version),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QStyleOptionTab();
|
|
|
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QStyleOptionTab : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(SelectedPosition StyleOptionVersion CornerWidget StyleOptionType TabPosition )
|
|
|
Q_FLAGS(CornerWidgets )
|
|
|
enum SelectedPosition{
|
|
|
NotAdjacent = QStyleOptionTab::NotAdjacent, NextIsSelected = QStyleOptionTab::NextIsSelected, PreviousIsSelected = QStyleOptionTab::PreviousIsSelected};
|
|
|
enum StyleOptionVersion{
|
|
|
Version = QStyleOptionTab::Version};
|
|
|
enum CornerWidget{
|
|
|
NoCornerWidgets = QStyleOptionTab::NoCornerWidgets, LeftCornerWidget = QStyleOptionTab::LeftCornerWidget, RightCornerWidget = QStyleOptionTab::RightCornerWidget};
|
|
|
enum StyleOptionType{
|
|
|
Type = QStyleOptionTab::Type};
|
|
|
enum TabPosition{
|
|
|
Beginning = QStyleOptionTab::Beginning, Middle = QStyleOptionTab::Middle, End = QStyleOptionTab::End, OnlyOneTab = QStyleOptionTab::OnlyOneTab};
|
|
|
Q_DECLARE_FLAGS(CornerWidgets, CornerWidget)
|
|
|
public slots:
|
|
|
QStyleOptionTab* new_QStyleOptionTab();
|
|
|
QStyleOptionTab* new_QStyleOptionTab(const QStyleOptionTab& other);
|
|
|
void delete_QStyleOptionTab(QStyleOptionTab* obj) { delete obj; }
|
|
|
void py_set_documentMode(QStyleOptionTab* theWrappedObject, bool documentMode){ theWrappedObject->documentMode = documentMode; }
|
|
|
bool py_get_documentMode(QStyleOptionTab* theWrappedObject){ return theWrappedObject->documentMode; }
|
|
|
void py_set_rightButtonSize(QStyleOptionTab* theWrappedObject, QSize rightButtonSize){ theWrappedObject->rightButtonSize = rightButtonSize; }
|
|
|
QSize py_get_rightButtonSize(QStyleOptionTab* theWrappedObject){ return theWrappedObject->rightButtonSize; }
|
|
|
void py_set_text(QStyleOptionTab* theWrappedObject, QString text){ theWrappedObject->text = text; }
|
|
|
QString py_get_text(QStyleOptionTab* theWrappedObject){ return theWrappedObject->text; }
|
|
|
void py_set_iconSize(QStyleOptionTab* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; }
|
|
|
QSize py_get_iconSize(QStyleOptionTab* theWrappedObject){ return theWrappedObject->iconSize; }
|
|
|
void py_set_row(QStyleOptionTab* theWrappedObject, int row){ theWrappedObject->row = row; }
|
|
|
int py_get_row(QStyleOptionTab* theWrappedObject){ return theWrappedObject->row; }
|
|
|
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_selectedPosition(QStyleOptionTab* theWrappedObject, QStyleOptionTab::SelectedPosition selectedPosition){ theWrappedObject->selectedPosition = selectedPosition; }
|
|
|
QStyleOptionTab::SelectedPosition py_get_selectedPosition(QStyleOptionTab* theWrappedObject){ return theWrappedObject->selectedPosition; }
|
|
|
void py_set_leftButtonSize(QStyleOptionTab* theWrappedObject, QSize leftButtonSize){ theWrappedObject->leftButtonSize = leftButtonSize; }
|
|
|
QSize py_get_leftButtonSize(QStyleOptionTab* theWrappedObject){ return theWrappedObject->leftButtonSize; }
|
|
|
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_cornerWidgets(QStyleOptionTab* theWrappedObject, QStyleOptionTab::CornerWidgets cornerWidgets){ theWrappedObject->cornerWidgets = cornerWidgets; }
|
|
|
QStyleOptionTab::CornerWidgets py_get_cornerWidgets(QStyleOptionTab* theWrappedObject){ return theWrappedObject->cornerWidgets; }
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) {};
|
|
|
|
|
|
~PythonQtShell_QStyleOptionTabBarBase();
|
|
|
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QStyleOptionTabBarBase : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(StyleOptionVersion StyleOptionType )
|
|
|
enum StyleOptionVersion{
|
|
|
Version = QStyleOptionTabBarBase::Version};
|
|
|
enum StyleOptionType{
|
|
|
Type = QStyleOptionTabBarBase::Type};
|
|
|
public slots:
|
|
|
QStyleOptionTabBarBase* new_QStyleOptionTabBarBase();
|
|
|
QStyleOptionTabBarBase* new_QStyleOptionTabBarBase(const QStyleOptionTabBarBase& other);
|
|
|
void delete_QStyleOptionTabBarBase(QStyleOptionTabBarBase* obj) { delete obj; }
|
|
|
void py_set_documentMode(QStyleOptionTabBarBase* theWrappedObject, bool documentMode){ theWrappedObject->documentMode = documentMode; }
|
|
|
bool py_get_documentMode(QStyleOptionTabBarBase* theWrappedObject){ return theWrappedObject->documentMode; }
|
|
|
void py_set_tabBarRect(QStyleOptionTabBarBase* theWrappedObject, QRect tabBarRect){ theWrappedObject->tabBarRect = tabBarRect; }
|
|
|
QRect py_get_tabBarRect(QStyleOptionTabBarBase* theWrappedObject){ return theWrappedObject->tabBarRect; }
|
|
|
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_selectedTabRect(QStyleOptionTabBarBase* theWrappedObject, QRect selectedTabRect){ theWrappedObject->selectedTabRect = selectedTabRect; }
|
|
|
QRect py_get_selectedTabRect(QStyleOptionTabBarBase* theWrappedObject){ return theWrappedObject->selectedTabRect; }
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QStyleOptionTabWidgetFrame : public QStyleOptionTabWidgetFrame
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QStyleOptionTabWidgetFrame():QStyleOptionTabWidgetFrame(),_wrapper(NULL) {};
|
|
|
PythonQtShell_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other):QStyleOptionTabWidgetFrame(other),_wrapper(NULL) {};
|
|
|
PythonQtShell_QStyleOptionTabWidgetFrame(int version):QStyleOptionTabWidgetFrame(version),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QStyleOptionTabWidgetFrame();
|
|
|
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QStyleOptionTabWidgetFrame : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(StyleOptionVersion StyleOptionType )
|
|
|
enum StyleOptionVersion{
|
|
|
Version = QStyleOptionTabWidgetFrame::Version};
|
|
|
enum StyleOptionType{
|
|
|
Type = QStyleOptionTabWidgetFrame::Type};
|
|
|
public slots:
|
|
|
QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame();
|
|
|
QStyleOptionTabWidgetFrame* new_QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame& other);
|
|
|
void delete_QStyleOptionTabWidgetFrame(QStyleOptionTabWidgetFrame* obj) { delete obj; }
|
|
|
void py_set_tabBarSize(QStyleOptionTabWidgetFrame* theWrappedObject, QSize tabBarSize){ theWrappedObject->tabBarSize = tabBarSize; }
|
|
|
QSize py_get_tabBarSize(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->tabBarSize; }
|
|
|
void py_set_tabBarRect(QStyleOptionTabWidgetFrame* theWrappedObject, QRect tabBarRect){ theWrappedObject->tabBarRect = tabBarRect; }
|
|
|
QRect py_get_tabBarRect(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->tabBarRect; }
|
|
|
void py_set_midLineWidth(QStyleOptionTabWidgetFrame* theWrappedObject, int midLineWidth){ theWrappedObject->midLineWidth = midLineWidth; }
|
|
|
int py_get_midLineWidth(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->midLineWidth; }
|
|
|
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_rightCornerWidgetSize(QStyleOptionTabWidgetFrame* theWrappedObject, QSize rightCornerWidgetSize){ theWrappedObject->rightCornerWidgetSize = rightCornerWidgetSize; }
|
|
|
QSize py_get_rightCornerWidgetSize(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->rightCornerWidgetSize; }
|
|
|
void py_set_lineWidth(QStyleOptionTabWidgetFrame* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; }
|
|
|
int py_get_lineWidth(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->lineWidth; }
|
|
|
void py_set_leftCornerWidgetSize(QStyleOptionTabWidgetFrame* theWrappedObject, QSize leftCornerWidgetSize){ theWrappedObject->leftCornerWidgetSize = leftCornerWidgetSize; }
|
|
|
QSize py_get_leftCornerWidgetSize(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->leftCornerWidgetSize; }
|
|
|
void py_set_selectedTabRect(QStyleOptionTabWidgetFrame* theWrappedObject, QRect selectedTabRect){ theWrappedObject->selectedTabRect = selectedTabRect; }
|
|
|
QRect py_get_selectedTabRect(QStyleOptionTabWidgetFrame* theWrappedObject){ return theWrappedObject->selectedTabRect; }
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) {};
|
|
|
|
|
|
~PythonQtShell_QStyleOptionTitleBar();
|
|
|
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QStyleOptionTitleBar : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(StyleOptionVersion StyleOptionType )
|
|
|
enum StyleOptionVersion{
|
|
|
Version = QStyleOptionTitleBar::Version};
|
|
|
enum StyleOptionType{
|
|
|
Type = QStyleOptionTitleBar::Type};
|
|
|
public slots:
|
|
|
QStyleOptionTitleBar* new_QStyleOptionTitleBar();
|
|
|
QStyleOptionTitleBar* new_QStyleOptionTitleBar(const QStyleOptionTitleBar& other);
|
|
|
void delete_QStyleOptionTitleBar(QStyleOptionTitleBar* obj) { delete obj; }
|
|
|
void py_set_text(QStyleOptionTitleBar* theWrappedObject, QString text){ theWrappedObject->text = text; }
|
|
|
QString py_get_text(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->text; }
|
|
|
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_titleBarState(QStyleOptionTitleBar* theWrappedObject, int titleBarState){ theWrappedObject->titleBarState = titleBarState; }
|
|
|
int py_get_titleBarState(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->titleBarState; }
|
|
|
void py_set_icon(QStyleOptionTitleBar* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; }
|
|
|
QIcon py_get_icon(QStyleOptionTitleBar* theWrappedObject){ return theWrappedObject->icon; }
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QStyleOptionToolBar : public QStyleOptionToolBar
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QStyleOptionToolBar():QStyleOptionToolBar(),_wrapper(NULL) {};
|
|
|
PythonQtShell_QStyleOptionToolBar(const QStyleOptionToolBar& other):QStyleOptionToolBar(other),_wrapper(NULL) {};
|
|
|
PythonQtShell_QStyleOptionToolBar(int version):QStyleOptionToolBar(version),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QStyleOptionToolBar();
|
|
|
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QStyleOptionToolBar : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(StyleOptionVersion ToolBarPosition StyleOptionType ToolBarFeature )
|
|
|
Q_FLAGS(ToolBarFeatures )
|
|
|
enum StyleOptionVersion{
|
|
|
Version = QStyleOptionToolBar::Version};
|
|
|
enum ToolBarPosition{
|
|
|
Beginning = QStyleOptionToolBar::Beginning, Middle = QStyleOptionToolBar::Middle, End = QStyleOptionToolBar::End, OnlyOne = QStyleOptionToolBar::OnlyOne};
|
|
|
enum StyleOptionType{
|
|
|
Type = QStyleOptionToolBar::Type};
|
|
|
enum ToolBarFeature{
|
|
|
None = QStyleOptionToolBar::None, Movable = QStyleOptionToolBar::Movable};
|
|
|
Q_DECLARE_FLAGS(ToolBarFeatures, ToolBarFeature)
|
|
|
public slots:
|
|
|
QStyleOptionToolBar* new_QStyleOptionToolBar();
|
|
|
QStyleOptionToolBar* new_QStyleOptionToolBar(const QStyleOptionToolBar& other);
|
|
|
void delete_QStyleOptionToolBar(QStyleOptionToolBar* obj) { delete obj; }
|
|
|
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_features(QStyleOptionToolBar* theWrappedObject, QStyleOptionToolBar::ToolBarFeatures features){ theWrappedObject->features = features; }
|
|
|
QStyleOptionToolBar::ToolBarFeatures py_get_features(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->features; }
|
|
|
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_midLineWidth(QStyleOptionToolBar* theWrappedObject, int midLineWidth){ theWrappedObject->midLineWidth = midLineWidth; }
|
|
|
int py_get_midLineWidth(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->midLineWidth; }
|
|
|
void py_set_lineWidth(QStyleOptionToolBar* theWrappedObject, int lineWidth){ theWrappedObject->lineWidth = lineWidth; }
|
|
|
int py_get_lineWidth(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->lineWidth; }
|
|
|
void py_set_positionOfLine(QStyleOptionToolBar* theWrappedObject, QStyleOptionToolBar::ToolBarPosition positionOfLine){ theWrappedObject->positionOfLine = positionOfLine; }
|
|
|
QStyleOptionToolBar::ToolBarPosition py_get_positionOfLine(QStyleOptionToolBar* theWrappedObject){ return theWrappedObject->positionOfLine; }
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) {};
|
|
|
|
|
|
~PythonQtShell_QStyleOptionToolBox();
|
|
|
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QStyleOptionToolBox : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(SelectedPosition StyleOptionVersion StyleOptionType TabPosition )
|
|
|
enum SelectedPosition{
|
|
|
NotAdjacent = QStyleOptionToolBox::NotAdjacent, NextIsSelected = QStyleOptionToolBox::NextIsSelected, PreviousIsSelected = QStyleOptionToolBox::PreviousIsSelected};
|
|
|
enum StyleOptionVersion{
|
|
|
Version = QStyleOptionToolBox::Version};
|
|
|
enum StyleOptionType{
|
|
|
Type = QStyleOptionToolBox::Type};
|
|
|
enum TabPosition{
|
|
|
Beginning = QStyleOptionToolBox::Beginning, Middle = QStyleOptionToolBox::Middle, End = QStyleOptionToolBox::End, OnlyOneTab = QStyleOptionToolBox::OnlyOneTab};
|
|
|
public slots:
|
|
|
QStyleOptionToolBox* new_QStyleOptionToolBox();
|
|
|
QStyleOptionToolBox* new_QStyleOptionToolBox(const QStyleOptionToolBox& other);
|
|
|
void delete_QStyleOptionToolBox(QStyleOptionToolBox* obj) { delete obj; }
|
|
|
void py_set_text(QStyleOptionToolBox* theWrappedObject, QString text){ theWrappedObject->text = text; }
|
|
|
QString py_get_text(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->text; }
|
|
|
void py_set_selectedPosition(QStyleOptionToolBox* theWrappedObject, QStyleOptionToolBox::SelectedPosition selectedPosition){ theWrappedObject->selectedPosition = selectedPosition; }
|
|
|
QStyleOptionToolBox::SelectedPosition py_get_selectedPosition(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->selectedPosition; }
|
|
|
void py_set_position(QStyleOptionToolBox* theWrappedObject, QStyleOptionToolBox::TabPosition position){ theWrappedObject->position = position; }
|
|
|
QStyleOptionToolBox::TabPosition py_get_position(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->position; }
|
|
|
void py_set_icon(QStyleOptionToolBox* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; }
|
|
|
QIcon py_get_icon(QStyleOptionToolBox* theWrappedObject){ return theWrappedObject->icon; }
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QStyleOptionToolButton : public QStyleOptionToolButton
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QStyleOptionToolButton():QStyleOptionToolButton(),_wrapper(NULL) {};
|
|
|
PythonQtShell_QStyleOptionToolButton(const QStyleOptionToolButton& other):QStyleOptionToolButton(other),_wrapper(NULL) {};
|
|
|
PythonQtShell_QStyleOptionToolButton(int version):QStyleOptionToolButton(version),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QStyleOptionToolButton();
|
|
|
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QStyleOptionToolButton : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(StyleOptionVersion StyleOptionType ToolButtonFeature )
|
|
|
Q_FLAGS(ToolButtonFeatures )
|
|
|
enum StyleOptionVersion{
|
|
|
Version = QStyleOptionToolButton::Version};
|
|
|
enum StyleOptionType{
|
|
|
Type = QStyleOptionToolButton::Type};
|
|
|
enum ToolButtonFeature{
|
|
|
None = QStyleOptionToolButton::None, Arrow = QStyleOptionToolButton::Arrow, Menu = QStyleOptionToolButton::Menu, MenuButtonPopup = QStyleOptionToolButton::MenuButtonPopup, PopupDelay = QStyleOptionToolButton::PopupDelay, HasMenu = QStyleOptionToolButton::HasMenu};
|
|
|
Q_DECLARE_FLAGS(ToolButtonFeatures, ToolButtonFeature)
|
|
|
public slots:
|
|
|
QStyleOptionToolButton* new_QStyleOptionToolButton();
|
|
|
QStyleOptionToolButton* new_QStyleOptionToolButton(const QStyleOptionToolButton& other);
|
|
|
void delete_QStyleOptionToolButton(QStyleOptionToolButton* obj) { delete obj; }
|
|
|
void py_set_pos(QStyleOptionToolButton* theWrappedObject, QPoint pos){ theWrappedObject->pos = pos; }
|
|
|
QPoint py_get_pos(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->pos; }
|
|
|
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_toolButtonStyle(QStyleOptionToolButton* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle){ theWrappedObject->toolButtonStyle = toolButtonStyle; }
|
|
|
Qt::ToolButtonStyle py_get_toolButtonStyle(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->toolButtonStyle; }
|
|
|
void py_set_text(QStyleOptionToolButton* theWrappedObject, QString text){ theWrappedObject->text = text; }
|
|
|
QString py_get_text(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->text; }
|
|
|
void py_set_iconSize(QStyleOptionToolButton* theWrappedObject, QSize iconSize){ theWrappedObject->iconSize = iconSize; }
|
|
|
QSize py_get_iconSize(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->iconSize; }
|
|
|
void py_set_font(QStyleOptionToolButton* theWrappedObject, QFont font){ theWrappedObject->font = font; }
|
|
|
QFont py_get_font(QStyleOptionToolButton* theWrappedObject){ return theWrappedObject->font; }
|
|
|
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; }
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QStyleOptionViewItem : public QStyleOptionViewItem
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QStyleOptionViewItem():QStyleOptionViewItem(),_wrapper(NULL) {};
|
|
|
PythonQtShell_QStyleOptionViewItem(const QStyleOptionViewItem& other):QStyleOptionViewItem(other),_wrapper(NULL) {};
|
|
|
PythonQtShell_QStyleOptionViewItem(int version):QStyleOptionViewItem(version),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QStyleOptionViewItem();
|
|
|
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QStyleOptionViewItem : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(StyleOptionVersion StyleOptionType Position ViewItemPosition ViewItemFeature )
|
|
|
Q_FLAGS(ViewItemFeatures )
|
|
|
enum StyleOptionVersion{
|
|
|
Version = QStyleOptionViewItem::Version};
|
|
|
enum StyleOptionType{
|
|
|
Type = QStyleOptionViewItem::Type};
|
|
|
enum Position{
|
|
|
Left = QStyleOptionViewItem::Left, Right = QStyleOptionViewItem::Right, Top = QStyleOptionViewItem::Top, Bottom = QStyleOptionViewItem::Bottom};
|
|
|
enum ViewItemPosition{
|
|
|
Invalid = QStyleOptionViewItem::Invalid, Beginning = QStyleOptionViewItem::Beginning, Middle = QStyleOptionViewItem::Middle, End = QStyleOptionViewItem::End, OnlyOne = QStyleOptionViewItem::OnlyOne};
|
|
|
enum ViewItemFeature{
|
|
|
None = QStyleOptionViewItem::None, WrapText = QStyleOptionViewItem::WrapText, Alternate = QStyleOptionViewItem::Alternate, HasCheckIndicator = QStyleOptionViewItem::HasCheckIndicator, HasDisplay = QStyleOptionViewItem::HasDisplay, HasDecoration = QStyleOptionViewItem::HasDecoration};
|
|
|
Q_DECLARE_FLAGS(ViewItemFeatures, ViewItemFeature)
|
|
|
public slots:
|
|
|
QStyleOptionViewItem* new_QStyleOptionViewItem();
|
|
|
QStyleOptionViewItem* new_QStyleOptionViewItem(const QStyleOptionViewItem& other);
|
|
|
void delete_QStyleOptionViewItem(QStyleOptionViewItem* obj) { delete obj; }
|
|
|
void py_set_decorationSize(QStyleOptionViewItem* theWrappedObject, QSize decorationSize){ theWrappedObject->decorationSize = decorationSize; }
|
|
|
QSize py_get_decorationSize(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationSize; }
|
|
|
void py_set_index(QStyleOptionViewItem* theWrappedObject, QModelIndex index){ theWrappedObject->index = index; }
|
|
|
QModelIndex py_get_index(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->index; }
|
|
|
void py_set_features(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::ViewItemFeatures features){ theWrappedObject->features = features; }
|
|
|
QStyleOptionViewItem::ViewItemFeatures py_get_features(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->features; }
|
|
|
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_decorationPosition(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::Position decorationPosition){ theWrappedObject->decorationPosition = decorationPosition; }
|
|
|
QStyleOptionViewItem::Position py_get_decorationPosition(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->decorationPosition; }
|
|
|
void py_set_showDecorationSelected(QStyleOptionViewItem* theWrappedObject, bool showDecorationSelected){ theWrappedObject->showDecorationSelected = showDecorationSelected; }
|
|
|
bool py_get_showDecorationSelected(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->showDecorationSelected; }
|
|
|
void py_set_checkState(QStyleOptionViewItem* theWrappedObject, Qt::CheckState checkState){ theWrappedObject->checkState = checkState; }
|
|
|
Qt::CheckState py_get_checkState(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->checkState; }
|
|
|
void py_set_text(QStyleOptionViewItem* theWrappedObject, QString text){ theWrappedObject->text = text; }
|
|
|
QString py_get_text(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->text; }
|
|
|
void py_set_viewItemPosition(QStyleOptionViewItem* theWrappedObject, QStyleOptionViewItem::ViewItemPosition viewItemPosition){ theWrappedObject->viewItemPosition = viewItemPosition; }
|
|
|
QStyleOptionViewItem::ViewItemPosition py_get_viewItemPosition(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->viewItemPosition; }
|
|
|
void py_set_backgroundBrush(QStyleOptionViewItem* theWrappedObject, QBrush backgroundBrush){ theWrappedObject->backgroundBrush = backgroundBrush; }
|
|
|
QBrush py_get_backgroundBrush(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->backgroundBrush; }
|
|
|
void py_set_font(QStyleOptionViewItem* theWrappedObject, QFont font){ theWrappedObject->font = font; }
|
|
|
QFont py_get_font(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->font; }
|
|
|
const QWidget* py_get_widget(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->widget; }
|
|
|
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_locale(QStyleOptionViewItem* theWrappedObject, QLocale locale){ theWrappedObject->locale = locale; }
|
|
|
QLocale py_get_locale(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->locale; }
|
|
|
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_icon(QStyleOptionViewItem* theWrappedObject, QIcon icon){ theWrappedObject->icon = icon; }
|
|
|
QIcon py_get_icon(QStyleOptionViewItem* theWrappedObject){ return theWrappedObject->icon; }
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtWrapper_QStylePainter : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
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);
|
|
|
void drawComplexControl(QStylePainter* theWrappedObject, QStyle::ComplexControl cc, const QStyleOptionComplex& opt);
|
|
|
void drawControl(QStylePainter* theWrappedObject, QStyle::ControlElement ce, const QStyleOption& opt);
|
|
|
void drawItemPixmap(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPixmap& pixmap);
|
|
|
void drawItemText(QStylePainter* theWrappedObject, const QRect& r, int flags, const QPalette& pal, bool enabled, const QString& text, QPalette::ColorRole textRole = QPalette::NoRole);
|
|
|
void drawPrimitive(QStylePainter* theWrappedObject, QStyle::PrimitiveElement pe, const QStyleOption& opt);
|
|
|
QStyle* style(QStylePainter* theWrappedObject) const;
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QStylePlugin : public QStylePlugin
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QStylePlugin(QObject* parent = 0):QStylePlugin(parent),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QStylePlugin();
|
|
|
|
|
|
virtual void childEvent(QChildEvent* arg__1);
|
|
|
virtual QStyle* create(const QString& key);
|
|
|
virtual void customEvent(QEvent* arg__1);
|
|
|
virtual bool event(QEvent* arg__1);
|
|
|
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
|
|
|
virtual void timerEvent(QTimerEvent* arg__1);
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QStylePlugin : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
QStylePlugin* new_QStylePlugin(QObject* parent = 0);
|
|
|
void delete_QStylePlugin(QStylePlugin* obj) { delete obj; }
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QStyledItemDelegate : public QStyledItemDelegate
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QStyledItemDelegate(QObject* parent = 0):QStyledItemDelegate(parent),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QStyledItemDelegate();
|
|
|
|
|
|
virtual void childEvent(QChildEvent* arg__1);
|
|
|
virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const;
|
|
|
virtual void customEvent(QEvent* arg__1);
|
|
|
virtual void destroyEditor(QWidget* editor, const QModelIndex& index) const;
|
|
|
virtual QString displayText(const QVariant& value, const QLocale& locale) const;
|
|
|
virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index);
|
|
|
virtual bool event(QEvent* arg__1);
|
|
|
virtual bool eventFilter(QObject* object, QEvent* event);
|
|
|
virtual bool helpEvent(QHelpEvent* event, QAbstractItemView* view, const QStyleOptionViewItem& option, const QModelIndex& index);
|
|
|
virtual void initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const;
|
|
|
virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const;
|
|
|
virtual QVector<int > paintingRoles() const;
|
|
|
virtual void setEditorData(QWidget* editor, const QModelIndex& index) const;
|
|
|
virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const;
|
|
|
virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const;
|
|
|
virtual void timerEvent(QTimerEvent* arg__1);
|
|
|
virtual void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const;
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
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); }
|
|
|
inline QString promoted_displayText(const QVariant& value, const QLocale& locale) const { return QStyledItemDelegate::displayText(value, locale); }
|
|
|
inline bool promoted_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return QStyledItemDelegate::editorEvent(event, model, option, index); }
|
|
|
inline bool promoted_eventFilter(QObject* object, QEvent* event) { return QStyledItemDelegate::eventFilter(object, event); }
|
|
|
inline void promoted_initStyleOption(QStyleOptionViewItem* option, const QModelIndex& index) const { QStyledItemDelegate::initStyleOption(option, index); }
|
|
|
inline void promoted_paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const { QStyledItemDelegate::paint(painter, option, index); }
|
|
|
inline void promoted_setEditorData(QWidget* editor, const QModelIndex& index) const { QStyledItemDelegate::setEditorData(editor, index); }
|
|
|
inline void promoted_setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const { QStyledItemDelegate::setModelData(editor, model, index); }
|
|
|
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
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
QStyledItemDelegate* new_QStyledItemDelegate(QObject* parent = 0);
|
|
|
void delete_QStyledItemDelegate(QStyledItemDelegate* obj) { delete obj; }
|
|
|
QWidget* createEditor(QStyledItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const;
|
|
|
QString displayText(QStyledItemDelegate* theWrappedObject, const QVariant& value, const QLocale& locale) const;
|
|
|
bool editorEvent(QStyledItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index);
|
|
|
bool eventFilter(QStyledItemDelegate* theWrappedObject, QObject* object, QEvent* event);
|
|
|
void initStyleOption(QStyledItemDelegate* theWrappedObject, QStyleOptionViewItem* option, const QModelIndex& index) const;
|
|
|
QItemEditorFactory* itemEditorFactory(QStyledItemDelegate* theWrappedObject) const;
|
|
|
void paint(QStyledItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const;
|
|
|
void setEditorData(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const;
|
|
|
void setItemEditorFactory(QStyledItemDelegate* theWrappedObject, QItemEditorFactory* factory);
|
|
|
void setModelData(QStyledItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const;
|
|
|
QSize sizeHint(QStyledItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const;
|
|
|
void updateEditorGeometry(QStyledItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const;
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QSwipeGesture : public QSwipeGesture
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QSwipeGesture(QObject* parent = 0):QSwipeGesture(parent),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QSwipeGesture();
|
|
|
|
|
|
virtual void childEvent(QChildEvent* arg__1);
|
|
|
virtual void customEvent(QEvent* arg__1);
|
|
|
virtual bool event(QEvent* arg__1);
|
|
|
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
|
|
|
virtual void timerEvent(QTimerEvent* arg__1);
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QSwipeGesture : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
QSwipeGesture* new_QSwipeGesture(QObject* parent = 0);
|
|
|
void delete_QSwipeGesture(QSwipeGesture* obj) { delete obj; }
|
|
|
QSwipeGesture::SwipeDirection horizontalDirection(QSwipeGesture* theWrappedObject) const;
|
|
|
void setSwipeAngle(QSwipeGesture* theWrappedObject, qreal value);
|
|
|
qreal swipeAngle(QSwipeGesture* theWrappedObject) const;
|
|
|
QSwipeGesture::SwipeDirection verticalDirection(QSwipeGesture* theWrappedObject) const;
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QSyntaxHighlighter : public QSyntaxHighlighter
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QSyntaxHighlighter(QObject* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {};
|
|
|
PythonQtShell_QSyntaxHighlighter(QTextDocument* parent):QSyntaxHighlighter(parent),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QSyntaxHighlighter();
|
|
|
|
|
|
virtual void childEvent(QChildEvent* arg__1);
|
|
|
virtual void customEvent(QEvent* arg__1);
|
|
|
virtual bool event(QEvent* arg__1);
|
|
|
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
|
|
|
virtual void highlightBlock(const QString& text);
|
|
|
virtual void timerEvent(QTimerEvent* arg__1);
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QSyntaxHighlighter : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
QSyntaxHighlighter* new_QSyntaxHighlighter(QObject* parent);
|
|
|
QSyntaxHighlighter* new_QSyntaxHighlighter(QTextDocument* parent);
|
|
|
void delete_QSyntaxHighlighter(QSyntaxHighlighter* obj) { delete obj; }
|
|
|
QTextDocument* document(QSyntaxHighlighter* theWrappedObject) const;
|
|
|
void setDocument(QSyntaxHighlighter* theWrappedObject, QTextDocument* doc);
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QSystemTrayIcon : public QSystemTrayIcon
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QSystemTrayIcon(QObject* parent = 0):QSystemTrayIcon(parent),_wrapper(NULL) {};
|
|
|
PythonQtShell_QSystemTrayIcon(const QIcon& icon, QObject* parent = 0):QSystemTrayIcon(icon, parent),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QSystemTrayIcon();
|
|
|
|
|
|
virtual void childEvent(QChildEvent* arg__1);
|
|
|
virtual void customEvent(QEvent* arg__1);
|
|
|
virtual bool event(QEvent* event);
|
|
|
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
|
|
|
virtual void timerEvent(QTimerEvent* arg__1);
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtPublicPromoter_QSystemTrayIcon : public QSystemTrayIcon
|
|
|
{ public:
|
|
|
inline bool promoted_event(QEvent* event) { return QSystemTrayIcon::event(event); }
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QSystemTrayIcon : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
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};
|
|
|
public slots:
|
|
|
QSystemTrayIcon* new_QSystemTrayIcon(QObject* parent = 0);
|
|
|
QSystemTrayIcon* new_QSystemTrayIcon(const QIcon& icon, QObject* parent = 0);
|
|
|
void delete_QSystemTrayIcon(QSystemTrayIcon* obj) { delete obj; }
|
|
|
QMenu* contextMenu(QSystemTrayIcon* theWrappedObject) const;
|
|
|
bool event(QSystemTrayIcon* theWrappedObject, QEvent* event);
|
|
|
QRect geometry(QSystemTrayIcon* theWrappedObject) const;
|
|
|
QIcon icon(QSystemTrayIcon* theWrappedObject) const;
|
|
|
bool static_QSystemTrayIcon_isSystemTrayAvailable();
|
|
|
bool isVisible(QSystemTrayIcon* theWrappedObject) const;
|
|
|
void setContextMenu(QSystemTrayIcon* theWrappedObject, QMenu* menu);
|
|
|
void setIcon(QSystemTrayIcon* theWrappedObject, const QIcon& icon);
|
|
|
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;
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QTabBar : public QTabBar
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QTabBar(QWidget* parent = 0):QTabBar(parent),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QTabBar();
|
|
|
|
|
|
virtual void actionEvent(QActionEvent* arg__1);
|
|
|
virtual void changeEvent(QEvent* arg__1);
|
|
|
virtual void childEvent(QChildEvent* arg__1);
|
|
|
virtual void closeEvent(QCloseEvent* arg__1);
|
|
|
virtual void contextMenuEvent(QContextMenuEvent* arg__1);
|
|
|
virtual void customEvent(QEvent* arg__1);
|
|
|
virtual int devType() const;
|
|
|
virtual void dragEnterEvent(QDragEnterEvent* arg__1);
|
|
|
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
|
|
|
virtual void dragMoveEvent(QDragMoveEvent* arg__1);
|
|
|
virtual void dropEvent(QDropEvent* arg__1);
|
|
|
virtual void enterEvent(QEvent* arg__1);
|
|
|
virtual bool event(QEvent* arg__1);
|
|
|
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
|
|
|
virtual void focusInEvent(QFocusEvent* arg__1);
|
|
|
virtual bool focusNextPrevChild(bool next);
|
|
|
virtual void focusOutEvent(QFocusEvent* arg__1);
|
|
|
virtual bool hasHeightForWidth() const;
|
|
|
virtual int heightForWidth(int arg__1) const;
|
|
|
virtual void hideEvent(QHideEvent* arg__1);
|
|
|
virtual void initPainter(QPainter* painter) const;
|
|
|
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 leaveEvent(QEvent* arg__1);
|
|
|
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
|
|
|
virtual QSize minimumTabSizeHint(int index) 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 bool nativeEvent(const QByteArray& eventType, void* message, long* result);
|
|
|
virtual QPaintEngine* paintEngine() const;
|
|
|
virtual void paintEvent(QPaintEvent* arg__1);
|
|
|
virtual QPaintDevice* redirected(QPoint* offset) const;
|
|
|
virtual void resizeEvent(QResizeEvent* arg__1);
|
|
|
virtual QPainter* sharedPainter() const;
|
|
|
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);
|
|
|
virtual void timerEvent(QTimerEvent* arg__1);
|
|
|
virtual void wheelEvent(QWheelEvent* event);
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtPublicPromoter_QTabBar : public QTabBar
|
|
|
{ public:
|
|
|
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); }
|
|
|
inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QTabBar::keyPressEvent(arg__1); }
|
|
|
inline QSize promoted_minimumTabSizeHint(int index) const { return QTabBar::minimumTabSizeHint(index); }
|
|
|
inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QTabBar::mouseMoveEvent(arg__1); }
|
|
|
inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QTabBar::mousePressEvent(arg__1); }
|
|
|
inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QTabBar::mouseReleaseEvent(arg__1); }
|
|
|
inline void promoted_paintEvent(QPaintEvent* arg__1) { QTabBar::paintEvent(arg__1); }
|
|
|
inline void promoted_resizeEvent(QResizeEvent* arg__1) { QTabBar::resizeEvent(arg__1); }
|
|
|
inline void promoted_showEvent(QShowEvent* arg__1) { QTabBar::showEvent(arg__1); }
|
|
|
inline void promoted_tabInserted(int index) { QTabBar::tabInserted(index); }
|
|
|
inline void promoted_tabLayoutChange() { QTabBar::tabLayoutChange(); }
|
|
|
inline void promoted_tabRemoved(int index) { QTabBar::tabRemoved(index); }
|
|
|
inline QSize promoted_tabSizeHint(int index) const { return QTabBar::tabSizeHint(index); }
|
|
|
inline void promoted_wheelEvent(QWheelEvent* event) { QTabBar::wheelEvent(event); }
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QTabBar : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(ButtonPosition SelectionBehavior )
|
|
|
enum ButtonPosition{
|
|
|
LeftSide = QTabBar::LeftSide, RightSide = QTabBar::RightSide};
|
|
|
enum SelectionBehavior{
|
|
|
SelectLeftTab = QTabBar::SelectLeftTab, SelectRightTab = QTabBar::SelectRightTab, SelectPreviousTab = QTabBar::SelectPreviousTab};
|
|
|
public slots:
|
|
|
QTabBar* new_QTabBar(QWidget* parent = 0);
|
|
|
void delete_QTabBar(QTabBar* obj) { delete obj; }
|
|
|
int addTab(QTabBar* theWrappedObject, const QIcon& icon, const QString& text);
|
|
|
int addTab(QTabBar* theWrappedObject, const QString& text);
|
|
|
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);
|
|
|
bool expanding(QTabBar* theWrappedObject) const;
|
|
|
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;
|
|
|
QSize minimumTabSizeHint(QTabBar* theWrappedObject, int index) const;
|
|
|
void mouseMoveEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1);
|
|
|
void mousePressEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1);
|
|
|
void mouseReleaseEvent(QTabBar* theWrappedObject, QMouseEvent* arg__1);
|
|
|
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);
|
|
|
QTabBar::SelectionBehavior selectionBehaviorOnRemove(QTabBar* theWrappedObject) const;
|
|
|
void setDocumentMode(QTabBar* theWrappedObject, bool set);
|
|
|
void setDrawBase(QTabBar* theWrappedObject, bool drawTheBase);
|
|
|
void setElideMode(QTabBar* theWrappedObject, Qt::TextElideMode arg__1);
|
|
|
void setExpanding(QTabBar* theWrappedObject, bool enabled);
|
|
|
void setIconSize(QTabBar* theWrappedObject, const QSize& size);
|
|
|
void setMovable(QTabBar* theWrappedObject, bool movable);
|
|
|
void setSelectionBehaviorOnRemove(QTabBar* theWrappedObject, QTabBar::SelectionBehavior behavior);
|
|
|
void setShape(QTabBar* theWrappedObject, QTabBar::Shape shape);
|
|
|
void setTabButton(QTabBar* theWrappedObject, int index, QTabBar::ButtonPosition position, QWidget* widget);
|
|
|
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);
|
|
|
void setUsesScrollButtons(QTabBar* theWrappedObject, bool useButtons);
|
|
|
QTabBar::Shape shape(QTabBar* theWrappedObject) const;
|
|
|
void showEvent(QTabBar* theWrappedObject, QShowEvent* arg__1);
|
|
|
QSize sizeHint(QTabBar* theWrappedObject) const;
|
|
|
int tabAt(QTabBar* theWrappedObject, const QPoint& pos) const;
|
|
|
QWidget* tabButton(QTabBar* theWrappedObject, int index, QTabBar::ButtonPosition position) const;
|
|
|
QVariant tabData(QTabBar* theWrappedObject, int index) const;
|
|
|
QIcon tabIcon(QTabBar* theWrappedObject, int index) const;
|
|
|
void tabInserted(QTabBar* theWrappedObject, int index);
|
|
|
void tabLayoutChange(QTabBar* theWrappedObject);
|
|
|
QRect tabRect(QTabBar* theWrappedObject, int index) const;
|
|
|
void tabRemoved(QTabBar* theWrappedObject, int index);
|
|
|
QSize tabSizeHint(QTabBar* theWrappedObject, int index) const;
|
|
|
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;
|
|
|
bool usesScrollButtons(QTabBar* theWrappedObject) const;
|
|
|
void wheelEvent(QTabBar* theWrappedObject, QWheelEvent* event);
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QTabWidget : public QTabWidget
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QTabWidget(QWidget* parent = 0):QTabWidget(parent),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QTabWidget();
|
|
|
|
|
|
virtual void actionEvent(QActionEvent* arg__1);
|
|
|
virtual void changeEvent(QEvent* arg__1);
|
|
|
virtual void childEvent(QChildEvent* arg__1);
|
|
|
virtual void closeEvent(QCloseEvent* arg__1);
|
|
|
virtual void contextMenuEvent(QContextMenuEvent* arg__1);
|
|
|
virtual void customEvent(QEvent* arg__1);
|
|
|
virtual int devType() const;
|
|
|
virtual void dragEnterEvent(QDragEnterEvent* arg__1);
|
|
|
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1);
|
|
|
virtual void dragMoveEvent(QDragMoveEvent* arg__1);
|
|
|
virtual void dropEvent(QDropEvent* arg__1);
|
|
|
virtual void enterEvent(QEvent* arg__1);
|
|
|
virtual bool event(QEvent* arg__1);
|
|
|
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
|
|
|
virtual void focusInEvent(QFocusEvent* arg__1);
|
|
|
virtual bool focusNextPrevChild(bool next);
|
|
|
virtual void focusOutEvent(QFocusEvent* arg__1);
|
|
|
virtual bool hasHeightForWidth() const;
|
|
|
virtual int heightForWidth(int width) const;
|
|
|
virtual void hideEvent(QHideEvent* arg__1);
|
|
|
virtual void initPainter(QPainter* painter) const;
|
|
|
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 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 bool nativeEvent(const QByteArray& eventType, void* message, long* result);
|
|
|
virtual QPaintEngine* paintEngine() const;
|
|
|
virtual void paintEvent(QPaintEvent* arg__1);
|
|
|
virtual QPaintDevice* redirected(QPoint* offset) const;
|
|
|
virtual void resizeEvent(QResizeEvent* arg__1);
|
|
|
virtual QPainter* sharedPainter() const;
|
|
|
virtual void showEvent(QShowEvent* arg__1);
|
|
|
virtual void tabInserted(int index);
|
|
|
virtual void tabRemoved(int index);
|
|
|
virtual void tabletEvent(QTabletEvent* arg__1);
|
|
|
virtual void timerEvent(QTimerEvent* arg__1);
|
|
|
virtual void wheelEvent(QWheelEvent* arg__1);
|
|
|
|
|
|
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 bool promoted_hasHeightForWidth() const { return QTabWidget::hasHeightForWidth(); }
|
|
|
inline int promoted_heightForWidth(int width) const { return QTabWidget::heightForWidth(width); }
|
|
|
inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QTabWidget::keyPressEvent(arg__1); }
|
|
|
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); }
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QTabWidget : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
QTabWidget* new_QTabWidget(QWidget* parent = 0);
|
|
|
void delete_QTabWidget(QTabWidget* obj) { delete obj; }
|
|
|
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);
|
|
|
void clear(QTabWidget* theWrappedObject);
|
|
|
QWidget* cornerWidget(QTabWidget* theWrappedObject, Qt::Corner corner = Qt::TopRightCorner) const;
|
|
|
int count(QTabWidget* theWrappedObject) const;
|
|
|
int currentIndex(QTabWidget* theWrappedObject) const;
|
|
|
QWidget* currentWidget(QTabWidget* theWrappedObject) const;
|
|
|
bool documentMode(QTabWidget* theWrappedObject) const;
|
|
|
Qt::TextElideMode elideMode(QTabWidget* theWrappedObject) const;
|
|
|
bool event(QTabWidget* theWrappedObject, QEvent* arg__1);
|
|
|
bool hasHeightForWidth(QTabWidget* theWrappedObject) const;
|
|
|
int heightForWidth(QTabWidget* theWrappedObject, int width) const;
|
|
|
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);
|
|
|
bool isMovable(QTabWidget* theWrappedObject) const;
|
|
|
bool isTabEnabled(QTabWidget* theWrappedObject, int index) const;
|
|
|
void keyPressEvent(QTabWidget* theWrappedObject, QKeyEvent* arg__1);
|
|
|
QSize minimumSizeHint(QTabWidget* theWrappedObject) const;
|
|
|
void paintEvent(QTabWidget* theWrappedObject, QPaintEvent* arg__1);
|
|
|
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);
|
|
|
void setElideMode(QTabWidget* theWrappedObject, Qt::TextElideMode arg__1);
|
|
|
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);
|
|
|
void setTabToolTip(QTabWidget* theWrappedObject, int index, const QString& tip);
|
|
|
void setTabWhatsThis(QTabWidget* theWrappedObject, int index, const QString& text);
|
|
|
void setTabsClosable(QTabWidget* theWrappedObject, bool closeable);
|
|
|
void setUsesScrollButtons(QTabWidget* theWrappedObject, bool useButtons);
|
|
|
void showEvent(QTabWidget* theWrappedObject, QShowEvent* arg__1);
|
|
|
QSize sizeHint(QTabWidget* theWrappedObject) const;
|
|
|
QTabBar* tabBar(QTabWidget* theWrappedObject) const;
|
|
|
QIcon tabIcon(QTabWidget* theWrappedObject, int index) const;
|
|
|
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;
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QTableView : public QTableView
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QTableView(QWidget* parent = 0):QTableView(parent),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QTableView();
|
|
|
|
|
|
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);
|
|
|
virtual void commitData(QWidget* editor);
|
|
|
virtual void contextMenuEvent(QContextMenuEvent* arg__1);
|
|
|
virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous);
|
|
|
virtual void customEvent(QEvent* arg__1);
|
|
|
virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector<int >& roles);
|
|
|
virtual int devType() const;
|
|
|
virtual void doItemsLayout();
|
|
|
virtual void dragEnterEvent(QDragEnterEvent* event);
|
|
|
virtual void dragLeaveEvent(QDragLeaveEvent* event);
|
|
|
virtual void dragMoveEvent(QDragMoveEvent* event);
|
|
|
virtual void dropEvent(QDropEvent* event);
|
|
|
virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event);
|
|
|
virtual void editorDestroyed(QObject* editor);
|
|
|
virtual void enterEvent(QEvent* arg__1);
|
|
|
virtual bool event(QEvent* event);
|
|
|
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
|
|
|
virtual void focusInEvent(QFocusEvent* event);
|
|
|
virtual bool focusNextPrevChild(bool next);
|
|
|
virtual void focusOutEvent(QFocusEvent* event);
|
|
|
virtual bool hasHeightForWidth() const;
|
|
|
virtual int heightForWidth(int arg__1) const;
|
|
|
virtual void hideEvent(QHideEvent* arg__1);
|
|
|
virtual int horizontalOffset() const;
|
|
|
virtual void horizontalScrollbarAction(int action);
|
|
|
virtual void horizontalScrollbarValueChanged(int value);
|
|
|
virtual QModelIndex indexAt(const QPoint& p) const;
|
|
|
virtual void initPainter(QPainter* painter) 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);
|
|
|
virtual void leaveEvent(QEvent* arg__1);
|
|
|
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) 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);
|
|
|
virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
|
|
|
virtual QPaintEngine* paintEngine() const;
|
|
|
virtual void paintEvent(QPaintEvent* e);
|
|
|
virtual QPaintDevice* redirected(QPoint* offset) const;
|
|
|
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);
|
|
|
virtual void setupViewport(QWidget* viewport);
|
|
|
virtual QPainter* sharedPainter() const;
|
|
|
virtual void showEvent(QShowEvent* arg__1);
|
|
|
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 QSize viewportSizeHint() const;
|
|
|
virtual QRect visualRect(const QModelIndex& index) const;
|
|
|
virtual QRegion visualRegionForSelection(const QItemSelection& selection) const;
|
|
|
virtual void wheelEvent(QWheelEvent* arg__1);
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtPublicPromoter_QTableView : public QTableView
|
|
|
{ public:
|
|
|
inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QTableView::currentChanged(current, previous); }
|
|
|
inline void promoted_doItemsLayout() { QTableView::doItemsLayout(); }
|
|
|
inline int promoted_horizontalOffset() const { return QTableView::horizontalOffset(); }
|
|
|
inline void promoted_horizontalScrollbarAction(int action) { QTableView::horizontalScrollbarAction(action); }
|
|
|
inline QModelIndex promoted_indexAt(const QPoint& p) const { return QTableView::indexAt(p); }
|
|
|
inline bool promoted_isIndexHidden(const QModelIndex& index) const { return QTableView::isIndexHidden(index); }
|
|
|
inline void promoted_paintEvent(QPaintEvent* e) { QTableView::paintEvent(e); }
|
|
|
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(); }
|
|
|
inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QTableView::selectionChanged(selected, deselected); }
|
|
|
inline void promoted_setModel(QAbstractItemModel* model) { QTableView::setModel(model); }
|
|
|
inline void promoted_setRootIndex(const QModelIndex& index) { QTableView::setRootIndex(index); }
|
|
|
inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QTableView::setSelection(rect, command); }
|
|
|
inline void promoted_setSelectionModel(QItemSelectionModel* selectionModel) { QTableView::setSelectionModel(selectionModel); }
|
|
|
inline int promoted_sizeHintForColumn(int column) const { return QTableView::sizeHintForColumn(column); }
|
|
|
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(); }
|
|
|
inline int promoted_verticalOffset() const { return QTableView::verticalOffset(); }
|
|
|
inline void promoted_verticalScrollbarAction(int action) { QTableView::verticalScrollbarAction(action); }
|
|
|
inline QStyleOptionViewItem promoted_viewOptions() const { return QTableView::viewOptions(); }
|
|
|
inline QRect promoted_visualRect(const QModelIndex& index) const { return QTableView::visualRect(index); }
|
|
|
inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return QTableView::visualRegionForSelection(selection); }
|
|
|
};
|
|
|
|
|
|
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);
|
|
|
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);
|
|
|
void doItemsLayout(QTableView* theWrappedObject);
|
|
|
Qt::PenStyle gridStyle(QTableView* theWrappedObject) const;
|
|
|
QHeaderView* horizontalHeader(QTableView* theWrappedObject) const;
|
|
|
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;
|
|
|
bool isSortingEnabled(QTableView* theWrappedObject) const;
|
|
|
void paintEvent(QTableView* theWrappedObject, QPaintEvent* e);
|
|
|
int rowAt(QTableView* theWrappedObject, int y) const;
|
|
|
int rowHeight(QTableView* theWrappedObject, int row) const;
|
|
|
int rowSpan(QTableView* theWrappedObject, int row, int column) const;
|
|
|
int rowViewportPosition(QTableView* theWrappedObject, int row) const;
|
|
|
void scrollContentsBy(QTableView* theWrappedObject, int dx, int dy);
|
|
|
void scrollTo(QTableView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible);
|
|
|
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);
|
|
|
void setHorizontalHeader(QTableView* theWrappedObject, QHeaderView* header);
|
|
|
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);
|
|
|
void setSelection(QTableView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command);
|
|
|
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;
|
|
|
int sizeHintForColumn(QTableView* theWrappedObject, int column) const;
|
|
|
int sizeHintForRow(QTableView* theWrappedObject, int row) const;
|
|
|
void sortByColumn(QTableView* theWrappedObject, int column, Qt::SortOrder order);
|
|
|
void timerEvent(QTableView* theWrappedObject, QTimerEvent* event);
|
|
|
void updateGeometries(QTableView* theWrappedObject);
|
|
|
QHeaderView* verticalHeader(QTableView* theWrappedObject) const;
|
|
|
int verticalOffset(QTableView* theWrappedObject) const;
|
|
|
void verticalScrollbarAction(QTableView* theWrappedObject, int action);
|
|
|
QStyleOptionViewItem viewOptions(QTableView* theWrappedObject) const;
|
|
|
QRect visualRect(QTableView* theWrappedObject, const QModelIndex& index) const;
|
|
|
QRegion visualRegionForSelection(QTableView* theWrappedObject, const QItemSelection& selection) const;
|
|
|
bool wordWrap(QTableView* theWrappedObject) const;
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) {};
|
|
|
|
|
|
~PythonQtShell_QTableWidget();
|
|
|
|
|
|
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);
|
|
|
virtual void commitData(QWidget* editor);
|
|
|
virtual void contextMenuEvent(QContextMenuEvent* arg__1);
|
|
|
virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous);
|
|
|
virtual void customEvent(QEvent* arg__1);
|
|
|
virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector<int >& roles);
|
|
|
virtual int devType() const;
|
|
|
virtual void doItemsLayout();
|
|
|
virtual void dragEnterEvent(QDragEnterEvent* event);
|
|
|
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);
|
|
|
virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event);
|
|
|
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);
|
|
|
virtual bool focusNextPrevChild(bool next);
|
|
|
virtual void focusOutEvent(QFocusEvent* event);
|
|
|
virtual bool hasHeightForWidth() const;
|
|
|
virtual int heightForWidth(int arg__1) const;
|
|
|
virtual void hideEvent(QHideEvent* arg__1);
|
|
|
virtual int horizontalOffset() const;
|
|
|
virtual void horizontalScrollbarAction(int action);
|
|
|
virtual void horizontalScrollbarValueChanged(int value);
|
|
|
virtual QModelIndex indexAt(const QPoint& p) const;
|
|
|
virtual void initPainter(QPainter* painter) 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);
|
|
|
virtual void leaveEvent(QEvent* arg__1);
|
|
|
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
|
|
|
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);
|
|
|
virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
|
|
|
virtual QPaintEngine* paintEngine() const;
|
|
|
virtual void paintEvent(QPaintEvent* e);
|
|
|
virtual QPaintDevice* redirected(QPoint* offset) const;
|
|
|
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);
|
|
|
virtual void setupViewport(QWidget* viewport);
|
|
|
virtual QPainter* sharedPainter() const;
|
|
|
virtual void showEvent(QShowEvent* arg__1);
|
|
|
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 QSize viewportSizeHint() const;
|
|
|
virtual QRect visualRect(const QModelIndex& index) const;
|
|
|
virtual QRegion visualRegionForSelection(const QItemSelection& selection) const;
|
|
|
virtual void wheelEvent(QWheelEvent* arg__1);
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtPublicPromoter_QTableWidget : public QTableWidget
|
|
|
{ public:
|
|
|
inline void promoted_dropEvent(QDropEvent* event) { QTableWidget::dropEvent(event); }
|
|
|
inline bool promoted_dropMimeData(int row, int column, const QMimeData* data, Qt::DropAction action) { return QTableWidget::dropMimeData(row, column, data, action); }
|
|
|
inline bool promoted_event(QEvent* e) { return QTableWidget::event(e); }
|
|
|
inline QStringList promoted_mimeTypes() const { return QTableWidget::mimeTypes(); }
|
|
|
inline Qt::DropActions promoted_supportedDropActions() const { return QTableWidget::supportedDropActions(); }
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QTableWidget : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
QTableWidget* new_QTableWidget(QWidget* parent = 0);
|
|
|
QTableWidget* new_QTableWidget(int rows, int columns, QWidget* parent = 0);
|
|
|
void delete_QTableWidget(QTableWidget* obj) { delete obj; }
|
|
|
QWidget* cellWidget(QTableWidget* theWrappedObject, int row, int column) const;
|
|
|
void closePersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item);
|
|
|
int column(QTableWidget* theWrappedObject, const QTableWidgetItem* item) const;
|
|
|
int columnCount(QTableWidget* theWrappedObject) const;
|
|
|
int currentColumn(QTableWidget* theWrappedObject) const;
|
|
|
QTableWidgetItem* currentItem(QTableWidget* theWrappedObject) const;
|
|
|
int currentRow(QTableWidget* theWrappedObject) const;
|
|
|
void dropEvent(QTableWidget* theWrappedObject, QDropEvent* event);
|
|
|
bool dropMimeData(QTableWidget* theWrappedObject, int row, int column, const QMimeData* data, Qt::DropAction action);
|
|
|
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;
|
|
|
QTableWidgetItem* itemAt(QTableWidget* theWrappedObject, const QPoint& p) const;
|
|
|
QTableWidgetItem* itemAt(QTableWidget* theWrappedObject, int x, int y) const;
|
|
|
const QTableWidgetItem* itemPrototype(QTableWidget* theWrappedObject) const;
|
|
|
QStringList mimeTypes(QTableWidget* theWrappedObject) const;
|
|
|
void openPersistentEditor(QTableWidget* theWrappedObject, QTableWidgetItem* item);
|
|
|
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) const;
|
|
|
QList<QTableWidgetSelectionRange > selectedRanges(QTableWidget* theWrappedObject) const;
|
|
|
void setCellWidget(QTableWidget* theWrappedObject, int row, int column, QWidget* widget);
|
|
|
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);
|
|
|
void setItemPrototype(QTableWidget* theWrappedObject, const QTableWidgetItem* item);
|
|
|
void setRangeSelected(QTableWidget* theWrappedObject, const QTableWidgetSelectionRange& range, bool select);
|
|
|
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;
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QTableWidgetItem : public QTableWidgetItem
|
|
|
{
|
|
|
public:
|
|
|
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) {};
|
|
|
|
|
|
~PythonQtShell_QTableWidgetItem();
|
|
|
|
|
|
virtual QTableWidgetItem* clone() const;
|
|
|
virtual QVariant data(int role) const;
|
|
|
virtual bool __lt__(const QTableWidgetItem& other) const;
|
|
|
virtual void read(QDataStream& in);
|
|
|
virtual void setData(int role, const QVariant& value);
|
|
|
virtual void write(QDataStream& out) const;
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
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
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(ItemType )
|
|
|
enum ItemType{
|
|
|
Type = QTableWidgetItem::Type, UserType = QTableWidgetItem::UserType};
|
|
|
public slots:
|
|
|
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; }
|
|
|
QBrush background(QTableWidgetItem* theWrappedObject) const;
|
|
|
Qt::CheckState checkState(QTableWidgetItem* theWrappedObject) const;
|
|
|
QTableWidgetItem* clone(QTableWidgetItem* theWrappedObject) const;
|
|
|
int column(QTableWidgetItem* theWrappedObject) const;
|
|
|
QVariant data(QTableWidgetItem* theWrappedObject, int role) const;
|
|
|
Qt::ItemFlags flags(QTableWidgetItem* theWrappedObject) const;
|
|
|
QFont font(QTableWidgetItem* theWrappedObject) const;
|
|
|
QBrush foreground(QTableWidgetItem* theWrappedObject) const;
|
|
|
QIcon icon(QTableWidgetItem* theWrappedObject) const;
|
|
|
bool isSelected(QTableWidgetItem* theWrappedObject) const;
|
|
|
int row(QTableWidgetItem* theWrappedObject) const;
|
|
|
void setBackground(QTableWidgetItem* theWrappedObject, const QBrush& brush);
|
|
|
void setCheckState(QTableWidgetItem* theWrappedObject, Qt::CheckState state);
|
|
|
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;
|
|
|
QString text(QTableWidgetItem* theWrappedObject) const;
|
|
|
int textAlignment(QTableWidgetItem* theWrappedObject) const;
|
|
|
QString toolTip(QTableWidgetItem* theWrappedObject) const;
|
|
|
int type(QTableWidgetItem* theWrappedObject) const;
|
|
|
QString whatsThis(QTableWidgetItem* theWrappedObject) const;
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtWrapper_QTableWidgetSelectionRange : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
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;
|
|
|
int leftColumn(QTableWidgetSelectionRange* theWrappedObject) const;
|
|
|
int rightColumn(QTableWidgetSelectionRange* theWrappedObject) const;
|
|
|
int rowCount(QTableWidgetSelectionRange* theWrappedObject) const;
|
|
|
int topRow(QTableWidgetSelectionRange* theWrappedObject) const;
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QTabletEvent : public QTabletEvent
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, 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, device, pointerType, pressure, xTilt, yTilt, tangentialPressure, rotation, z, keyState, uniqueID),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QTabletEvent();
|
|
|
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QTabletEvent : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(PointerType TabletDevice )
|
|
|
enum PointerType{
|
|
|
UnknownPointer = QTabletEvent::UnknownPointer, Pen = QTabletEvent::Pen, Cursor = QTabletEvent::Cursor, Eraser = QTabletEvent::Eraser};
|
|
|
enum TabletDevice{
|
|
|
NoDevice = QTabletEvent::NoDevice, Puck = QTabletEvent::Puck, Stylus = QTabletEvent::Stylus, Airbrush = QTabletEvent::Airbrush, FourDMouse = QTabletEvent::FourDMouse, XFreeEraser = QTabletEvent::XFreeEraser, RotationStylus = QTabletEvent::RotationStylus};
|
|
|
public slots:
|
|
|
QTabletEvent* new_QTabletEvent(QEvent::Type t, const QPointF& pos, const QPointF& globalPos, 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; }
|
|
|
QTabletEvent::TabletDevice device(QTabletEvent* theWrappedObject) const;
|
|
|
QPoint globalPos(QTabletEvent* theWrappedObject) const;
|
|
|
const QPointF* globalPosF(QTabletEvent* theWrappedObject) const;
|
|
|
int globalX(QTabletEvent* theWrappedObject) const;
|
|
|
int globalY(QTabletEvent* theWrappedObject) const;
|
|
|
qreal hiResGlobalX(QTabletEvent* theWrappedObject) const;
|
|
|
qreal hiResGlobalY(QTabletEvent* theWrappedObject) const;
|
|
|
QTabletEvent::PointerType pointerType(QTabletEvent* theWrappedObject) const;
|
|
|
QPoint pos(QTabletEvent* theWrappedObject) const;
|
|
|
const QPointF* posF(QTabletEvent* theWrappedObject) const;
|
|
|
qreal pressure(QTabletEvent* theWrappedObject) const;
|
|
|
qreal rotation(QTabletEvent* theWrappedObject) const;
|
|
|
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;
|
|
|
int yTilt(QTabletEvent* theWrappedObject) const;
|
|
|
int z(QTabletEvent* theWrappedObject) const;
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtWrapper_QTextBlock : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
QTextBlock* new_QTextBlock();
|
|
|
QTextBlock* new_QTextBlock(const QTextBlock& o);
|
|
|
void delete_QTextBlock(QTextBlock* obj) { delete obj; }
|
|
|
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);
|
|
|
bool contains(QTextBlock* theWrappedObject, int position) const;
|
|
|
const QTextDocument* document(QTextBlock* theWrappedObject) const;
|
|
|
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;
|
|
|
QTextBlock next(QTextBlock* theWrappedObject) const;
|
|
|
bool __ne__(QTextBlock* theWrappedObject, const QTextBlock& o) const;
|
|
|
bool __lt__(QTextBlock* theWrappedObject, const QTextBlock& o) const;
|
|
|
bool __eq__(QTextBlock* theWrappedObject, const QTextBlock& o) const;
|
|
|
int position(QTextBlock* theWrappedObject) const;
|
|
|
QTextBlock previous(QTextBlock* theWrappedObject) const;
|
|
|
int revision(QTextBlock* theWrappedObject) const;
|
|
|
void setLineCount(QTextBlock* theWrappedObject, int count);
|
|
|
void setRevision(QTextBlock* theWrappedObject, int rev);
|
|
|
void setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data);
|
|
|
void setUserState(QTextBlock* theWrappedObject, int state);
|
|
|
void setVisible(QTextBlock* theWrappedObject, bool visible);
|
|
|
QString text(QTextBlock* theWrappedObject) const;
|
|
|
Qt::LayoutDirection textDirection(QTextBlock* theWrappedObject) const;
|
|
|
QTextList* textList(QTextBlock* theWrappedObject) const;
|
|
|
QTextBlockUserData* userData(QTextBlock* theWrappedObject) const;
|
|
|
int userState(QTextBlock* theWrappedObject) const;
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QTextBlockFormat : public QTextBlockFormat
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QTextBlockFormat():QTextBlockFormat(),_wrapper(NULL) {};
|
|
|
PythonQtShell_QTextBlockFormat(const QTextFormat& fmt):QTextBlockFormat(fmt),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QTextBlockFormat();
|
|
|
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QTextBlockFormat : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(LineHeightTypes )
|
|
|
enum LineHeightTypes{
|
|
|
SingleHeight = QTextBlockFormat::SingleHeight, ProportionalHeight = QTextBlockFormat::ProportionalHeight, FixedHeight = QTextBlockFormat::FixedHeight, MinimumHeight = QTextBlockFormat::MinimumHeight, LineDistanceHeight = QTextBlockFormat::LineDistanceHeight};
|
|
|
public slots:
|
|
|
QTextBlockFormat* new_QTextBlockFormat();
|
|
|
QTextBlockFormat* new_QTextBlockFormat(const QTextBlockFormat& other) {
|
|
|
PythonQtShell_QTextBlockFormat* a = new PythonQtShell_QTextBlockFormat();
|
|
|
*((QTextBlockFormat*)a) = other;
|
|
|
return a; }
|
|
|
void delete_QTextBlockFormat(QTextBlockFormat* obj) { delete obj; }
|
|
|
Qt::Alignment alignment(QTextBlockFormat* theWrappedObject) const;
|
|
|
qreal bottomMargin(QTextBlockFormat* theWrappedObject) const;
|
|
|
int indent(QTextBlockFormat* theWrappedObject) const;
|
|
|
bool isValid(QTextBlockFormat* theWrappedObject) const;
|
|
|
qreal leftMargin(QTextBlockFormat* theWrappedObject) const;
|
|
|
qreal lineHeight(QTextBlockFormat* theWrappedObject) const;
|
|
|
qreal lineHeight(QTextBlockFormat* theWrappedObject, qreal scriptLineHeight, qreal scaling) const;
|
|
|
int lineHeightType(QTextBlockFormat* theWrappedObject) const;
|
|
|
bool nonBreakableLines(QTextBlockFormat* theWrappedObject) const;
|
|
|
QTextFormat::PageBreakFlags pageBreakPolicy(QTextBlockFormat* theWrappedObject) const;
|
|
|
qreal rightMargin(QTextBlockFormat* theWrappedObject) const;
|
|
|
void setAlignment(QTextBlockFormat* theWrappedObject, Qt::Alignment alignment);
|
|
|
void setBottomMargin(QTextBlockFormat* theWrappedObject, qreal margin);
|
|
|
void setIndent(QTextBlockFormat* theWrappedObject, int indent);
|
|
|
void setLeftMargin(QTextBlockFormat* theWrappedObject, qreal margin);
|
|
|
void setLineHeight(QTextBlockFormat* theWrappedObject, qreal height, int heightType);
|
|
|
void setNonBreakableLines(QTextBlockFormat* theWrappedObject, bool b);
|
|
|
void setPageBreakPolicy(QTextBlockFormat* theWrappedObject, QTextFormat::PageBreakFlags flags);
|
|
|
void setRightMargin(QTextBlockFormat* theWrappedObject, qreal margin);
|
|
|
void setTabPositions(QTextBlockFormat* theWrappedObject, const QList<QTextOption::Tab >& tabs);
|
|
|
void setTextIndent(QTextBlockFormat* theWrappedObject, qreal aindent);
|
|
|
void setTopMargin(QTextBlockFormat* theWrappedObject, qreal margin);
|
|
|
QList<QTextOption::Tab > tabPositions(QTextBlockFormat* theWrappedObject) const;
|
|
|
qreal textIndent(QTextBlockFormat* theWrappedObject) const;
|
|
|
qreal topMargin(QTextBlockFormat* theWrappedObject) const;
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QTextBlockGroup : public QTextBlockGroup
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QTextBlockGroup(QTextDocument* doc):QTextBlockGroup(doc),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QTextBlockGroup();
|
|
|
|
|
|
virtual void blockFormatChanged(const QTextBlock& block);
|
|
|
virtual void blockInserted(const QTextBlock& block);
|
|
|
virtual void blockRemoved(const QTextBlock& block);
|
|
|
virtual void childEvent(QChildEvent* arg__1);
|
|
|
virtual void customEvent(QEvent* arg__1);
|
|
|
virtual bool event(QEvent* arg__1);
|
|
|
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
|
|
|
virtual void timerEvent(QTimerEvent* arg__1);
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtPublicPromoter_QTextBlockGroup : public QTextBlockGroup
|
|
|
{ public:
|
|
|
inline void promoted_blockFormatChanged(const QTextBlock& block) { QTextBlockGroup::blockFormatChanged(block); }
|
|
|
inline void promoted_blockInserted(const QTextBlock& block) { QTextBlockGroup::blockInserted(block); }
|
|
|
inline void promoted_blockRemoved(const QTextBlock& block) { QTextBlockGroup::blockRemoved(block); }
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QTextBlockGroup : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
void blockFormatChanged(QTextBlockGroup* theWrappedObject, const QTextBlock& block);
|
|
|
void blockInserted(QTextBlockGroup* theWrappedObject, const QTextBlock& block);
|
|
|
void blockRemoved(QTextBlockGroup* theWrappedObject, const QTextBlock& block);
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QTextBlockUserData : public QTextBlockUserData
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QTextBlockUserData():QTextBlockUserData(),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QTextBlockUserData();
|
|
|
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QTextBlockUserData : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
QTextBlockUserData* new_QTextBlockUserData();
|
|
|
void delete_QTextBlockUserData(QTextBlockUserData* obj) { delete obj; }
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QTextBrowser : public QTextBrowser
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QTextBrowser(QWidget* parent = 0):QTextBrowser(parent),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QTextBrowser();
|
|
|
|
|
|
virtual void actionEvent(QActionEvent* arg__1);
|
|
|
virtual void backward();
|
|
|
virtual bool canInsertFromMimeData(const QMimeData* source) const;
|
|
|
virtual void changeEvent(QEvent* e);
|
|
|
virtual void childEvent(QChildEvent* arg__1);
|
|
|
virtual void closeEvent(QCloseEvent* arg__1);
|
|
|
virtual void contextMenuEvent(QContextMenuEvent* e);
|
|
|
virtual QMimeData* createMimeDataFromSelection() const;
|
|
|
virtual void customEvent(QEvent* arg__1);
|
|
|
virtual int devType() const;
|
|
|
virtual void doSetTextCursor(const QTextCursor& cursor);
|
|
|
virtual void dragEnterEvent(QDragEnterEvent* e);
|
|
|
virtual void dragLeaveEvent(QDragLeaveEvent* e);
|
|
|
virtual void dragMoveEvent(QDragMoveEvent* e);
|
|
|
virtual void dropEvent(QDropEvent* e);
|
|
|
virtual void enterEvent(QEvent* arg__1);
|
|
|
virtual bool event(QEvent* e);
|
|
|
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
|
|
|
virtual void focusInEvent(QFocusEvent* e);
|
|
|
virtual bool focusNextPrevChild(bool next);
|
|
|
virtual void focusOutEvent(QFocusEvent* ev);
|
|
|
virtual void forward();
|
|
|
virtual bool hasHeightForWidth() const;
|
|
|
virtual int heightForWidth(int arg__1) const;
|
|
|
virtual void hideEvent(QHideEvent* arg__1);
|
|
|
virtual void home();
|
|
|
virtual void initPainter(QPainter* painter) const;
|
|
|
virtual void inputMethodEvent(QInputMethodEvent* arg__1);
|
|
|
virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const;
|
|
|
virtual void insertFromMimeData(const QMimeData* source);
|
|
|
virtual void keyPressEvent(QKeyEvent* ev);
|
|
|
virtual void keyReleaseEvent(QKeyEvent* e);
|
|
|
virtual void leaveEvent(QEvent* arg__1);
|
|
|
virtual QVariant loadResource(int type, const QUrl& name);
|
|
|
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const;
|
|
|
virtual void mouseDoubleClickEvent(QMouseEvent* e);
|
|
|
virtual void mouseMoveEvent(QMouseEvent* ev);
|
|
|
virtual void mousePressEvent(QMouseEvent* ev);
|
|
|
virtual void mouseReleaseEvent(QMouseEvent* ev);
|
|
|
virtual void moveEvent(QMoveEvent* arg__1);
|
|
|
virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result);
|
|
|
virtual QPaintEngine* paintEngine() const;
|
|
|
virtual void paintEvent(QPaintEvent* e);
|
|
|
virtual QPaintDevice* redirected(QPoint* offset) const;
|
|
|
virtual void reload();
|
|
|
virtual void resizeEvent(QResizeEvent* e);
|
|
|
virtual void scrollContentsBy(int dx, int dy);
|
|
|
virtual void setSource(const QUrl& name);
|
|
|
virtual void setupViewport(QWidget* viewport);
|
|
|
virtual QPainter* sharedPainter() const;
|
|
|
virtual void showEvent(QShowEvent* arg__1);
|
|
|
virtual void tabletEvent(QTabletEvent* arg__1);
|
|
|
virtual void timerEvent(QTimerEvent* e);
|
|
|
virtual bool viewportEvent(QEvent* arg__1);
|
|
|
virtual QSize viewportSizeHint() const;
|
|
|
virtual void wheelEvent(QWheelEvent* e);
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtPublicPromoter_QTextBrowser : public QTextBrowser
|
|
|
{ public:
|
|
|
inline void promoted_backward() { QTextBrowser::backward(); }
|
|
|
inline bool promoted_event(QEvent* e) { return QTextBrowser::event(e); }
|
|
|
inline bool promoted_focusNextPrevChild(bool next) { return QTextBrowser::focusNextPrevChild(next); }
|
|
|
inline void promoted_focusOutEvent(QFocusEvent* ev) { QTextBrowser::focusOutEvent(ev); }
|
|
|
inline void promoted_forward() { QTextBrowser::forward(); }
|
|
|
inline void promoted_home() { QTextBrowser::home(); }
|
|
|
inline void promoted_keyPressEvent(QKeyEvent* ev) { QTextBrowser::keyPressEvent(ev); }
|
|
|
inline QVariant promoted_loadResource(int type, const QUrl& name) { return QTextBrowser::loadResource(type, name); }
|
|
|
inline void promoted_mouseMoveEvent(QMouseEvent* ev) { QTextBrowser::mouseMoveEvent(ev); }
|
|
|
inline void promoted_mousePressEvent(QMouseEvent* ev) { QTextBrowser::mousePressEvent(ev); }
|
|
|
inline void promoted_mouseReleaseEvent(QMouseEvent* ev) { QTextBrowser::mouseReleaseEvent(ev); }
|
|
|
inline void promoted_paintEvent(QPaintEvent* e) { QTextBrowser::paintEvent(e); }
|
|
|
inline void promoted_reload() { QTextBrowser::reload(); }
|
|
|
inline void promoted_setSource(const QUrl& name) { QTextBrowser::setSource(name); }
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QTextBrowser : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
public slots:
|
|
|
QTextBrowser* new_QTextBrowser(QWidget* parent = 0);
|
|
|
void delete_QTextBrowser(QTextBrowser* obj) { delete obj; }
|
|
|
void backward(QTextBrowser* theWrappedObject);
|
|
|
int backwardHistoryCount(QTextBrowser* theWrappedObject) const;
|
|
|
void clearHistory(QTextBrowser* theWrappedObject);
|
|
|
bool event(QTextBrowser* theWrappedObject, QEvent* e);
|
|
|
bool focusNextPrevChild(QTextBrowser* theWrappedObject, bool next);
|
|
|
void focusOutEvent(QTextBrowser* theWrappedObject, QFocusEvent* ev);
|
|
|
void forward(QTextBrowser* theWrappedObject);
|
|
|
int forwardHistoryCount(QTextBrowser* theWrappedObject) const;
|
|
|
QString historyTitle(QTextBrowser* theWrappedObject, int arg__1) const;
|
|
|
QUrl historyUrl(QTextBrowser* theWrappedObject, int arg__1) const;
|
|
|
void home(QTextBrowser* theWrappedObject);
|
|
|
bool isBackwardAvailable(QTextBrowser* theWrappedObject) const;
|
|
|
bool isForwardAvailable(QTextBrowser* theWrappedObject) const;
|
|
|
void keyPressEvent(QTextBrowser* theWrappedObject, QKeyEvent* ev);
|
|
|
QVariant loadResource(QTextBrowser* theWrappedObject, int type, const QUrl& name);
|
|
|
void mouseMoveEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev);
|
|
|
void mousePressEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev);
|
|
|
void mouseReleaseEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev);
|
|
|
bool openExternalLinks(QTextBrowser* theWrappedObject) const;
|
|
|
bool openLinks(QTextBrowser* theWrappedObject) const;
|
|
|
void paintEvent(QTextBrowser* theWrappedObject, QPaintEvent* e);
|
|
|
void reload(QTextBrowser* theWrappedObject);
|
|
|
QStringList searchPaths(QTextBrowser* theWrappedObject) const;
|
|
|
void setOpenExternalLinks(QTextBrowser* theWrappedObject, bool open);
|
|
|
void setOpenLinks(QTextBrowser* theWrappedObject, bool open);
|
|
|
void setSearchPaths(QTextBrowser* theWrappedObject, const QStringList& paths);
|
|
|
void setSource(QTextBrowser* theWrappedObject, const QUrl& name);
|
|
|
QUrl source(QTextBrowser* theWrappedObject) const;
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtShell_QTextCharFormat : public QTextCharFormat
|
|
|
{
|
|
|
public:
|
|
|
PythonQtShell_QTextCharFormat():QTextCharFormat(),_wrapper(NULL) {};
|
|
|
PythonQtShell_QTextCharFormat(const QTextFormat& fmt):QTextCharFormat(fmt),_wrapper(NULL) {};
|
|
|
|
|
|
~PythonQtShell_QTextCharFormat();
|
|
|
|
|
|
|
|
|
PythonQtInstanceWrapper* _wrapper;
|
|
|
};
|
|
|
|
|
|
class PythonQtWrapper_QTextCharFormat : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(UnderlineStyle VerticalAlignment )
|
|
|
enum UnderlineStyle{
|
|
|
NoUnderline = QTextCharFormat::NoUnderline, SingleUnderline = QTextCharFormat::SingleUnderline, DashUnderline = QTextCharFormat::DashUnderline, DotLine = QTextCharFormat::DotLine, DashDotLine = QTextCharFormat::DashDotLine, DashDotDotLine = QTextCharFormat::DashDotDotLine, WaveUnderline = QTextCharFormat::WaveUnderline, SpellCheckUnderline = QTextCharFormat::SpellCheckUnderline};
|
|
|
enum VerticalAlignment{
|
|
|
AlignNormal = QTextCharFormat::AlignNormal, AlignSuperScript = QTextCharFormat::AlignSuperScript, AlignSubScript = QTextCharFormat::AlignSubScript, AlignMiddle = QTextCharFormat::AlignMiddle, AlignTop = QTextCharFormat::AlignTop, AlignBottom = QTextCharFormat::AlignBottom, AlignBaseline = QTextCharFormat::AlignBaseline};
|
|
|
public slots:
|
|
|
QTextCharFormat* new_QTextCharFormat();
|
|
|
QTextCharFormat* new_QTextCharFormat(const QTextCharFormat& other) {
|
|
|
PythonQtShell_QTextCharFormat* a = new PythonQtShell_QTextCharFormat();
|
|
|
*((QTextCharFormat*)a) = other;
|
|
|
return a; }
|
|
|
void delete_QTextCharFormat(QTextCharFormat* obj) { delete obj; }
|
|
|
QString anchorHref(QTextCharFormat* theWrappedObject) const;
|
|
|
QStringList anchorNames(QTextCharFormat* theWrappedObject) const;
|
|
|
QFont font(QTextCharFormat* theWrappedObject) const;
|
|
|
QFont::Capitalization fontCapitalization(QTextCharFormat* theWrappedObject) const;
|
|
|
QString fontFamily(QTextCharFormat* theWrappedObject) const;
|
|
|
bool fontFixedPitch(QTextCharFormat* theWrappedObject) const;
|
|
|
bool fontItalic(QTextCharFormat* theWrappedObject) const;
|
|
|
bool fontKerning(QTextCharFormat* theWrappedObject) const;
|
|
|
qreal fontLetterSpacing(QTextCharFormat* theWrappedObject) const;
|
|
|
QFont::SpacingType fontLetterSpacingType(QTextCharFormat* theWrappedObject) const;
|
|
|
bool fontOverline(QTextCharFormat* theWrappedObject) const;
|
|
|
qreal fontPointSize(QTextCharFormat* theWrappedObject) const;
|
|
|
int fontStretch(QTextCharFormat* theWrappedObject) const;
|
|
|
bool fontStrikeOut(QTextCharFormat* theWrappedObject) const;
|
|
|
QFont::StyleHint fontStyleHint(QTextCharFormat* theWrappedObject) const;
|
|
|
QFont::StyleStrategy fontStyleStrategy(QTextCharFormat* theWrappedObject) const;
|
|
|
bool fontUnderline(QTextCharFormat* theWrappedObject) const;
|
|
|
int fontWeight(QTextCharFormat* theWrappedObject) const;
|
|
|
qreal fontWordSpacing(QTextCharFormat* theWrappedObject) const;
|
|
|
bool isAnchor(QTextCharFormat* theWrappedObject) const;
|
|
|
bool isValid(QTextCharFormat* theWrappedObject) const;
|
|
|
void setAnchor(QTextCharFormat* theWrappedObject, bool anchor);
|
|
|
void setAnchorHref(QTextCharFormat* theWrappedObject, const QString& value);
|
|
|
void setAnchorNames(QTextCharFormat* theWrappedObject, const QStringList& names);
|
|
|
void setFont(QTextCharFormat* theWrappedObject, const QFont& font);
|
|
|
void setFontCapitalization(QTextCharFormat* theWrappedObject, QFont::Capitalization capitalization);
|
|
|
void setFontFamily(QTextCharFormat* theWrappedObject, const QString& family);
|
|
|
void setFontFixedPitch(QTextCharFormat* theWrappedObject, bool fixedPitch);
|
|
|
void setFontItalic(QTextCharFormat* theWrappedObject, bool italic);
|
|
|
void setFontKerning(QTextCharFormat* theWrappedObject, bool enable);
|
|
|
void setFontLetterSpacing(QTextCharFormat* theWrappedObject, qreal spacing);
|
|
|
void setFontLetterSpacingType(QTextCharFormat* theWrappedObject, QFont::SpacingType letterSpacingType);
|
|
|
void setFontOverline(QTextCharFormat* theWrappedObject, bool overline);
|
|
|
void setFontPointSize(QTextCharFormat* theWrappedObject, qreal size);
|
|
|
void setFontStretch(QTextCharFormat* theWrappedObject, int factor);
|
|
|
void setFontStrikeOut(QTextCharFormat* theWrappedObject, bool strikeOut);
|
|
|
void setFontStyleHint(QTextCharFormat* theWrappedObject, QFont::StyleHint hint, QFont::StyleStrategy strategy = QFont::PreferDefault);
|
|
|
void setFontStyleStrategy(QTextCharFormat* theWrappedObject, QFont::StyleStrategy strategy);
|
|
|
void setFontUnderline(QTextCharFormat* theWrappedObject, bool underline);
|
|
|
void setFontWeight(QTextCharFormat* theWrappedObject, int weight);
|
|
|
void setFontWordSpacing(QTextCharFormat* theWrappedObject, qreal spacing);
|
|
|
void setTableCellColumnSpan(QTextCharFormat* theWrappedObject, int tableCellColumnSpan);
|
|
|
void setTableCellRowSpan(QTextCharFormat* theWrappedObject, int tableCellRowSpan);
|
|
|
void setTextOutline(QTextCharFormat* theWrappedObject, const QPen& pen);
|
|
|
void setToolTip(QTextCharFormat* theWrappedObject, const QString& tip);
|
|
|
void setUnderlineColor(QTextCharFormat* theWrappedObject, const QColor& color);
|
|
|
void setUnderlineStyle(QTextCharFormat* theWrappedObject, QTextCharFormat::UnderlineStyle style);
|
|
|
void setVerticalAlignment(QTextCharFormat* theWrappedObject, QTextCharFormat::VerticalAlignment alignment);
|
|
|
int tableCellColumnSpan(QTextCharFormat* theWrappedObject) const;
|
|
|
int tableCellRowSpan(QTextCharFormat* theWrappedObject) const;
|
|
|
QPen textOutline(QTextCharFormat* theWrappedObject) const;
|
|
|
QString toolTip(QTextCharFormat* theWrappedObject) const;
|
|
|
QColor underlineColor(QTextCharFormat* theWrappedObject) const;
|
|
|
QTextCharFormat::UnderlineStyle underlineStyle(QTextCharFormat* theWrappedObject) const;
|
|
|
QTextCharFormat::VerticalAlignment verticalAlignment(QTextCharFormat* theWrappedObject) const;
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PythonQtWrapper_QTextCursor : public QObject
|
|
|
{ Q_OBJECT
|
|
|
public:
|
|
|
Q_ENUMS(MoveMode MoveOperation SelectionType )
|
|
|
enum MoveMode{
|
|
|
MoveAnchor = QTextCursor::MoveAnchor, KeepAnchor = QTextCursor::KeepAnchor};
|
|
|
enum MoveOperation{
|
|
|
NoMove = QTextCursor::NoMove, Start = QTextCursor::Start, Up = QTextCursor::Up, StartOfLine = QTextCursor::StartOfLine, StartOfBlock = QTextCursor::StartOfBlock, StartOfWord = QTextCursor::StartOfWord, PreviousBlock = QTextCursor::PreviousBlock, PreviousCharacter = QTextCursor::PreviousCharacter, PreviousWord = QTextCursor::PreviousWord, Left = QTextCursor::Left, WordLeft = QTextCursor::WordLeft, End = QTextCursor::End, Down = QTextCursor::Down, EndOfLine = QTextCursor::EndOfLine, EndOfWord = QTextCursor::EndOfWord, EndOfBlock = QTextCursor::EndOfBlock, NextBlock = QTextCursor::NextBlock, NextCharacter = QTextCursor::NextCharacter, NextWord = QTextCursor::NextWord, Right = QTextCursor::Right, WordRight = QTextCursor::WordRight, NextCell = QTextCursor::NextCell, PreviousCell = QTextCursor::PreviousCell, NextRow = QTextCursor::NextRow, PreviousRow = QTextCursor::PreviousRow};
|
|
|
enum SelectionType{
|
|
|
WordUnderCursor = QTextCursor::WordUnderCursor, LineUnderCursor = QTextCursor::LineUnderCursor, BlockUnderCursor = QTextCursor::BlockUnderCursor, Document = QTextCursor::Document};
|
|
|
public slots:
|
|
|
QTextCursor* new_QTextCursor();
|
|
|
QTextCursor* new_QTextCursor(QTextDocument* document);
|
|
|
QTextCursor* new_QTextCursor(QTextFrame* frame);
|
|
|
QTextCursor* new_QTextCursor(const QTextBlock& block);
|
|
|
QTextCursor* new_QTextCursor(const QTextCursor& cursor);
|
|
|
void delete_QTextCursor(QTextCursor* obj) { delete obj; }
|
|
|
int anchor(QTextCursor* theWrappedObject) const;
|
|
|
bool atBlockEnd(QTextCursor* theWrappedObject) const;
|
|
|
bool atBlockStart(QTextCursor* theWrappedObject) const;
|
|
|
bool atEnd(QTextCursor* theWrappedObject) const;
|
|
|
bool atStart(QTextCursor* theWrappedObject) const;
|
|
|
void beginEditBlock(QTextCursor* theWrappedObject);
|
|
|
QTextBlock block(QTextCursor* theWrappedObject) const;
|
|
|
QTextCharFormat blockCharFormat(QTextCursor* theWrappedObject) const;
|
|
|
QTextBlockFormat blockFormat(QTextCursor* theWrappedObject) const;
|
|
|
int blockNumber(QTextCursor* theWrappedObject) const;
|
|
|
QTextCharFormat charFormat(QTextCursor* theWrappedObject) const;
|
|
|
void clearSelection(QTextCursor* theWrappedObject);
|
|
|
int columnNumber(QTextCursor* theWrappedObject) const;
|
|
|
QTextList* createList(QTextCursor* theWrappedObject, QTextListFormat::Style style);
|
|
|
QTextList* createList(QTextCursor* theWrappedObject, const QTextListFormat& format);
|
|
|
QTextFrame* currentFrame(QTextCursor* theWrappedObject) const;
|
|
|
QTextList* currentList(QTextCursor* theWrappedObject) const;
|
|
|
QTextTable* currentTable(QTextCursor* theWrappedObject) const;
|
|
|
void deleteChar(QTextCursor* theWrappedObject);
|
|
|
void deletePreviousChar(QTextCursor* theWrappedObject);
|
|
|
QTextDocument* document(QTextCursor* theWrappedObject) const;
|
|
|
void endEditBlock(QTextCursor* theWrappedObject);
|
|
|
bool hasComplexSelection(QTextCursor* theWrappedObject) const;
|
|
|
bool hasSelection(QTextCursor* theWrappedObject) const;
|
|
|
void insertBlock(QTextCursor* theWrappedObject);
|
|
|
void insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format);
|
|
|
void insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format, const QTextCharFormat& charFormat);
|
|
|
void insertFragment(QTextCursor* theWrappedObject, const QTextDocumentFragment& fragment);
|
|
|
QTextFrame* insertFrame(QTextCursor* theWrappedObject, const QTextFrameFormat& format);
|
|
|
void insertHtml(QTextCursor* theWrappedObject, const QString& html);
|
|
|
void insertImage(QTextCursor* theWrappedObject, const QImage& image, const QString& name = QString());
|
|
|
void insertImage(QTextCursor* theWrappedObject, const QString& name);
|
|
|
void insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format);
|
|
|
void insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format, QTextFrameFormat::Position alignment);
|
|
|
QTextList* insertList(QTextCursor* theWrappedObject, QTextListFormat::Style style);
|
|
|
QTextList* insertList(QTextCursor* theWrappedObject, const QTextListFormat& format);
|
|
|
QTextTable* insertTable(QTextCursor* theWrappedObject, int rows, int cols);
|
|
|
QTextTable* insertTable(QTextCursor* theWrappedObject, int rows, int cols, const QTextTableFormat& format);
|
|
|
void insertText(QTextCursor* theWrappedObject, const QString& text);
|
|
|
void insertText(QTextCursor* theWrappedObject, const QString& text, const QTextCharFormat& format);
|
|
|
bool isCopyOf(QTextCursor* theWrappedObject, const QTextCursor& other) const;
|
|
|
bool isNull(QTextCursor* theWrappedObject) const;
|
|
|
void joinPreviousEditBlock(QTextCursor* theWrappedObject);
|
|
|
bool keepPositionOnInsert(QTextCursor* theWrappedObject) const;
|
|
|
void mergeBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier);
|
|
|
void mergeBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& modifier);
|
|
|
void mergeCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier);
|
|
|
bool movePosition(QTextCursor* theWrappedObject, QTextCursor::MoveOperation op, QTextCursor::MoveMode arg__2 = QTextCursor::MoveAnchor, int n = 1);
|
|
|
bool __ne__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const;
|
|
|
bool __lt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const;
|
|
|
bool __le__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const;
|
|
|
bool __eq__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const;
|
|
|
bool __gt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const;
|
|
|
bool __ge__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const;
|
|
|
int position(QTextCursor* theWrappedObject) const;
|
|
|
int positionInBlock(QTextCursor* theWrappedObject) const;
|
|
|
void removeSelectedText(QTextCursor* theWrappedObject);
|
|
|
void select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection);
|
|
|
void selectedTableCells(QTextCursor* theWrappedObject, int* firstRow, int* numRows, int* firstColumn, int* numColumns) const;
|
|
|
QString selectedText(QTextCursor* theWrappedObject) const;
|
|
|
QTextDocumentFragment selection(QTextCursor* theWrappedObject) const;
|
|
|
int selectionEnd(QTextCursor* theWrappedObject) const;
|
|
|
int selectionStart(QTextCursor* theWrappedObject) const;
|
|
|
void setBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format);
|
|
|
void setBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& format);
|
|
|
void setCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format);
|
|
|
void setKeepPositionOnInsert(QTextCursor* theWrappedObject, bool b);
|
|
|
void setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor);
|
|
|
void setVerticalMovementX(QTextCursor* theWrappedObject, int x);
|
|
|
void setVisualNavigation(QTextCursor* theWrappedObject, bool b);
|
|
|
void swap(QTextCursor* theWrappedObject, QTextCursor& other);
|
|
|
int verticalMovementX(QTextCursor* theWrappedObject) const;
|
|
|
bool visualNavigation(QTextCursor* theWrappedObject) const;
|
|
|
bool __nonzero__(QTextCursor* obj) { return !obj->isNull(); }
|
|
|
};
|
|
|
|
|
|
|
|
|
|