com_trolltech_qt_gui10.h
1926 lines
| 93.7 KiB
| text/x-c
|
CLexer
florianlink
|
r110 | #include <PythonQt.h> | ||
#include <QObject> | ||||
florianlink
|
r186 | #include <QTextCursor> | ||
#include <QTextFrame> | ||||
#include <QTextLayout> | ||||
florianlink
|
r110 | #include <QVariant> | ||
#include <qabstractitemdelegate.h> | ||||
#include <qabstractitemmodel.h> | ||||
#include <qaction.h> | ||||
#include <qbitmap.h> | ||||
#include <qboxlayout.h> | ||||
#include <qbrush.h> | ||||
florianlink
|
r186 | #include <qbuttongroup.h> | ||
florianlink
|
r110 | #include <qbytearray.h> | ||
florianlink
|
r186 | #include <qcalendarwidget.h> | ||
#include <qcolor.h> | ||||
florianlink
|
r110 | #include <qcoreevent.h> | ||
#include <qcursor.h> | ||||
#include <qdatastream.h> | ||||
florianlink
|
r186 | #include <qdatetime.h> | ||
#include <qdatetimeedit.h> | ||||
#include <qdrawutil.h> | ||||
florianlink
|
r110 | #include <qevent.h> | ||
#include <qfont.h> | ||||
#include <qgraphicseffect.h> | ||||
#include <qgraphicsproxywidget.h> | ||||
#include <qheaderview.h> | ||||
#include <qicon.h> | ||||
#include <qinputcontext.h> | ||||
#include <qitemselectionmodel.h> | ||||
#include <qkeysequence.h> | ||||
#include <qlayout.h> | ||||
#include <qlayoutitem.h> | ||||
#include <qline.h> | ||||
florianlink
|
r186 | #include <qlineedit.h> | ||
florianlink
|
r110 | #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> | ||||
florianlink
|
r186 | #include <qpen.h> | ||
florianlink
|
r110 | #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 <qstyleoption.h> | ||||
florianlink
|
r186 | #include <qtextcursor.h> | ||
#include <qtextdocument.h> | ||||
#include <qtextformat.h> | ||||
#include <qtextlayout.h> | ||||
#include <qtextlist.h> | ||||
#include <qtextobject.h> | ||||
#include <qtextoption.h> | ||||
#include <qtexttable.h> | ||||
#include <qtoolbar.h> | ||||
#include <qtoolbox.h> | ||||
#include <qtoolbutton.h> | ||||
florianlink
|
r110 | #include <qtooltip.h> | ||
#include <qtransform.h> | ||||
#include <qtreeview.h> | ||||
#include <qtreewidget.h> | ||||
#include <qundogroup.h> | ||||
#include <qundostack.h> | ||||
#include <qundoview.h> | ||||
florianlink
|
r186 | #include <qvector.h> | ||
florianlink
|
r110 | #include <qwidget.h> | ||
florianlink
|
r186 | class PythonQtWrapper_QTextInlineObject : public QObject | ||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r186 | QTextInlineObject* new_QTextInlineObject(); | ||
QTextInlineObject* new_QTextInlineObject(const QTextInlineObject& other) { | ||||
QTextInlineObject* a = new QTextInlineObject(); | ||||
*((QTextInlineObject*)a) = other; | ||||
return a; } | ||||
void delete_QTextInlineObject(QTextInlineObject* obj) { delete obj; } | ||||
qreal ascent(QTextInlineObject* theWrappedObject) const; | ||||
qreal descent(QTextInlineObject* theWrappedObject) const; | ||||
QTextFormat format(QTextInlineObject* theWrappedObject) const; | ||||
int formatIndex(QTextInlineObject* theWrappedObject) const; | ||||
qreal height(QTextInlineObject* theWrappedObject) const; | ||||
bool isValid(QTextInlineObject* theWrappedObject) const; | ||||
QRectF rect(QTextInlineObject* theWrappedObject) const; | ||||
void setAscent(QTextInlineObject* theWrappedObject, qreal a); | ||||
void setDescent(QTextInlineObject* theWrappedObject, qreal d); | ||||
void setWidth(QTextInlineObject* theWrappedObject, qreal w); | ||||
Qt::LayoutDirection textDirection(QTextInlineObject* theWrappedObject) const; | ||||
int textPosition(QTextInlineObject* theWrappedObject) const; | ||||
qreal width(QTextInlineObject* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtShell_QTextItem : public QTextItem | ||
florianlink
|
r110 | { | ||
public: | ||||
florianlink
|
r186 | PythonQtShell_QTextItem():QTextItem(),_wrapper(NULL) {}; | ||
~PythonQtShell_QTextItem(); | ||||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r186 | class PythonQtWrapper_QTextItem : public QObject | ||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r186 | Q_ENUMS(RenderFlag ) | ||
Q_FLAGS(RenderFlags ) | ||||
enum RenderFlag{ | ||||
RightToLeft = QTextItem::RightToLeft, Overline = QTextItem::Overline, Underline = QTextItem::Underline, StrikeOut = QTextItem::StrikeOut, Dummy = QTextItem::Dummy}; | ||||
Q_DECLARE_FLAGS(RenderFlags, RenderFlag) | ||||
florianlink
|
r110 | public slots: | ||
florianlink
|
r186 | QTextItem* new_QTextItem(); | ||
void delete_QTextItem(QTextItem* obj) { delete obj; } | ||||
qreal ascent(QTextItem* theWrappedObject) const; | ||||
qreal descent(QTextItem* theWrappedObject) const; | ||||
QFont font(QTextItem* theWrappedObject) const; | ||||
QTextItem::RenderFlags renderFlags(QTextItem* theWrappedObject) const; | ||||
QString text(QTextItem* theWrappedObject) const; | ||||
qreal width(QTextItem* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtWrapper_QTextLine : public QObject | ||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r186 | Q_ENUMS(Edge CursorPosition ) | ||
enum Edge{ | ||||
Leading = QTextLine::Leading, Trailing = QTextLine::Trailing}; | ||||
enum CursorPosition{ | ||||
CursorBetweenCharacters = QTextLine::CursorBetweenCharacters, CursorOnCharacter = QTextLine::CursorOnCharacter}; | ||||
florianlink
|
r110 | public slots: | ||
florianlink
|
r186 | QTextLine* new_QTextLine(); | ||
QTextLine* new_QTextLine(const QTextLine& other) { | ||||
QTextLine* a = new QTextLine(); | ||||
*((QTextLine*)a) = other; | ||||
return a; } | ||||
void delete_QTextLine(QTextLine* obj) { delete obj; } | ||||
qreal ascent(QTextLine* theWrappedObject) const; | ||||
qreal cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge = QTextLine::Leading) const; | ||||
qreal descent(QTextLine* theWrappedObject) const; | ||||
void draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection = 0) const; | ||||
qreal height(QTextLine* theWrappedObject) const; | ||||
qreal horizontalAdvance(QTextLine* theWrappedObject) const; | ||||
bool isValid(QTextLine* theWrappedObject) const; | ||||
qreal leading(QTextLine* theWrappedObject) const; | ||||
bool leadingIncluded(QTextLine* theWrappedObject) const; | ||||
int lineNumber(QTextLine* theWrappedObject) const; | ||||
QRectF naturalTextRect(QTextLine* theWrappedObject) const; | ||||
qreal naturalTextWidth(QTextLine* theWrappedObject) const; | ||||
QPointF position(QTextLine* theWrappedObject) const; | ||||
QRectF rect(QTextLine* theWrappedObject) const; | ||||
void setLeadingIncluded(QTextLine* theWrappedObject, bool included); | ||||
void setLineWidth(QTextLine* theWrappedObject, qreal width); | ||||
void setNumColumns(QTextLine* theWrappedObject, int columns); | ||||
void setNumColumns(QTextLine* theWrappedObject, int columns, qreal alignmentWidth); | ||||
void setPosition(QTextLine* theWrappedObject, const QPointF& pos); | ||||
int textLength(QTextLine* theWrappedObject) const; | ||||
int textStart(QTextLine* theWrappedObject) const; | ||||
qreal width(QTextLine* theWrappedObject) const; | ||||
qreal x(QTextLine* theWrappedObject) const; | ||||
int xToCursor(QTextLine* theWrappedObject, qreal x, QTextLine::CursorPosition arg__2 = QTextLine::CursorBetweenCharacters) const; | ||||
qreal y(QTextLine* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtShell_QTextList : public QTextList | ||
{ | ||||
public: | ||||
PythonQtShell_QTextList(QTextDocument* doc):QTextList(doc),_wrapper(NULL) {}; | ||||
~PythonQtShell_QTextList(); | ||||
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 PythonQtWrapper_QTextList : public QObject | ||||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r186 | QTextList* new_QTextList(QTextDocument* doc); | ||
void delete_QTextList(QTextList* obj) { delete obj; } | ||||
void add(QTextList* theWrappedObject, const QTextBlock& block); | ||||
int count(QTextList* theWrappedObject) const; | ||||
QTextListFormat format(QTextList* theWrappedObject) const; | ||||
QTextBlock item(QTextList* theWrappedObject, int i) const; | ||||
int itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const; | ||||
QString itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const; | ||||
void remove(QTextList* theWrappedObject, const QTextBlock& arg__1); | ||||
void removeItem(QTextList* theWrappedObject, int i); | ||||
void setFormat(QTextList* theWrappedObject, const QTextListFormat& format); | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtShell_QTextListFormat : public QTextListFormat | ||
florianlink
|
r110 | { | ||
public: | ||||
florianlink
|
r186 | PythonQtShell_QTextListFormat():QTextListFormat(),_wrapper(NULL) {}; | ||
PythonQtShell_QTextListFormat(const QTextFormat& fmt):QTextListFormat(fmt),_wrapper(NULL) {}; | ||||
~PythonQtShell_QTextListFormat(); | ||||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r186 | class PythonQtWrapper_QTextListFormat : public QObject | ||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r186 | Q_ENUMS(Style ) | ||
enum Style{ | ||||
ListDisc = QTextListFormat::ListDisc, ListCircle = QTextListFormat::ListCircle, ListSquare = QTextListFormat::ListSquare, ListDecimal = QTextListFormat::ListDecimal, ListLowerAlpha = QTextListFormat::ListLowerAlpha, ListUpperAlpha = QTextListFormat::ListUpperAlpha, ListLowerRoman = QTextListFormat::ListLowerRoman, ListUpperRoman = QTextListFormat::ListUpperRoman, ListStyleUndefined = QTextListFormat::ListStyleUndefined}; | ||||
florianlink
|
r110 | public slots: | ||
florianlink
|
r186 | QTextListFormat* new_QTextListFormat(); | ||
QTextListFormat* new_QTextListFormat(const QTextListFormat& other) { | ||||
PythonQtShell_QTextListFormat* a = new PythonQtShell_QTextListFormat(); | ||||
*((QTextListFormat*)a) = other; | ||||
return a; } | ||||
void delete_QTextListFormat(QTextListFormat* obj) { delete obj; } | ||||
int indent(QTextListFormat* theWrappedObject) const; | ||||
bool isValid(QTextListFormat* theWrappedObject) const; | ||||
QString numberPrefix(QTextListFormat* theWrappedObject) const; | ||||
QString numberSuffix(QTextListFormat* theWrappedObject) const; | ||||
void setIndent(QTextListFormat* theWrappedObject, int indent); | ||||
void setNumberPrefix(QTextListFormat* theWrappedObject, const QString& numberPrefix); | ||||
void setNumberSuffix(QTextListFormat* theWrappedObject, const QString& numberSuffix); | ||||
void setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style); | ||||
QTextListFormat::Style style(QTextListFormat* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtShell_QTextObject : public QTextObject | ||
florianlink
|
r110 | { | ||
public: | ||||
florianlink
|
r186 | PythonQtShell_QTextObject(QTextDocument* doc):QTextObject(doc),_wrapper(NULL) {}; | ||
~PythonQtShell_QTextObject(); | ||||
florianlink
|
r110 | |||
florianlink
|
r128 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r186 | virtual bool event(QEvent* arg__1); | ||
florianlink
|
r128 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
florianlink
|
r186 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r186 | class PythonQtWrapper_QTextObject : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTextDocument* document(QTextObject* theWrappedObject) const; | ||||
QTextFormat format(QTextObject* theWrappedObject) const; | ||||
int formatIndex(QTextObject* theWrappedObject) const; | ||||
int objectIndex(QTextObject* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | |||
class PythonQtWrapper_QTextOption : public QObject | ||||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r186 | Q_ENUMS(TabType Flag WrapMode ) | ||
Q_FLAGS(Flags ) | ||||
enum TabType{ | ||||
LeftTab = QTextOption::LeftTab, RightTab = QTextOption::RightTab, CenterTab = QTextOption::CenterTab, DelimiterTab = QTextOption::DelimiterTab}; | ||||
enum Flag{ | ||||
ShowTabsAndSpaces = QTextOption::ShowTabsAndSpaces, ShowLineAndParagraphSeparators = QTextOption::ShowLineAndParagraphSeparators, AddSpaceForLineAndParagraphSeparators = QTextOption::AddSpaceForLineAndParagraphSeparators, SuppressColors = QTextOption::SuppressColors, IncludeTrailingSpaces = QTextOption::IncludeTrailingSpaces}; | ||||
enum WrapMode{ | ||||
NoWrap = QTextOption::NoWrap, WordWrap = QTextOption::WordWrap, ManualWrap = QTextOption::ManualWrap, WrapAnywhere = QTextOption::WrapAnywhere, WrapAtWordBoundaryOrAnywhere = QTextOption::WrapAtWordBoundaryOrAnywhere}; | ||||
Q_DECLARE_FLAGS(Flags, Flag) | ||||
florianlink
|
r110 | public slots: | ||
florianlink
|
r186 | QTextOption* new_QTextOption(); | ||
QTextOption* new_QTextOption(Qt::Alignment alignment); | ||||
QTextOption* new_QTextOption(const QTextOption& o); | ||||
void delete_QTextOption(QTextOption* obj) { delete obj; } | ||||
Qt::Alignment alignment(QTextOption* theWrappedObject) const; | ||||
QTextOption::Flags flags(QTextOption* theWrappedObject) const; | ||||
QTextOption* operator_assign(QTextOption* theWrappedObject, const QTextOption& o); | ||||
void setAlignment(QTextOption* theWrappedObject, Qt::Alignment alignment); | ||||
void setFlags(QTextOption* theWrappedObject, QTextOption::Flags flags); | ||||
void setTabArray(QTextOption* theWrappedObject, QList<qreal > tabStops); | ||||
void setTabStop(QTextOption* theWrappedObject, qreal tabStop); | ||||
void setTabs(QTextOption* theWrappedObject, QList<QTextOption::Tab > tabStops); | ||||
void setTextDirection(QTextOption* theWrappedObject, Qt::LayoutDirection aDirection); | ||||
void setUseDesignMetrics(QTextOption* theWrappedObject, bool b); | ||||
void setWrapMode(QTextOption* theWrappedObject, QTextOption::WrapMode wrap); | ||||
QList<qreal > tabArray(QTextOption* theWrappedObject) const; | ||||
qreal tabStop(QTextOption* theWrappedObject) const; | ||||
QList<QTextOption::Tab > tabs(QTextOption* theWrappedObject) const; | ||||
Qt::LayoutDirection textDirection(QTextOption* theWrappedObject) const; | ||||
bool useDesignMetrics(QTextOption* theWrappedObject) const; | ||||
QTextOption::WrapMode wrapMode(QTextOption* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtShell_QTextOption_Tab : public QTextOption::Tab | ||
florianlink
|
r110 | { | ||
public: | ||||
florianlink
|
r186 | PythonQtShell_QTextOption_Tab():QTextOption::Tab(),_wrapper(NULL) {}; | ||
PythonQtShell_QTextOption_Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()):QTextOption::Tab(pos, tabType, delim),_wrapper(NULL) {}; | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | ~PythonQtShell_QTextOption_Tab(); | ||
florianlink
|
r110 | |||
florianlink
|
r186 | PythonQtInstanceWrapper* _wrapper; | ||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtWrapper_QTextOption_Tab : public QObject | ||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r186 | QTextOption::Tab* new_QTextOption_Tab(); | ||
QTextOption::Tab* new_QTextOption_Tab(qreal pos, QTextOption::TabType tabType, QChar delim = QChar()); | ||||
QTextOption::Tab* new_QTextOption_Tab(const QTextOption::Tab& other) { | ||||
PythonQtShell_QTextOption_Tab* a = new PythonQtShell_QTextOption_Tab(); | ||||
*((QTextOption::Tab*)a) = other; | ||||
return a; } | ||||
void delete_QTextOption_Tab(QTextOption::Tab* obj) { delete obj; } | ||||
bool __ne__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const; | ||||
bool __eq__(QTextOption::Tab* theWrappedObject, const QTextOption::Tab& other) const; | ||||
void py_set_delimiter(QTextOption::Tab* theWrappedObject, QChar delimiter){ theWrappedObject->delimiter = delimiter; } | ||||
QChar py_get_delimiter(QTextOption::Tab* theWrappedObject){ return theWrappedObject->delimiter; } | ||||
void py_set_position(QTextOption::Tab* theWrappedObject, qreal position){ theWrappedObject->position = position; } | ||||
qreal py_get_position(QTextOption::Tab* theWrappedObject){ return theWrappedObject->position; } | ||||
void py_set_type(QTextOption::Tab* theWrappedObject, QTextOption::TabType type){ theWrappedObject->type = type; } | ||||
QTextOption::TabType py_get_type(QTextOption::Tab* theWrappedObject){ return theWrappedObject->type; } | ||||
}; | ||||
class PythonQtShell_QTextTable : public QTextTable | ||||
{ | ||||
public: | ||||
PythonQtShell_QTextTable(QTextDocument* doc):QTextTable(doc),_wrapper(NULL) {}; | ||||
~PythonQtShell_QTextTable(); | ||||
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_QTextTable : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTextTable* new_QTextTable(QTextDocument* doc); | ||||
void delete_QTextTable(QTextTable* obj) { delete obj; } | ||||
void appendColumns(QTextTable* theWrappedObject, int count); | ||||
void appendRows(QTextTable* theWrappedObject, int count); | ||||
QTextTableCell cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const; | ||||
QTextTableCell cellAt(QTextTable* theWrappedObject, int position) const; | ||||
QTextTableCell cellAt(QTextTable* theWrappedObject, int row, int col) const; | ||||
int columns(QTextTable* theWrappedObject) const; | ||||
QTextTableFormat format(QTextTable* theWrappedObject) const; | ||||
void insertColumns(QTextTable* theWrappedObject, int pos, int num); | ||||
void insertRows(QTextTable* theWrappedObject, int pos, int num); | ||||
void mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor); | ||||
void mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols); | ||||
void removeColumns(QTextTable* theWrappedObject, int pos, int num); | ||||
void removeRows(QTextTable* theWrappedObject, int pos, int num); | ||||
void resize(QTextTable* theWrappedObject, int rows, int cols); | ||||
QTextCursor rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const; | ||||
QTextCursor rowStart(QTextTable* theWrappedObject, const QTextCursor& c) const; | ||||
int rows(QTextTable* theWrappedObject) const; | ||||
void setFormat(QTextTable* theWrappedObject, const QTextTableFormat& format); | ||||
void splitCell(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols); | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtWrapper_QTextTableCell : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTextTableCell* new_QTextTableCell(); | ||||
QTextTableCell* new_QTextTableCell(const QTextTableCell& o); | ||||
void delete_QTextTableCell(QTextTableCell* obj) { delete obj; } | ||||
QTextFrame::iterator begin(QTextTableCell* theWrappedObject) const; | ||||
int column(QTextTableCell* theWrappedObject) const; | ||||
int columnSpan(QTextTableCell* theWrappedObject) const; | ||||
QTextFrame::iterator end(QTextTableCell* theWrappedObject) const; | ||||
QTextCursor firstCursorPosition(QTextTableCell* theWrappedObject) const; | ||||
int firstPosition(QTextTableCell* theWrappedObject) const; | ||||
QTextCharFormat format(QTextTableCell* theWrappedObject) const; | ||||
bool isValid(QTextTableCell* theWrappedObject) const; | ||||
QTextCursor lastCursorPosition(QTextTableCell* theWrappedObject) const; | ||||
int lastPosition(QTextTableCell* theWrappedObject) const; | ||||
bool __ne__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const; | ||||
bool __eq__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const; | ||||
int row(QTextTableCell* theWrappedObject) const; | ||||
int rowSpan(QTextTableCell* theWrappedObject) const; | ||||
void setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format); | ||||
int tableCellFormatIndex(QTextTableCell* theWrappedObject) const; | ||||
}; | ||||
class PythonQtShell_QTextTableCellFormat : public QTextTableCellFormat | ||||
florianlink
|
r110 | { | ||
public: | ||||
florianlink
|
r186 | PythonQtShell_QTextTableCellFormat():QTextTableCellFormat(),_wrapper(NULL) {}; | ||
PythonQtShell_QTextTableCellFormat(const QTextFormat& fmt):QTextTableCellFormat(fmt),_wrapper(NULL) {}; | ||||
~PythonQtShell_QTextTableCellFormat(); | ||||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r186 | class PythonQtWrapper_QTextTableCellFormat : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTextTableCellFormat* new_QTextTableCellFormat(); | ||||
QTextTableCellFormat* new_QTextTableCellFormat(const QTextTableCellFormat& other) { | ||||
PythonQtShell_QTextTableCellFormat* a = new PythonQtShell_QTextTableCellFormat(); | ||||
*((QTextTableCellFormat*)a) = other; | ||||
return a; } | ||||
void delete_QTextTableCellFormat(QTextTableCellFormat* obj) { delete obj; } | ||||
qreal bottomPadding(QTextTableCellFormat* theWrappedObject) const; | ||||
bool isValid(QTextTableCellFormat* theWrappedObject) const; | ||||
qreal leftPadding(QTextTableCellFormat* theWrappedObject) const; | ||||
qreal rightPadding(QTextTableCellFormat* theWrappedObject) const; | ||||
void setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding); | ||||
void setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding); | ||||
void setPadding(QTextTableCellFormat* theWrappedObject, qreal padding); | ||||
void setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding); | ||||
void setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding); | ||||
qreal topPadding(QTextTableCellFormat* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | |||
class PythonQtShell_QTextTableFormat : public QTextTableFormat | ||||
{ | ||||
public: | ||||
PythonQtShell_QTextTableFormat():QTextTableFormat(),_wrapper(NULL) {}; | ||||
PythonQtShell_QTextTableFormat(const QTextFormat& fmt):QTextTableFormat(fmt),_wrapper(NULL) {}; | ||||
~PythonQtShell_QTextTableFormat(); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtWrapper_QTextTableFormat : public QObject | ||||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r186 | QTextTableFormat* new_QTextTableFormat(); | ||
QTextTableFormat* new_QTextTableFormat(const QTextTableFormat& other) { | ||||
PythonQtShell_QTextTableFormat* a = new PythonQtShell_QTextTableFormat(); | ||||
*((QTextTableFormat*)a) = other; | ||||
return a; } | ||||
void delete_QTextTableFormat(QTextTableFormat* obj) { delete obj; } | ||||
Qt::Alignment alignment(QTextTableFormat* theWrappedObject) const; | ||||
qreal cellPadding(QTextTableFormat* theWrappedObject) const; | ||||
qreal cellSpacing(QTextTableFormat* theWrappedObject) const; | ||||
void clearColumnWidthConstraints(QTextTableFormat* theWrappedObject); | ||||
QVector<QTextLength > columnWidthConstraints(QTextTableFormat* theWrappedObject) const; | ||||
int columns(QTextTableFormat* theWrappedObject) const; | ||||
int headerRowCount(QTextTableFormat* theWrappedObject) const; | ||||
bool isValid(QTextTableFormat* theWrappedObject) const; | ||||
void setAlignment(QTextTableFormat* theWrappedObject, Qt::Alignment alignment); | ||||
void setCellPadding(QTextTableFormat* theWrappedObject, qreal padding); | ||||
void setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing); | ||||
void setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector<QTextLength >& constraints); | ||||
void setColumns(QTextTableFormat* theWrappedObject, int columns); | ||||
void setHeaderRowCount(QTextTableFormat* theWrappedObject, int count); | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtShell_QTileRules : public QTileRules | ||
florianlink
|
r110 | { | ||
public: | ||||
florianlink
|
r186 | PythonQtShell_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule):QTileRules(horizontalRule, verticalRule),_wrapper(NULL) {}; | ||
PythonQtShell_QTileRules(Qt::TileRule rule = Qt::StretchTile):QTileRules(rule),_wrapper(NULL) {}; | ||||
~PythonQtShell_QTileRules(); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtWrapper_QTileRules : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTileRules* new_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule); | ||||
QTileRules* new_QTileRules(Qt::TileRule rule = Qt::StretchTile); | ||||
void delete_QTileRules(QTileRules* obj) { delete obj; } | ||||
void py_set_vertical(QTileRules* theWrappedObject, Qt::TileRule vertical){ theWrappedObject->vertical = vertical; } | ||||
Qt::TileRule py_get_vertical(QTileRules* theWrappedObject){ return theWrappedObject->vertical; } | ||||
void py_set_horizontal(QTileRules* theWrappedObject, Qt::TileRule horizontal){ theWrappedObject->horizontal = horizontal; } | ||||
Qt::TileRule py_get_horizontal(QTileRules* theWrappedObject){ return theWrappedObject->horizontal; } | ||||
}; | ||||
class PythonQtShell_QTimeEdit : public QTimeEdit | ||||
{ | ||||
public: | ||||
PythonQtShell_QTimeEdit(QWidget* parent = 0):QTimeEdit(parent),_wrapper(NULL) {}; | ||||
PythonQtShell_QTimeEdit(const QTime& time, QWidget* parent = 0):QTimeEdit(time, parent),_wrapper(NULL) {}; | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | ~PythonQtShell_QTimeEdit(); | ||
virtual void actionEvent(QActionEvent* arg__1); | ||||
virtual void changeEvent(QEvent* event); | ||||
florianlink
|
r120 | virtual void childEvent(QChildEvent* arg__1); | ||
florianlink
|
r186 | virtual void clear(); | ||
virtual void closeEvent(QCloseEvent* event); | ||||
virtual void contextMenuEvent(QContextMenuEvent* event); | ||||
florianlink
|
r120 | virtual void customEvent(QEvent* arg__1); | ||
florianlink
|
r186 | virtual QDateTime dateTimeFromText(const QString& text) const; | ||
virtual int devType() const; | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* event); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void fixup(QString& input) const; | ||||
virtual void focusInEvent(QFocusEvent* event); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* event); | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* event); | ||||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
virtual void keyPressEvent(QKeyEvent* event); | ||||
virtual void keyReleaseEvent(QKeyEvent* event); | ||||
virtual void languageChange(); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
virtual void mouseMoveEvent(QMouseEvent* event); | ||||
virtual void mousePressEvent(QMouseEvent* event); | ||||
virtual void mouseReleaseEvent(QMouseEvent* event); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* event); | ||||
virtual void resizeEvent(QResizeEvent* event); | ||||
virtual void showEvent(QShowEvent* event); | ||||
virtual void stepBy(int steps); | ||||
virtual QAbstractSpinBox::StepEnabled stepEnabled() const; | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual QString textFromDateTime(const QDateTime& dt) const; | ||||
virtual void timerEvent(QTimerEvent* event); | ||||
virtual QValidator::State validate(QString& input, int& pos) const; | ||||
virtual void wheelEvent(QWheelEvent* event); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtWrapper_QTimeEdit : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTimeEdit* new_QTimeEdit(QWidget* parent = 0); | ||||
QTimeEdit* new_QTimeEdit(const QTime& time, QWidget* parent = 0); | ||||
void delete_QTimeEdit(QTimeEdit* obj) { delete obj; } | ||||
}; | ||||
class PythonQtShell_QToolBar : public QToolBar | ||||
{ | ||||
public: | ||||
PythonQtShell_QToolBar(QWidget* parent = 0):QToolBar(parent),_wrapper(NULL) {}; | ||||
PythonQtShell_QToolBar(const QString& title, QWidget* parent = 0):QToolBar(title, parent),_wrapper(NULL) {}; | ||||
~PythonQtShell_QToolBar(); | ||||
virtual void actionEvent(QActionEvent* event); | ||||
virtual void changeEvent(QEvent* event); | ||||
virtual void childEvent(QChildEvent* event); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual int devType() const; | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* event); | ||||
florianlink
|
r128 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
florianlink
|
r186 | virtual void focusInEvent(QFocusEvent* arg__1); | ||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* arg__1); | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
virtual void keyPressEvent(QKeyEvent* arg__1); | ||||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void languageChange(); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual QSize minimumSizeHint() const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
virtual void mouseMoveEvent(QMouseEvent* arg__1); | ||||
virtual void mousePressEvent(QMouseEvent* arg__1); | ||||
virtual void mouseReleaseEvent(QMouseEvent* arg__1); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* event); | ||||
virtual void resizeEvent(QResizeEvent* event); | ||||
virtual void showEvent(QShowEvent* arg__1); | ||||
virtual QSize sizeHint() const; | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r186 | virtual void wheelEvent(QWheelEvent* arg__1); | ||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r186 | class PythonQtPublicPromoter_QToolBar : public QToolBar | ||
{ public: | ||||
inline void promoted_actionEvent(QActionEvent* event) { QToolBar::actionEvent(event); } | ||||
inline void promoted_changeEvent(QEvent* event) { QToolBar::changeEvent(event); } | ||||
inline void promoted_childEvent(QChildEvent* event) { QToolBar::childEvent(event); } | ||||
inline bool promoted_event(QEvent* event) { return QToolBar::event(event); } | ||||
inline void promoted_paintEvent(QPaintEvent* event) { QToolBar::paintEvent(event); } | ||||
inline void promoted_resizeEvent(QResizeEvent* event) { QToolBar::resizeEvent(event); } | ||||
}; | ||||
class PythonQtWrapper_QToolBar : public QObject | ||||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r186 | QToolBar* new_QToolBar(QWidget* parent = 0); | ||
QToolBar* new_QToolBar(const QString& title, QWidget* parent = 0); | ||||
void delete_QToolBar(QToolBar* obj) { delete obj; } | ||||
QAction* actionAt(QToolBar* theWrappedObject, const QPoint& p) const; | ||||
QAction* actionAt(QToolBar* theWrappedObject, int x, int y) const; | ||||
void actionEvent(QToolBar* theWrappedObject, QActionEvent* event); | ||||
QRect actionGeometry(QToolBar* theWrappedObject, QAction* action) const; | ||||
void addAction(QToolBar* theWrappedObject, QAction* action); | ||||
QAction* addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text); | ||||
QAction* addAction(QToolBar* theWrappedObject, const QIcon& icon, const QString& text, const QObject* receiver, const char* member); | ||||
QAction* addAction(QToolBar* theWrappedObject, const QString& text); | ||||
QAction* addAction(QToolBar* theWrappedObject, const QString& text, const QObject* receiver, const char* member); | ||||
QAction* addSeparator(QToolBar* theWrappedObject); | ||||
QAction* addWidget(QToolBar* theWrappedObject, QWidget* widget); | ||||
Qt::ToolBarAreas allowedAreas(QToolBar* theWrappedObject) const; | ||||
void changeEvent(QToolBar* theWrappedObject, QEvent* event); | ||||
void childEvent(QToolBar* theWrappedObject, QChildEvent* event); | ||||
void clear(QToolBar* theWrappedObject); | ||||
bool event(QToolBar* theWrappedObject, QEvent* event); | ||||
QSize iconSize(QToolBar* theWrappedObject) const; | ||||
QAction* insertSeparator(QToolBar* theWrappedObject, QAction* before); | ||||
QAction* insertWidget(QToolBar* theWrappedObject, QAction* before, QWidget* widget); | ||||
bool isAreaAllowed(QToolBar* theWrappedObject, Qt::ToolBarArea area) const; | ||||
bool isFloatable(QToolBar* theWrappedObject) const; | ||||
bool isFloating(QToolBar* theWrappedObject) const; | ||||
bool isMovable(QToolBar* theWrappedObject) const; | ||||
Qt::Orientation orientation(QToolBar* theWrappedObject) const; | ||||
void paintEvent(QToolBar* theWrappedObject, QPaintEvent* event); | ||||
void resizeEvent(QToolBar* theWrappedObject, QResizeEvent* event); | ||||
void setAllowedAreas(QToolBar* theWrappedObject, Qt::ToolBarAreas areas); | ||||
void setFloatable(QToolBar* theWrappedObject, bool floatable); | ||||
void setMovable(QToolBar* theWrappedObject, bool movable); | ||||
void setOrientation(QToolBar* theWrappedObject, Qt::Orientation orientation); | ||||
QAction* toggleViewAction(QToolBar* theWrappedObject) const; | ||||
Qt::ToolButtonStyle toolButtonStyle(QToolBar* theWrappedObject) const; | ||||
QWidget* widgetForAction(QToolBar* theWrappedObject, QAction* action) const; | ||||
QAction* addAction (QToolBar* menu, const QString & text, PyObject* callable) | ||||
{ | ||||
QAction* a = menu->addAction(text); | ||||
PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); | ||||
return a; | ||||
} | ||||
QAction* addAction (QToolBar* menu, const QIcon& icon, const QString& text, PyObject* callable) | ||||
{ | ||||
QAction* a = menu->addAction(text); | ||||
a->setIcon(icon); | ||||
PythonQt::self()->addSignalHandler(a, SIGNAL(triggered(bool)), callable); | ||||
return a; | ||||
} | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtWrapper_QToolBarChangeEvent : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QToolBarChangeEvent* new_QToolBarChangeEvent(bool t); | ||||
void delete_QToolBarChangeEvent(QToolBarChangeEvent* obj) { delete obj; } | ||||
bool toggle(QToolBarChangeEvent* theWrappedObject) const; | ||||
}; | ||||
class PythonQtShell_QToolBox : public QToolBox | ||||
florianlink
|
r110 | { | ||
public: | ||||
florianlink
|
r186 | PythonQtShell_QToolBox(QWidget* parent = 0, Qt::WindowFlags f = 0):QToolBox(parent, f),_wrapper(NULL) {}; | ||
~PythonQtShell_QToolBox(); | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | virtual void actionEvent(QActionEvent* arg__1); | ||
virtual void changeEvent(QEvent* arg__1); | ||||
florianlink
|
r120 | virtual void childEvent(QChildEvent* arg__1); | ||
florianlink
|
r186 | virtual void closeEvent(QCloseEvent* arg__1); | ||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
florianlink
|
r120 | virtual void customEvent(QEvent* arg__1); | ||
florianlink
|
r186 | virtual int devType() const; | ||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* e); | ||||
florianlink
|
r128 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
florianlink
|
r186 | virtual void focusInEvent(QFocusEvent* arg__1); | ||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* arg__1); | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
virtual void itemInserted(int index); | ||||
virtual void itemRemoved(int index); | ||||
virtual void keyPressEvent(QKeyEvent* arg__1); | ||||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void languageChange(); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual QSize minimumSizeHint() const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
virtual void mouseMoveEvent(QMouseEvent* arg__1); | ||||
virtual void mousePressEvent(QMouseEvent* arg__1); | ||||
virtual void mouseReleaseEvent(QMouseEvent* arg__1); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* arg__1); | ||||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
virtual void showEvent(QShowEvent* e); | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r186 | virtual void wheelEvent(QWheelEvent* arg__1); | ||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r186 | class PythonQtPublicPromoter_QToolBox : public QToolBox | ||
{ public: | ||||
inline void promoted_changeEvent(QEvent* arg__1) { QToolBox::changeEvent(arg__1); } | ||||
inline bool promoted_event(QEvent* e) { return QToolBox::event(e); } | ||||
inline void promoted_itemInserted(int index) { QToolBox::itemInserted(index); } | ||||
inline void promoted_itemRemoved(int index) { QToolBox::itemRemoved(index); } | ||||
inline void promoted_showEvent(QShowEvent* e) { QToolBox::showEvent(e); } | ||||
}; | ||||
class PythonQtWrapper_QToolBox : public QObject | ||||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r186 | QToolBox* new_QToolBox(QWidget* parent = 0, Qt::WindowFlags f = 0); | ||
void delete_QToolBox(QToolBox* obj) { delete obj; } | ||||
int addItem(QToolBox* theWrappedObject, QWidget* widget, const QIcon& icon, const QString& text); | ||||
int addItem(QToolBox* theWrappedObject, QWidget* widget, const QString& text); | ||||
void changeEvent(QToolBox* theWrappedObject, QEvent* arg__1); | ||||
int count(QToolBox* theWrappedObject) const; | ||||
int currentIndex(QToolBox* theWrappedObject) const; | ||||
QWidget* currentWidget(QToolBox* theWrappedObject) const; | ||||
bool event(QToolBox* theWrappedObject, QEvent* e); | ||||
int indexOf(QToolBox* theWrappedObject, QWidget* widget) const; | ||||
int insertItem(QToolBox* theWrappedObject, int index, QWidget* widget, const QIcon& icon, const QString& text); | ||||
int insertItem(QToolBox* theWrappedObject, int index, QWidget* widget, const QString& text); | ||||
bool isItemEnabled(QToolBox* theWrappedObject, int index) const; | ||||
QIcon itemIcon(QToolBox* theWrappedObject, int index) const; | ||||
void itemInserted(QToolBox* theWrappedObject, int index); | ||||
void itemRemoved(QToolBox* theWrappedObject, int index); | ||||
QString itemText(QToolBox* theWrappedObject, int index) const; | ||||
QString itemToolTip(QToolBox* theWrappedObject, int index) const; | ||||
void removeItem(QToolBox* theWrappedObject, int index); | ||||
void setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled); | ||||
void setItemIcon(QToolBox* theWrappedObject, int index, const QIcon& icon); | ||||
void setItemText(QToolBox* theWrappedObject, int index, const QString& text); | ||||
void setItemToolTip(QToolBox* theWrappedObject, int index, const QString& toolTip); | ||||
void showEvent(QToolBox* theWrappedObject, QShowEvent* e); | ||||
QWidget* widget(QToolBox* theWrappedObject, int index) const; | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtShell_QToolButton : public QToolButton | ||
florianlink
|
r110 | { | ||
public: | ||||
florianlink
|
r186 | PythonQtShell_QToolButton(QWidget* parent = 0):QToolButton(parent),_wrapper(NULL) {}; | ||
~PythonQtShell_QToolButton(); | ||||
florianlink
|
r110 | |||
florianlink
|
r128 | virtual void actionEvent(QActionEvent* arg__1); | ||
virtual void changeEvent(QEvent* arg__1); | ||||
florianlink
|
r186 | virtual void checkStateSet(); | ||
florianlink
|
r128 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual int devType() const; | ||||
florianlink
|
r186 | virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
florianlink
|
r128 | virtual void enterEvent(QEvent* arg__1); | ||
virtual bool event(QEvent* e); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
florianlink
|
r186 | virtual void focusInEvent(QFocusEvent* e); | ||
florianlink
|
r128 | virtual bool focusNextPrevChild(bool next); | ||
florianlink
|
r186 | virtual void focusOutEvent(QFocusEvent* e); | ||
florianlink
|
r128 | virtual int heightForWidth(int arg__1) const; | ||
virtual void hideEvent(QHideEvent* arg__1); | ||||
florianlink
|
r186 | virtual bool hitButton(const QPoint& pos) const; | ||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
virtual void keyPressEvent(QKeyEvent* e); | ||||
virtual void keyReleaseEvent(QKeyEvent* e); | ||||
florianlink
|
r128 | virtual void languageChange(); | ||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
florianlink
|
r186 | virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||
florianlink
|
r110 | virtual void mouseMoveEvent(QMouseEvent* e); | ||
florianlink
|
r186 | virtual void mousePressEvent(QMouseEvent* arg__1); | ||
virtual void mouseReleaseEvent(QMouseEvent* arg__1); | ||||
florianlink
|
r128 | virtual void moveEvent(QMoveEvent* arg__1); | ||
florianlink
|
r186 | virtual void nextCheckState(); | ||
florianlink
|
r128 | virtual QPaintEngine* paintEngine() const; | ||
florianlink
|
r186 | virtual void paintEvent(QPaintEvent* arg__1); | ||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
florianlink
|
r128 | virtual void showEvent(QShowEvent* arg__1); | ||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
florianlink
|
r186 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r110 | virtual void wheelEvent(QWheelEvent* arg__1); | ||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r186 | class PythonQtPublicPromoter_QToolButton : public QToolButton | ||
{ public: | ||||
inline void promoted_actionEvent(QActionEvent* arg__1) { QToolButton::actionEvent(arg__1); } | ||||
inline void promoted_changeEvent(QEvent* arg__1) { QToolButton::changeEvent(arg__1); } | ||||
inline void promoted_enterEvent(QEvent* arg__1) { QToolButton::enterEvent(arg__1); } | ||||
inline bool promoted_event(QEvent* e) { return QToolButton::event(e); } | ||||
inline bool promoted_hitButton(const QPoint& pos) const { return QToolButton::hitButton(pos); } | ||||
inline void promoted_leaveEvent(QEvent* arg__1) { QToolButton::leaveEvent(arg__1); } | ||||
inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QToolButton::mousePressEvent(arg__1); } | ||||
inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QToolButton::mouseReleaseEvent(arg__1); } | ||||
inline void promoted_nextCheckState() { QToolButton::nextCheckState(); } | ||||
inline void promoted_paintEvent(QPaintEvent* arg__1) { QToolButton::paintEvent(arg__1); } | ||||
inline void promoted_timerEvent(QTimerEvent* arg__1) { QToolButton::timerEvent(arg__1); } | ||||
}; | ||||
class PythonQtWrapper_QToolButton : public QObject | ||||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r186 | QToolButton* new_QToolButton(QWidget* parent = 0); | ||
void delete_QToolButton(QToolButton* obj) { delete obj; } | ||||
void actionEvent(QToolButton* theWrappedObject, QActionEvent* arg__1); | ||||
Qt::ArrowType arrowType(QToolButton* theWrappedObject) const; | ||||
bool autoRaise(QToolButton* theWrappedObject) const; | ||||
void changeEvent(QToolButton* theWrappedObject, QEvent* arg__1); | ||||
QAction* defaultAction(QToolButton* theWrappedObject) const; | ||||
void enterEvent(QToolButton* theWrappedObject, QEvent* arg__1); | ||||
bool event(QToolButton* theWrappedObject, QEvent* e); | ||||
bool hitButton(QToolButton* theWrappedObject, const QPoint& pos) const; | ||||
void leaveEvent(QToolButton* theWrappedObject, QEvent* arg__1); | ||||
QMenu* menu(QToolButton* theWrappedObject) const; | ||||
QSize minimumSizeHint(QToolButton* theWrappedObject) const; | ||||
void mousePressEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1); | ||||
void mouseReleaseEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1); | ||||
void nextCheckState(QToolButton* theWrappedObject); | ||||
void paintEvent(QToolButton* theWrappedObject, QPaintEvent* arg__1); | ||||
QToolButton::ToolButtonPopupMode popupMode(QToolButton* theWrappedObject) const; | ||||
void setArrowType(QToolButton* theWrappedObject, Qt::ArrowType type); | ||||
void setAutoRaise(QToolButton* theWrappedObject, bool enable); | ||||
void setMenu(QToolButton* theWrappedObject, QMenu* menu); | ||||
void setPopupMode(QToolButton* theWrappedObject, QToolButton::ToolButtonPopupMode mode); | ||||
QSize sizeHint(QToolButton* theWrappedObject) const; | ||||
void timerEvent(QToolButton* theWrappedObject, QTimerEvent* arg__1); | ||||
Qt::ToolButtonStyle toolButtonStyle(QToolButton* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtWrapper_QToolTip : public QObject | ||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r186 | void delete_QToolTip(QToolTip* obj) { delete obj; } | ||
QFont static_QToolTip_font(); | ||||
void static_QToolTip_hideText(); | ||||
bool static_QToolTip_isVisible(); | ||||
QPalette static_QToolTip_palette(); | ||||
void static_QToolTip_setFont(const QFont& arg__1); | ||||
void static_QToolTip_setPalette(const QPalette& arg__1); | ||||
void static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w = 0); | ||||
void static_QToolTip_showText(const QPoint& pos, const QString& text, QWidget* w, const QRect& rect); | ||||
QString static_QToolTip_text(); | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtShell_QTouchEvent : public QTouchEvent | ||
florianlink
|
r110 | { | ||
public: | ||||
florianlink
|
r186 | PythonQtShell_QTouchEvent(QEvent::Type eventType, QTouchEvent::DeviceType deviceType = QTouchEvent::TouchScreen, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = 0, const QList<QTouchEvent::TouchPoint >& touchPoints = QList<QTouchEvent::TouchPoint>()):QTouchEvent(eventType, deviceType, modifiers, touchPointStates, touchPoints),_wrapper(NULL) {}; | ||
~PythonQtShell_QTouchEvent(); | ||||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r186 | class PythonQtWrapper_QTouchEvent : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
Q_ENUMS(DeviceType ) | ||||
enum DeviceType{ | ||||
TouchScreen = QTouchEvent::TouchScreen, TouchPad = QTouchEvent::TouchPad}; | ||||
public slots: | ||||
QTouchEvent* new_QTouchEvent(QEvent::Type eventType, QTouchEvent::DeviceType deviceType = QTouchEvent::TouchScreen, Qt::KeyboardModifiers modifiers = Qt::NoModifier, Qt::TouchPointStates touchPointStates = 0, const QList<QTouchEvent::TouchPoint >& touchPoints = QList<QTouchEvent::TouchPoint>()); | ||||
void delete_QTouchEvent(QTouchEvent* obj) { delete obj; } | ||||
QTouchEvent::DeviceType deviceType(QTouchEvent* theWrappedObject) const; | ||||
void setDeviceType(QTouchEvent* theWrappedObject, QTouchEvent::DeviceType adeviceType); | ||||
void setTouchPointStates(QTouchEvent* theWrappedObject, Qt::TouchPointStates aTouchPointStates); | ||||
void setTouchPoints(QTouchEvent* theWrappedObject, const QList<QTouchEvent::TouchPoint >& atouchPoints); | ||||
void setWidget(QTouchEvent* theWrappedObject, QWidget* awidget); | ||||
Qt::TouchPointStates touchPointStates(QTouchEvent* theWrappedObject) const; | ||||
const QList<QTouchEvent::TouchPoint >* touchPoints(QTouchEvent* theWrappedObject) const; | ||||
QWidget* widget(QTouchEvent* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | |||
class PythonQtWrapper_QTouchEvent_TouchPoint : public QObject | ||||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r186 | QTouchEvent::TouchPoint* new_QTouchEvent_TouchPoint(const QTouchEvent::TouchPoint& other); | ||
QTouchEvent::TouchPoint* new_QTouchEvent_TouchPoint(int id = -1); | ||||
void delete_QTouchEvent_TouchPoint(QTouchEvent::TouchPoint* obj) { delete obj; } | ||||
int id(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
bool isPrimary(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
QPointF lastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
QPointF lastPos(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
QPointF lastScenePos(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
QPointF lastScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
QPointF normalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
QTouchEvent::TouchPoint* operator_assign(QTouchEvent::TouchPoint* theWrappedObject, const QTouchEvent::TouchPoint& other); | ||||
QPointF pos(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
qreal pressure(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
QRectF rect(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
QPointF scenePos(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
QRectF sceneRect(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
QPointF screenPos(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
QRectF screenRect(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
void setId(QTouchEvent::TouchPoint* theWrappedObject, int id); | ||||
void setLastNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastNormalizedPos); | ||||
void setLastPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastPos); | ||||
void setLastScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScenePos); | ||||
void setLastScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& lastScreenPos); | ||||
void setNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& normalizedPos); | ||||
void setPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& pos); | ||||
void setPressure(QTouchEvent::TouchPoint* theWrappedObject, qreal pressure); | ||||
void setRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& rect); | ||||
void setScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& scenePos); | ||||
void setSceneRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& sceneRect); | ||||
void setScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& screenPos); | ||||
void setScreenRect(QTouchEvent::TouchPoint* theWrappedObject, const QRectF& screenRect); | ||||
void setStartNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startNormalizedPos); | ||||
void setStartPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startPos); | ||||
void setStartScenePos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScenePos); | ||||
void setStartScreenPos(QTouchEvent::TouchPoint* theWrappedObject, const QPointF& startScreenPos); | ||||
void setState(QTouchEvent::TouchPoint* theWrappedObject, Qt::TouchPointStates state); | ||||
QPointF startNormalizedPos(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
QPointF startPos(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
QPointF startScenePos(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
QPointF startScreenPos(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
Qt::TouchPointState state(QTouchEvent::TouchPoint* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtWrapper_QTransform : public QObject | ||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r186 | Q_ENUMS(TransformationType ) | ||
enum TransformationType{ | ||||
TxNone = QTransform::TxNone, TxTranslate = QTransform::TxTranslate, TxScale = QTransform::TxScale, TxRotate = QTransform::TxRotate, TxShear = QTransform::TxShear, TxProject = QTransform::TxProject}; | ||||
florianlink
|
r110 | public slots: | ||
florianlink
|
r186 | QTransform* new_QTransform(); | ||
QTransform* new_QTransform(const QMatrix& mtx); | ||||
QTransform* new_QTransform(qreal h11, qreal h12, qreal h13, qreal h21, qreal h22, qreal h23, qreal h31, qreal h32, qreal h33 = 1.0); | ||||
QTransform* new_QTransform(qreal h11, qreal h12, qreal h21, qreal h22, qreal dx, qreal dy); | ||||
QTransform* new_QTransform(const QTransform& other) { | ||||
QTransform* a = new QTransform(); | ||||
*((QTransform*)a) = other; | ||||
florianlink
|
r110 | return a; } | ||
florianlink
|
r186 | void delete_QTransform(QTransform* obj) { delete obj; } | ||
QTransform adjoint(QTransform* theWrappedObject) const; | ||||
qreal det(QTransform* theWrappedObject) const; | ||||
qreal determinant(QTransform* theWrappedObject) const; | ||||
qreal dx(QTransform* theWrappedObject) const; | ||||
qreal dy(QTransform* theWrappedObject) const; | ||||
QTransform static_QTransform_fromScale(qreal dx, qreal dy); | ||||
QTransform static_QTransform_fromTranslate(qreal dx, qreal dy); | ||||
QTransform inverted(QTransform* theWrappedObject, bool* invertible = 0) const; | ||||
bool isAffine(QTransform* theWrappedObject) const; | ||||
bool isIdentity(QTransform* theWrappedObject) const; | ||||
bool isInvertible(QTransform* theWrappedObject) const; | ||||
bool isRotating(QTransform* theWrappedObject) const; | ||||
bool isScaling(QTransform* theWrappedObject) const; | ||||
bool isTranslating(QTransform* theWrappedObject) const; | ||||
qreal m11(QTransform* theWrappedObject) const; | ||||
qreal m12(QTransform* theWrappedObject) const; | ||||
qreal m13(QTransform* theWrappedObject) const; | ||||
qreal m21(QTransform* theWrappedObject) const; | ||||
qreal m22(QTransform* theWrappedObject) const; | ||||
qreal m23(QTransform* theWrappedObject) const; | ||||
qreal m31(QTransform* theWrappedObject) const; | ||||
qreal m32(QTransform* theWrappedObject) const; | ||||
qreal m33(QTransform* theWrappedObject) const; | ||||
QLine map(QTransform* theWrappedObject, const QLine& l) const; | ||||
QLineF map(QTransform* theWrappedObject, const QLineF& l) const; | ||||
QPainterPath map(QTransform* theWrappedObject, const QPainterPath& p) const; | ||||
QPoint map(QTransform* theWrappedObject, const QPoint& p) const; | ||||
QPointF map(QTransform* theWrappedObject, const QPointF& p) const; | ||||
QPolygon map(QTransform* theWrappedObject, const QPolygon& a) const; | ||||
QPolygonF map(QTransform* theWrappedObject, const QPolygonF& a) const; | ||||
QRegion map(QTransform* theWrappedObject, const QRegion& r) const; | ||||
void map(QTransform* theWrappedObject, qreal x, qreal y, qreal* tx, qreal* ty) const; | ||||
QRect mapRect(QTransform* theWrappedObject, const QRect& arg__1) const; | ||||
QRectF mapRect(QTransform* theWrappedObject, const QRectF& arg__1) const; | ||||
QPolygon mapToPolygon(QTransform* theWrappedObject, const QRect& r) const; | ||||
bool __ne__(QTransform* theWrappedObject, const QTransform& arg__1) const; | ||||
QTransform multiplied(QTransform* theWrappedObject, const QTransform& o) const; | ||||
QTransform __mul__(QTransform* theWrappedObject, qreal n); | ||||
QTransform* __imul__(QTransform* theWrappedObject, const QTransform& arg__1); | ||||
QTransform* __imul__(QTransform* theWrappedObject, qreal div); | ||||
QTransform __add__(QTransform* theWrappedObject, qreal n); | ||||
QTransform* __iadd__(QTransform* theWrappedObject, qreal div); | ||||
QTransform __sub__(QTransform* theWrappedObject, qreal n); | ||||
QTransform* __isub__(QTransform* theWrappedObject, qreal div); | ||||
QTransform __div__(QTransform* theWrappedObject, qreal n); | ||||
QTransform* __idiv__(QTransform* theWrappedObject, qreal div); | ||||
void writeTo(QTransform* theWrappedObject, QDataStream& arg__1); | ||||
bool __eq__(QTransform* theWrappedObject, const QTransform& arg__1) const; | ||||
void readFrom(QTransform* theWrappedObject, QDataStream& arg__1); | ||||
bool static_QTransform_quadToQuad(const QPolygonF& one, const QPolygonF& two, QTransform& result); | ||||
bool static_QTransform_quadToSquare(const QPolygonF& quad, QTransform& result); | ||||
void reset(QTransform* theWrappedObject); | ||||
QTransform* rotate(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis); | ||||
QTransform* rotateRadians(QTransform* theWrappedObject, qreal a, Qt::Axis axis = Qt::ZAxis); | ||||
QTransform* scale(QTransform* theWrappedObject, qreal sx, qreal sy); | ||||
void setMatrix(QTransform* theWrappedObject, qreal m11, qreal m12, qreal m13, qreal m21, qreal m22, qreal m23, qreal m31, qreal m32, qreal m33); | ||||
QTransform* shear(QTransform* theWrappedObject, qreal sh, qreal sv); | ||||
bool static_QTransform_squareToQuad(const QPolygonF& square, QTransform& result); | ||||
const QMatrix* toAffine(QTransform* theWrappedObject) const; | ||||
QTransform* translate(QTransform* theWrappedObject, qreal dx, qreal dy); | ||||
QTransform transposed(QTransform* theWrappedObject) const; | ||||
QTransform::TransformationType type(QTransform* theWrappedObject) const; | ||||
QString py_toString(QTransform*); | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtShell_QTreeView : public QTreeView | ||
{ | ||||
florianlink
|
r110 | public: | ||
florianlink
|
r186 | PythonQtShell_QTreeView(QWidget* parent = 0):QTreeView(parent),_wrapper(NULL) {}; | ||
florianlink
|
r110 | |||
florianlink
|
r186 | ~PythonQtShell_QTreeView(); | ||
florianlink
|
r110 | |||
florianlink
|
r186 | 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); | ||||
virtual int devType() const; | ||||
virtual void doItemsLayout(); | ||||
virtual void dragEnterEvent(QDragEnterEvent* event); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* event); | ||||
virtual void dragMoveEvent(QDragMoveEvent* event); | ||||
virtual void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const; | ||||
virtual void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; | ||||
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 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 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 languageChange(); | ||||
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 QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* event); | ||||
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 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 QRect visualRect(const QModelIndex& index) const; | ||||
virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; | ||||
virtual void wheelEvent(QWheelEvent* arg__1); | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | PythonQtInstanceWrapper* _wrapper; | ||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtPublicPromoter_QTreeView : public QTreeView | ||
{ public: | ||||
inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QTreeView::currentChanged(current, previous); } | ||||
inline void promoted_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) { QTreeView::dataChanged(topLeft, bottomRight); } | ||||
inline void promoted_doItemsLayout() { QTreeView::doItemsLayout(); } | ||||
inline void promoted_dragMoveEvent(QDragMoveEvent* event) { QTreeView::dragMoveEvent(event); } | ||||
inline void promoted_drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const { QTreeView::drawBranches(painter, rect, index); } | ||||
inline void promoted_drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const { QTreeView::drawRow(painter, options, index); } | ||||
inline int promoted_horizontalOffset() const { return QTreeView::horizontalOffset(); } | ||||
inline void promoted_horizontalScrollbarAction(int action) { QTreeView::horizontalScrollbarAction(action); } | ||||
inline QModelIndex promoted_indexAt(const QPoint& p) const { return QTreeView::indexAt(p); } | ||||
inline bool promoted_isIndexHidden(const QModelIndex& index) const { return QTreeView::isIndexHidden(index); } | ||||
inline void promoted_keyPressEvent(QKeyEvent* event) { QTreeView::keyPressEvent(event); } | ||||
inline void promoted_keyboardSearch(const QString& search) { QTreeView::keyboardSearch(search); } | ||||
inline void promoted_mouseDoubleClickEvent(QMouseEvent* event) { QTreeView::mouseDoubleClickEvent(event); } | ||||
inline void promoted_mouseMoveEvent(QMouseEvent* event) { QTreeView::mouseMoveEvent(event); } | ||||
inline void promoted_mousePressEvent(QMouseEvent* event) { QTreeView::mousePressEvent(event); } | ||||
inline void promoted_mouseReleaseEvent(QMouseEvent* event) { QTreeView::mouseReleaseEvent(event); } | ||||
inline void promoted_paintEvent(QPaintEvent* event) { QTreeView::paintEvent(event); } | ||||
inline void promoted_reset() { QTreeView::reset(); } | ||||
inline void promoted_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { QTreeView::rowsAboutToBeRemoved(parent, start, end); } | ||||
inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { QTreeView::rowsInserted(parent, start, end); } | ||||
inline void promoted_scrollContentsBy(int dx, int dy) { QTreeView::scrollContentsBy(dx, dy); } | ||||
inline void promoted_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QTreeView::scrollTo(index, hint); } | ||||
inline void promoted_selectAll() { QTreeView::selectAll(); } | ||||
inline QList<QModelIndex > promoted_selectedIndexes() const { return QTreeView::selectedIndexes(); } | ||||
inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QTreeView::selectionChanged(selected, deselected); } | ||||
inline void promoted_setModel(QAbstractItemModel* model) { QTreeView::setModel(model); } | ||||
inline void promoted_setRootIndex(const QModelIndex& index) { QTreeView::setRootIndex(index); } | ||||
inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QTreeView::setSelection(rect, command); } | ||||
inline void promoted_setSelectionModel(QItemSelectionModel* selectionModel) { QTreeView::setSelectionModel(selectionModel); } | ||||
inline int promoted_sizeHintForColumn(int column) const { return QTreeView::sizeHintForColumn(column); } | ||||
inline void promoted_timerEvent(QTimerEvent* event) { QTreeView::timerEvent(event); } | ||||
inline void promoted_updateGeometries() { QTreeView::updateGeometries(); } | ||||
inline int promoted_verticalOffset() const { return QTreeView::verticalOffset(); } | ||||
inline bool promoted_viewportEvent(QEvent* event) { return QTreeView::viewportEvent(event); } | ||||
inline QRect promoted_visualRect(const QModelIndex& index) const { return QTreeView::visualRect(index); } | ||||
inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return QTreeView::visualRegionForSelection(selection); } | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtWrapper_QTreeView : public QObject | ||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r186 | QTreeView* new_QTreeView(QWidget* parent = 0); | ||
void delete_QTreeView(QTreeView* obj) { delete obj; } | ||||
bool allColumnsShowFocus(QTreeView* theWrappedObject) const; | ||||
int autoExpandDelay(QTreeView* theWrappedObject) const; | ||||
int columnAt(QTreeView* theWrappedObject, int x) const; | ||||
int columnViewportPosition(QTreeView* theWrappedObject, int column) const; | ||||
int columnWidth(QTreeView* theWrappedObject, int column) const; | ||||
void currentChanged(QTreeView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous); | ||||
void dataChanged(QTreeView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight); | ||||
void doItemsLayout(QTreeView* theWrappedObject); | ||||
void dragMoveEvent(QTreeView* theWrappedObject, QDragMoveEvent* event); | ||||
void drawBranches(QTreeView* theWrappedObject, QPainter* painter, const QRect& rect, const QModelIndex& index) const; | ||||
void drawRow(QTreeView* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; | ||||
bool expandsOnDoubleClick(QTreeView* theWrappedObject) const; | ||||
QHeaderView* header(QTreeView* theWrappedObject) const; | ||||
int horizontalOffset(QTreeView* theWrappedObject) const; | ||||
void horizontalScrollbarAction(QTreeView* theWrappedObject, int action); | ||||
int indentation(QTreeView* theWrappedObject) const; | ||||
QModelIndex indexAbove(QTreeView* theWrappedObject, const QModelIndex& index) const; | ||||
QModelIndex indexAt(QTreeView* theWrappedObject, const QPoint& p) const; | ||||
QModelIndex indexBelow(QTreeView* theWrappedObject, const QModelIndex& index) const; | ||||
bool isAnimated(QTreeView* theWrappedObject) const; | ||||
bool isColumnHidden(QTreeView* theWrappedObject, int column) const; | ||||
bool isExpanded(QTreeView* theWrappedObject, const QModelIndex& index) const; | ||||
bool isFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const; | ||||
bool isHeaderHidden(QTreeView* theWrappedObject) const; | ||||
bool isIndexHidden(QTreeView* theWrappedObject, const QModelIndex& index) const; | ||||
bool isRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent) const; | ||||
bool isSortingEnabled(QTreeView* theWrappedObject) const; | ||||
bool itemsExpandable(QTreeView* theWrappedObject) const; | ||||
void keyPressEvent(QTreeView* theWrappedObject, QKeyEvent* event); | ||||
void keyboardSearch(QTreeView* theWrappedObject, const QString& search); | ||||
void mouseDoubleClickEvent(QTreeView* theWrappedObject, QMouseEvent* event); | ||||
void mouseMoveEvent(QTreeView* theWrappedObject, QMouseEvent* event); | ||||
void mousePressEvent(QTreeView* theWrappedObject, QMouseEvent* event); | ||||
void mouseReleaseEvent(QTreeView* theWrappedObject, QMouseEvent* event); | ||||
void paintEvent(QTreeView* theWrappedObject, QPaintEvent* event); | ||||
void reset(QTreeView* theWrappedObject); | ||||
bool rootIsDecorated(QTreeView* theWrappedObject) const; | ||||
void rowsAboutToBeRemoved(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end); | ||||
void rowsInserted(QTreeView* theWrappedObject, const QModelIndex& parent, int start, int end); | ||||
void scrollContentsBy(QTreeView* theWrappedObject, int dx, int dy); | ||||
void scrollTo(QTreeView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); | ||||
void selectAll(QTreeView* theWrappedObject); | ||||
QList<QModelIndex > selectedIndexes(QTreeView* theWrappedObject) const; | ||||
void selectionChanged(QTreeView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected); | ||||
void setAllColumnsShowFocus(QTreeView* theWrappedObject, bool enable); | ||||
void setAnimated(QTreeView* theWrappedObject, bool enable); | ||||
void setAutoExpandDelay(QTreeView* theWrappedObject, int delay); | ||||
void setColumnHidden(QTreeView* theWrappedObject, int column, bool hide); | ||||
void setColumnWidth(QTreeView* theWrappedObject, int column, int width); | ||||
void setExpanded(QTreeView* theWrappedObject, const QModelIndex& index, bool expand); | ||||
void setExpandsOnDoubleClick(QTreeView* theWrappedObject, bool enable); | ||||
void setFirstColumnSpanned(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool span); | ||||
void setHeader(QTreeView* theWrappedObject, QHeaderView* header); | ||||
void setHeaderHidden(QTreeView* theWrappedObject, bool hide); | ||||
void setIndentation(QTreeView* theWrappedObject, int i); | ||||
void setItemsExpandable(QTreeView* theWrappedObject, bool enable); | ||||
void setModel(QTreeView* theWrappedObject, QAbstractItemModel* model); | ||||
void setRootIndex(QTreeView* theWrappedObject, const QModelIndex& index); | ||||
void setRootIsDecorated(QTreeView* theWrappedObject, bool show); | ||||
void setRowHidden(QTreeView* theWrappedObject, int row, const QModelIndex& parent, bool hide); | ||||
void setSelection(QTreeView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command); | ||||
void setSelectionModel(QTreeView* theWrappedObject, QItemSelectionModel* selectionModel); | ||||
void setSortingEnabled(QTreeView* theWrappedObject, bool enable); | ||||
void setUniformRowHeights(QTreeView* theWrappedObject, bool uniform); | ||||
void setWordWrap(QTreeView* theWrappedObject, bool on); | ||||
int sizeHintForColumn(QTreeView* theWrappedObject, int column) const; | ||||
void sortByColumn(QTreeView* theWrappedObject, int column, Qt::SortOrder order); | ||||
void timerEvent(QTreeView* theWrappedObject, QTimerEvent* event); | ||||
bool uniformRowHeights(QTreeView* theWrappedObject) const; | ||||
void updateGeometries(QTreeView* theWrappedObject); | ||||
int verticalOffset(QTreeView* theWrappedObject) const; | ||||
bool viewportEvent(QTreeView* theWrappedObject, QEvent* event); | ||||
QRect visualRect(QTreeView* theWrappedObject, const QModelIndex& index) const; | ||||
QRegion visualRegionForSelection(QTreeView* theWrappedObject, const QItemSelection& selection) const; | ||||
bool wordWrap(QTreeView* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtShell_QTreeWidget : public QTreeWidget | ||
florianlink
|
r110 | { | ||
public: | ||||
florianlink
|
r186 | PythonQtShell_QTreeWidget(QWidget* parent = 0):QTreeWidget(parent),_wrapper(NULL) {}; | ||
florianlink
|
r110 | |||
florianlink
|
r186 | ~PythonQtShell_QTreeWidget(); | ||
florianlink
|
r110 | |||
florianlink
|
r128 | virtual void actionEvent(QActionEvent* arg__1); | ||
florianlink
|
r120 | virtual void changeEvent(QEvent* arg__1); | ||
florianlink
|
r128 | virtual void childEvent(QChildEvent* arg__1); | ||
florianlink
|
r186 | virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); | ||
florianlink
|
r128 | virtual void closeEvent(QCloseEvent* arg__1); | ||
florianlink
|
r186 | virtual void commitData(QWidget* editor); | ||
florianlink
|
r128 | virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||
florianlink
|
r186 | virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); | ||
florianlink
|
r128 | virtual void customEvent(QEvent* arg__1); | ||
florianlink
|
r186 | virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); | ||
virtual int devType() const; | ||||
virtual void doItemsLayout(); | ||||
virtual void dragEnterEvent(QDragEnterEvent* event); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* event); | ||||
virtual void dragMoveEvent(QDragMoveEvent* event); | ||||
virtual void drawBranches(QPainter* painter, const QRect& rect, const QModelIndex& index) const; | ||||
virtual void drawRow(QPainter* painter, const QStyleOptionViewItem& options, const QModelIndex& index) const; | ||||
virtual void dropEvent(QDropEvent* event); | ||||
virtual bool dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action); | ||||
virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); | ||||
virtual void editorDestroyed(QObject* editor); | ||||
florianlink
|
r120 | virtual void enterEvent(QEvent* arg__1); | ||
florianlink
|
r186 | virtual bool event(QEvent* e); | ||
florianlink
|
r128 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
florianlink
|
r186 | virtual void focusInEvent(QFocusEvent* event); | ||
florianlink
|
r128 | virtual bool focusNextPrevChild(bool next); | ||
florianlink
|
r186 | virtual void focusOutEvent(QFocusEvent* event); | ||
florianlink
|
r128 | virtual int heightForWidth(int arg__1) const; | ||
florianlink
|
r120 | virtual void hideEvent(QHideEvent* arg__1); | ||
florianlink
|
r186 | virtual int horizontalOffset() const; | ||
virtual void horizontalScrollbarAction(int action); | ||||
virtual void horizontalScrollbarValueChanged(int value); | ||||
virtual QModelIndex indexAt(const QPoint& p) const; | ||||
virtual void inputMethodEvent(QInputMethodEvent* event); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; | ||||
virtual bool isIndexHidden(const QModelIndex& index) const; | ||||
virtual void keyPressEvent(QKeyEvent* event); | ||||
florianlink
|
r110 | virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||
florianlink
|
r186 | virtual void keyboardSearch(const QString& search); | ||
florianlink
|
r128 | virtual void languageChange(); | ||
virtual void leaveEvent(QEvent* arg__1); | ||||
florianlink
|
r120 | virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||
florianlink
|
r186 | virtual QMimeData* mimeData(const QList<QTreeWidgetItem* > 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); | ||||
florianlink
|
r128 | virtual void moveEvent(QMoveEvent* arg__1); | ||
virtual QPaintEngine* paintEngine() const; | ||||
florianlink
|
r186 | virtual void paintEvent(QPaintEvent* event); | ||
virtual void reset(); | ||||
virtual void resizeEvent(QResizeEvent* event); | ||||
virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); | ||||
virtual void rowsInserted(const QModelIndex& parent, int start, int end); | ||||
virtual void scrollContentsBy(int dx, int dy); | ||||
virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint); | ||||
virtual void selectAll(); | ||||
virtual QList<QModelIndex > selectedIndexes() const; | ||||
virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); | ||||
virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; | ||||
virtual void setRootIndex(const QModelIndex& index); | ||||
virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); | ||||
virtual void setSelectionModel(QItemSelectionModel* selectionModel); | ||||
florianlink
|
r128 | virtual void showEvent(QShowEvent* arg__1); | ||
florianlink
|
r186 | virtual int sizeHintForColumn(int column) const; | ||
virtual int sizeHintForRow(int row) const; | ||||
virtual void startDrag(Qt::DropActions supportedActions); | ||||
virtual Qt::DropActions supportedDropActions() const; | ||||
florianlink
|
r110 | virtual void tabletEvent(QTabletEvent* arg__1); | ||
florianlink
|
r186 | virtual void timerEvent(QTimerEvent* event); | ||
virtual void updateEditorData(); | ||||
virtual void updateEditorGeometries(); | ||||
virtual void updateGeometries(); | ||||
virtual int verticalOffset() const; | ||||
virtual void verticalScrollbarAction(int action); | ||||
virtual void verticalScrollbarValueChanged(int value); | ||||
virtual QStyleOptionViewItem viewOptions() const; | ||||
virtual bool viewportEvent(QEvent* event); | ||||
virtual QRect visualRect(const QModelIndex& index) const; | ||||
virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; | ||||
florianlink
|
r128 | virtual void wheelEvent(QWheelEvent* arg__1); | ||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r186 | class PythonQtPublicPromoter_QTreeWidget : public QTreeWidget | ||
florianlink
|
r110 | { public: | ||
florianlink
|
r186 | inline void promoted_dropEvent(QDropEvent* event) { QTreeWidget::dropEvent(event); } | ||
inline bool promoted_dropMimeData(QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action) { return QTreeWidget::dropMimeData(parent, index, data, action); } | ||||
inline bool promoted_event(QEvent* e) { return QTreeWidget::event(e); } | ||||
inline QStringList promoted_mimeTypes() const { return QTreeWidget::mimeTypes(); } | ||||
inline void promoted_setSelectionModel(QItemSelectionModel* selectionModel) { QTreeWidget::setSelectionModel(selectionModel); } | ||||
inline Qt::DropActions promoted_supportedDropActions() const { return QTreeWidget::supportedDropActions(); } | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtWrapper_QTreeWidget : public QObject | ||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r186 | QTreeWidget* new_QTreeWidget(QWidget* parent = 0); | ||
void delete_QTreeWidget(QTreeWidget* obj) { delete obj; } | ||||
void addTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item); | ||||
void addTopLevelItems(QTreeWidget* theWrappedObject, const QList<QTreeWidgetItem* >& items); | ||||
void closePersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); | ||||
int columnCount(QTreeWidget* theWrappedObject) const; | ||||
int currentColumn(QTreeWidget* theWrappedObject) const; | ||||
QTreeWidgetItem* currentItem(QTreeWidget* theWrappedObject) const; | ||||
void dropEvent(QTreeWidget* theWrappedObject, QDropEvent* event); | ||||
bool dropMimeData(QTreeWidget* theWrappedObject, QTreeWidgetItem* parent, int index, const QMimeData* data, Qt::DropAction action); | ||||
void editItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); | ||||
bool event(QTreeWidget* theWrappedObject, QEvent* e); | ||||
QList<QTreeWidgetItem* > findItems(QTreeWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags, int column = 0) const; | ||||
QTreeWidgetItem* headerItem(QTreeWidget* theWrappedObject) const; | ||||
int indexOfTopLevelItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item) const; | ||||
void insertTopLevelItem(QTreeWidget* theWrappedObject, int index, QTreeWidgetItem* item); | ||||
void insertTopLevelItems(QTreeWidget* theWrappedObject, int index, const QList<QTreeWidgetItem* >& items); | ||||
QTreeWidgetItem* invisibleRootItem(QTreeWidget* theWrappedObject) const; | ||||
bool isFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; | ||||
QTreeWidgetItem* itemAbove(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; | ||||
QTreeWidgetItem* itemAt(QTreeWidget* theWrappedObject, const QPoint& p) const; | ||||
QTreeWidgetItem* itemAt(QTreeWidget* theWrappedObject, int x, int y) const; | ||||
QTreeWidgetItem* itemBelow(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; | ||||
QWidget* itemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column) const; | ||||
QStringList mimeTypes(QTreeWidget* theWrappedObject) const; | ||||
void openPersistentEditor(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column = 0); | ||||
void removeItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column); | ||||
QList<QTreeWidgetItem* > selectedItems(QTreeWidget* theWrappedObject) const; | ||||
void setColumnCount(QTreeWidget* theWrappedObject, int columns); | ||||
void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item); | ||||
void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column); | ||||
void setCurrentItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QItemSelectionModel::SelectionFlags command); | ||||
void setFirstItemColumnSpanned(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item, bool span); | ||||
void setHeaderItem(QTreeWidget* theWrappedObject, QTreeWidgetItem* item); | ||||
void setHeaderLabel(QTreeWidget* theWrappedObject, const QString& label); | ||||
void setHeaderLabels(QTreeWidget* theWrappedObject, const QStringList& labels); | ||||
void setItemWidget(QTreeWidget* theWrappedObject, QTreeWidgetItem* item, int column, QWidget* widget); | ||||
void setSelectionModel(QTreeWidget* theWrappedObject, QItemSelectionModel* selectionModel); | ||||
int sortColumn(QTreeWidget* theWrappedObject) const; | ||||
void sortItems(QTreeWidget* theWrappedObject, int column, Qt::SortOrder order); | ||||
Qt::DropActions supportedDropActions(QTreeWidget* theWrappedObject) const; | ||||
QTreeWidgetItem* takeTopLevelItem(QTreeWidget* theWrappedObject, int index); | ||||
QTreeWidgetItem* topLevelItem(QTreeWidget* theWrappedObject, int index) const; | ||||
int topLevelItemCount(QTreeWidget* theWrappedObject) const; | ||||
QRect visualItemRect(QTreeWidget* theWrappedObject, const QTreeWidgetItem* item) const; | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtShell_QTreeWidgetItem : public QTreeWidgetItem | ||
florianlink
|
r110 | { | ||
public: | ||||
florianlink
|
r186 | PythonQtShell_QTreeWidgetItem(QTreeWidget* view, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(view, after, type),_wrapper(NULL) {}; | ||
PythonQtShell_QTreeWidgetItem(QTreeWidget* view, const QStringList& strings, int type = Type):QTreeWidgetItem(view, strings, type),_wrapper(NULL) {}; | ||||
PythonQtShell_QTreeWidgetItem(QTreeWidget* view, int type = Type):QTreeWidgetItem(view, type),_wrapper(NULL) {}; | ||||
PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type = Type):QTreeWidgetItem(parent, after, type),_wrapper(NULL) {}; | ||||
PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type):QTreeWidgetItem(parent, strings, type),_wrapper(NULL) {}; | ||||
PythonQtShell_QTreeWidgetItem(QTreeWidgetItem* parent, int type = Type):QTreeWidgetItem(parent, type),_wrapper(NULL) {}; | ||||
PythonQtShell_QTreeWidgetItem(const QStringList& strings, int type = Type):QTreeWidgetItem(strings, type),_wrapper(NULL) {}; | ||||
PythonQtShell_QTreeWidgetItem(int type = Type):QTreeWidgetItem(type),_wrapper(NULL) {}; | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | ~PythonQtShell_QTreeWidgetItem(); | ||
virtual QTreeWidgetItem* clone() const; | ||||
virtual QVariant data(int column, int role) const; | ||||
virtual bool __lt__(const QTreeWidgetItem& other) const; | ||||
virtual void read(QDataStream& in); | ||||
virtual void setData(int column, int role, const QVariant& value); | ||||
virtual void write(QDataStream& out) const; | ||||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r186 | class PythonQtPublicPromoter_QTreeWidgetItem : public QTreeWidgetItem | ||
florianlink
|
r110 | { public: | ||
florianlink
|
r186 | inline QTreeWidgetItem* promoted_clone() const { return QTreeWidgetItem::clone(); } | ||
inline QVariant promoted_data(int column, int role) const { return QTreeWidgetItem::data(column, role); } | ||||
inline void promoted_setData(int column, int role, const QVariant& value) { QTreeWidgetItem::setData(column, role, value); } | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtWrapper_QTreeWidgetItem : public QObject | ||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r186 | Q_ENUMS(ItemType ChildIndicatorPolicy ) | ||
enum ItemType{ | ||||
Type = QTreeWidgetItem::Type, UserType = QTreeWidgetItem::UserType}; | ||||
enum ChildIndicatorPolicy{ | ||||
ShowIndicator = QTreeWidgetItem::ShowIndicator, DontShowIndicator = QTreeWidgetItem::DontShowIndicator, DontShowIndicatorWhenChildless = QTreeWidgetItem::DontShowIndicatorWhenChildless}; | ||||
florianlink
|
r110 | public slots: | ||
florianlink
|
r186 | QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidget* view, QTreeWidgetItem* after, int type = Type); | ||
QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidget* view, const QStringList& strings, int type = Type); | ||||
QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidget* view, int type = Type); | ||||
QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidgetItem* parent, QTreeWidgetItem* after, int type = Type); | ||||
QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidgetItem* parent, const QStringList& strings, int type = Type); | ||||
QTreeWidgetItem* new_QTreeWidgetItem(QTreeWidgetItem* parent, int type = Type); | ||||
QTreeWidgetItem* new_QTreeWidgetItem(const QStringList& strings, int type = Type); | ||||
QTreeWidgetItem* new_QTreeWidgetItem(int type = Type); | ||||
void delete_QTreeWidgetItem(QTreeWidgetItem* obj) { delete obj; } | ||||
bool py_hasOwner(QTreeWidgetItem* theWrappedObject) { return theWrappedObject->treeWidget()!=NULL || theWrappedObject->parent()!=NULL; } | ||||
void addChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child); | ||||
void addChildren(QTreeWidgetItem* theWrappedObject, const QList<QTreeWidgetItem* >& children); | ||||
QBrush background(QTreeWidgetItem* theWrappedObject, int column) const; | ||||
Qt::CheckState checkState(QTreeWidgetItem* theWrappedObject, int column) const; | ||||
QTreeWidgetItem* child(QTreeWidgetItem* theWrappedObject, int index) const; | ||||
int childCount(QTreeWidgetItem* theWrappedObject) const; | ||||
QTreeWidgetItem::ChildIndicatorPolicy childIndicatorPolicy(QTreeWidgetItem* theWrappedObject) const; | ||||
QTreeWidgetItem* clone(QTreeWidgetItem* theWrappedObject) const; | ||||
int columnCount(QTreeWidgetItem* theWrappedObject) const; | ||||
QVariant data(QTreeWidgetItem* theWrappedObject, int column, int role) const; | ||||
Qt::ItemFlags flags(QTreeWidgetItem* theWrappedObject) const; | ||||
QFont font(QTreeWidgetItem* theWrappedObject, int column) const; | ||||
QBrush foreground(QTreeWidgetItem* theWrappedObject, int column) const; | ||||
QIcon icon(QTreeWidgetItem* theWrappedObject, int column) const; | ||||
int indexOfChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child) const; | ||||
void insertChild(QTreeWidgetItem* theWrappedObject, int index, QTreeWidgetItem* child); | ||||
void insertChildren(QTreeWidgetItem* theWrappedObject, int index, const QList<QTreeWidgetItem* >& children); | ||||
bool isDisabled(QTreeWidgetItem* theWrappedObject) const; | ||||
bool isExpanded(QTreeWidgetItem* theWrappedObject) const; | ||||
bool isFirstColumnSpanned(QTreeWidgetItem* theWrappedObject) const; | ||||
bool isHidden(QTreeWidgetItem* theWrappedObject) const; | ||||
bool isSelected(QTreeWidgetItem* theWrappedObject) const; | ||||
void writeTo(QTreeWidgetItem* theWrappedObject, QDataStream& out); | ||||
void readFrom(QTreeWidgetItem* theWrappedObject, QDataStream& in); | ||||
QTreeWidgetItem* parent(QTreeWidgetItem* theWrappedObject) const; | ||||
void removeChild(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem* child); | ||||
void setBackground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush); | ||||
void setCheckState(QTreeWidgetItem* theWrappedObject, int column, Qt::CheckState state); | ||||
void setChildIndicatorPolicy(QTreeWidgetItem* theWrappedObject, QTreeWidgetItem::ChildIndicatorPolicy policy); | ||||
void setData(QTreeWidgetItem* theWrappedObject, int column, int role, const QVariant& value); | ||||
void setDisabled(QTreeWidgetItem* theWrappedObject, bool disabled); | ||||
void setExpanded(QTreeWidgetItem* theWrappedObject, bool expand); | ||||
void setFirstColumnSpanned(QTreeWidgetItem* theWrappedObject, bool span); | ||||
void setFlags(QTreeWidgetItem* theWrappedObject, Qt::ItemFlags flags); | ||||
void setFont(QTreeWidgetItem* theWrappedObject, int column, const QFont& font); | ||||
void setForeground(QTreeWidgetItem* theWrappedObject, int column, const QBrush& brush); | ||||
void setHidden(QTreeWidgetItem* theWrappedObject, bool hide); | ||||
void setIcon(QTreeWidgetItem* theWrappedObject, int column, const QIcon& icon); | ||||
void setSelected(QTreeWidgetItem* theWrappedObject, bool select); | ||||
void setSizeHint(QTreeWidgetItem* theWrappedObject, int column, const QSize& size); | ||||
void setStatusTip(QTreeWidgetItem* theWrappedObject, int column, const QString& statusTip); | ||||
void setText(QTreeWidgetItem* theWrappedObject, int column, const QString& text); | ||||
void setTextAlignment(QTreeWidgetItem* theWrappedObject, int column, int alignment); | ||||
void setToolTip(QTreeWidgetItem* theWrappedObject, int column, const QString& toolTip); | ||||
void setWhatsThis(QTreeWidgetItem* theWrappedObject, int column, const QString& whatsThis); | ||||
QSize sizeHint(QTreeWidgetItem* theWrappedObject, int column) const; | ||||
void sortChildren(QTreeWidgetItem* theWrappedObject, int column, Qt::SortOrder order); | ||||
QString statusTip(QTreeWidgetItem* theWrappedObject, int column) const; | ||||
QTreeWidgetItem* takeChild(QTreeWidgetItem* theWrappedObject, int index); | ||||
QList<QTreeWidgetItem* > takeChildren(QTreeWidgetItem* theWrappedObject); | ||||
QString text(QTreeWidgetItem* theWrappedObject, int column) const; | ||||
int textAlignment(QTreeWidgetItem* theWrappedObject, int column) const; | ||||
QString toolTip(QTreeWidgetItem* theWrappedObject, int column) const; | ||||
QTreeWidget* treeWidget(QTreeWidgetItem* theWrappedObject) const; | ||||
int type(QTreeWidgetItem* theWrappedObject) const; | ||||
QString whatsThis(QTreeWidgetItem* theWrappedObject, int column) const; | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtShell_QUndoCommand : public QUndoCommand | ||
florianlink
|
r110 | { | ||
public: | ||||
florianlink
|
r186 | PythonQtShell_QUndoCommand(QUndoCommand* parent = 0):QUndoCommand(parent),_wrapper(NULL) {}; | ||
PythonQtShell_QUndoCommand(const QString& text, QUndoCommand* parent = 0):QUndoCommand(text, parent),_wrapper(NULL) {}; | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | ~PythonQtShell_QUndoCommand(); | ||
virtual int id() const; | ||||
virtual bool mergeWith(const QUndoCommand* other); | ||||
virtual void redo(); | ||||
virtual void undo(); | ||||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r186 | class PythonQtPublicPromoter_QUndoCommand : public QUndoCommand | ||
florianlink
|
r110 | { public: | ||
florianlink
|
r186 | inline int promoted_id() const { return QUndoCommand::id(); } | ||
inline bool promoted_mergeWith(const QUndoCommand* other) { return QUndoCommand::mergeWith(other); } | ||||
inline void promoted_redo() { QUndoCommand::redo(); } | ||||
inline void promoted_undo() { QUndoCommand::undo(); } | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtWrapper_QUndoCommand : public QObject | ||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r186 | QUndoCommand* new_QUndoCommand(QUndoCommand* parent = 0); | ||
QUndoCommand* new_QUndoCommand(const QString& text, QUndoCommand* parent = 0); | ||||
void delete_QUndoCommand(QUndoCommand* obj) { delete obj; } | ||||
QString actionText(QUndoCommand* theWrappedObject) const; | ||||
const QUndoCommand* child(QUndoCommand* theWrappedObject, int index) const; | ||||
int childCount(QUndoCommand* theWrappedObject) const; | ||||
int id(QUndoCommand* theWrappedObject) const; | ||||
bool mergeWith(QUndoCommand* theWrappedObject, const QUndoCommand* other); | ||||
void redo(QUndoCommand* theWrappedObject); | ||||
void setText(QUndoCommand* theWrappedObject, const QString& text); | ||||
QString text(QUndoCommand* theWrappedObject) const; | ||||
void undo(QUndoCommand* theWrappedObject); | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtShell_QUndoGroup : public QUndoGroup | ||
florianlink
|
r110 | { | ||
public: | ||||
florianlink
|
r186 | PythonQtShell_QUndoGroup(QObject* parent = 0):QUndoGroup(parent),_wrapper(NULL) {}; | ||
~PythonQtShell_QUndoGroup(); | ||||
florianlink
|
r110 | |||
florianlink
|
r128 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void customEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* arg__1); | ||||
florianlink
|
r186 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r186 | class PythonQtWrapper_QUndoGroup : public QObject | ||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r186 | QUndoGroup* new_QUndoGroup(QObject* parent = 0); | ||
void delete_QUndoGroup(QUndoGroup* obj) { delete obj; } | ||||
QUndoStack* activeStack(QUndoGroup* theWrappedObject) const; | ||||
void addStack(QUndoGroup* theWrappedObject, QUndoStack* stack); | ||||
bool canRedo(QUndoGroup* theWrappedObject) const; | ||||
bool canUndo(QUndoGroup* theWrappedObject) const; | ||||
QAction* createRedoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; | ||||
QAction* createUndoAction(QUndoGroup* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; | ||||
bool isClean(QUndoGroup* theWrappedObject) const; | ||||
QString redoText(QUndoGroup* theWrappedObject) const; | ||||
void removeStack(QUndoGroup* theWrappedObject, QUndoStack* stack); | ||||
QList<QUndoStack* > stacks(QUndoGroup* theWrappedObject) const; | ||||
QString undoText(QUndoGroup* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtShell_QUndoStack : public QUndoStack | ||
florianlink
|
r110 | { | ||
public: | ||||
florianlink
|
r186 | PythonQtShell_QUndoStack(QObject* parent = 0):QUndoStack(parent),_wrapper(NULL) {}; | ||
~PythonQtShell_QUndoStack(); | ||||
florianlink
|
r110 | |||
florianlink
|
r128 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r186 | virtual bool event(QEvent* arg__1); | ||
florianlink
|
r128 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r186 | class PythonQtWrapper_QUndoStack : public QObject | ||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r186 | QUndoStack* new_QUndoStack(QObject* parent = 0); | ||
void delete_QUndoStack(QUndoStack* obj) { delete obj; } | ||||
void beginMacro(QUndoStack* theWrappedObject, const QString& text); | ||||
bool canRedo(QUndoStack* theWrappedObject) const; | ||||
bool canUndo(QUndoStack* theWrappedObject) const; | ||||
int cleanIndex(QUndoStack* theWrappedObject) const; | ||||
void clear(QUndoStack* theWrappedObject); | ||||
const QUndoCommand* command(QUndoStack* theWrappedObject, int index) const; | ||||
int count(QUndoStack* theWrappedObject) const; | ||||
QAction* createRedoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; | ||||
QAction* createUndoAction(QUndoStack* theWrappedObject, QObject* parent, const QString& prefix = QString()) const; | ||||
void endMacro(QUndoStack* theWrappedObject); | ||||
int index(QUndoStack* theWrappedObject) const; | ||||
bool isActive(QUndoStack* theWrappedObject) const; | ||||
bool isClean(QUndoStack* theWrappedObject) const; | ||||
void push(QUndoStack* theWrappedObject, QUndoCommand* cmd); | ||||
QString redoText(QUndoStack* theWrappedObject) const; | ||||
void setUndoLimit(QUndoStack* theWrappedObject, int limit); | ||||
QString text(QUndoStack* theWrappedObject, int idx) const; | ||||
int undoLimit(QUndoStack* theWrappedObject) const; | ||||
QString undoText(QUndoStack* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtShell_QUndoView : public QUndoView | ||
florianlink
|
r110 | { | ||
public: | ||||
florianlink
|
r186 | PythonQtShell_QUndoView(QUndoGroup* group, QWidget* parent = 0):QUndoView(group, parent),_wrapper(NULL) {}; | ||
PythonQtShell_QUndoView(QUndoStack* stack, QWidget* parent = 0):QUndoView(stack, parent),_wrapper(NULL) {}; | ||||
PythonQtShell_QUndoView(QWidget* parent = 0):QUndoView(parent),_wrapper(NULL) {}; | ||||
~PythonQtShell_QUndoView(); | ||||
florianlink
|
r110 | |||
florianlink
|
r128 | virtual void actionEvent(QActionEvent* arg__1); | ||
virtual void changeEvent(QEvent* arg__1); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
florianlink
|
r186 | virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); | ||
florianlink
|
r120 | virtual void closeEvent(QCloseEvent* arg__1); | ||
florianlink
|
r186 | virtual void commitData(QWidget* editor); | ||
florianlink
|
r128 | virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||
florianlink
|
r186 | virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); | ||
florianlink
|
r128 | virtual void customEvent(QEvent* arg__1); | ||
florianlink
|
r186 | virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); | ||
florianlink
|
r128 | virtual int devType() const; | ||
florianlink
|
r186 | virtual void doItemsLayout(); | ||
virtual void dragEnterEvent(QDragEnterEvent* event); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* e); | ||||
virtual void dragMoveEvent(QDragMoveEvent* e); | ||||
virtual void dropEvent(QDropEvent* e); | ||||
virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); | ||||
virtual void editorDestroyed(QObject* editor); | ||||
florianlink
|
r120 | virtual void enterEvent(QEvent* arg__1); | ||
florianlink
|
r186 | virtual bool event(QEvent* e); | ||
florianlink
|
r128 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
florianlink
|
r186 | virtual void focusInEvent(QFocusEvent* event); | ||
florianlink
|
r128 | virtual bool focusNextPrevChild(bool next); | ||
florianlink
|
r186 | virtual void focusOutEvent(QFocusEvent* event); | ||
florianlink
|
r128 | virtual int heightForWidth(int arg__1) const; | ||
virtual void hideEvent(QHideEvent* arg__1); | ||||
florianlink
|
r186 | virtual int horizontalOffset() const; | ||
virtual void horizontalScrollbarAction(int action); | ||||
virtual void horizontalScrollbarValueChanged(int value); | ||||
virtual QModelIndex indexAt(const QPoint& p) const; | ||||
virtual void inputMethodEvent(QInputMethodEvent* event); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; | ||||
virtual bool isIndexHidden(const QModelIndex& index) const; | ||||
virtual void keyPressEvent(QKeyEvent* event); | ||||
florianlink
|
r128 | virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||
florianlink
|
r186 | virtual void keyboardSearch(const QString& search); | ||
florianlink
|
r128 | virtual void languageChange(); | ||
virtual void leaveEvent(QEvent* arg__1); | ||||
florianlink
|
r120 | virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||
florianlink
|
r186 | virtual void mouseDoubleClickEvent(QMouseEvent* event); | ||
virtual void mouseMoveEvent(QMouseEvent* e); | ||||
virtual void mousePressEvent(QMouseEvent* event); | ||||
virtual void mouseReleaseEvent(QMouseEvent* e); | ||||
florianlink
|
r128 | virtual void moveEvent(QMoveEvent* arg__1); | ||
virtual QPaintEngine* paintEngine() const; | ||||
florianlink
|
r186 | virtual void paintEvent(QPaintEvent* e); | ||
virtual void reset(); | ||||
virtual void resizeEvent(QResizeEvent* e); | ||||
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 setModel(QAbstractItemModel* model); | ||||
virtual void setRootIndex(const QModelIndex& index); | ||||
virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); | ||||
virtual void setSelectionModel(QItemSelectionModel* selectionModel); | ||||
florianlink
|
r120 | virtual void showEvent(QShowEvent* arg__1); | ||
florianlink
|
r186 | virtual int sizeHintForColumn(int column) const; | ||
virtual int sizeHintForRow(int row) const; | ||||
virtual void startDrag(Qt::DropActions supportedActions); | ||||
florianlink
|
r120 | virtual void tabletEvent(QTabletEvent* arg__1); | ||
florianlink
|
r186 | virtual void timerEvent(QTimerEvent* e); | ||
virtual void updateEditorData(); | ||||
virtual void updateEditorGeometries(); | ||||
virtual void updateGeometries(); | ||||
virtual int verticalOffset() const; | ||||
virtual void verticalScrollbarAction(int action); | ||||
virtual void verticalScrollbarValueChanged(int value); | ||||
virtual QStyleOptionViewItem viewOptions() const; | ||||
virtual bool viewportEvent(QEvent* event); | ||||
virtual QRect visualRect(const QModelIndex& index) const; | ||||
virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; | ||||
florianlink
|
r128 | virtual void wheelEvent(QWheelEvent* arg__1); | ||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r186 | class PythonQtWrapper_QUndoView : public QObject | ||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r186 | QUndoView* new_QUndoView(QUndoGroup* group, QWidget* parent = 0); | ||
QUndoView* new_QUndoView(QUndoStack* stack, QWidget* parent = 0); | ||||
QUndoView* new_QUndoView(QWidget* parent = 0); | ||||
void delete_QUndoView(QUndoView* obj) { delete obj; } | ||||
QIcon cleanIcon(QUndoView* theWrappedObject) const; | ||||
QString emptyLabel(QUndoView* theWrappedObject) const; | ||||
QUndoGroup* group(QUndoView* theWrappedObject) const; | ||||
void setCleanIcon(QUndoView* theWrappedObject, const QIcon& icon); | ||||
void setEmptyLabel(QUndoView* theWrappedObject, const QString& label); | ||||
QUndoStack* stack(QUndoView* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
florianlink
|
r186 | class PythonQtShell_QVBoxLayout : public QVBoxLayout | ||
florianlink
|
r110 | { | ||
public: | ||||
florianlink
|
r186 | PythonQtShell_QVBoxLayout():QVBoxLayout(),_wrapper(NULL) {}; | ||
PythonQtShell_QVBoxLayout(QWidget* parent):QVBoxLayout(parent),_wrapper(NULL) {}; | ||||
florianlink
|
r110 | |||
florianlink
|
r186 | ~PythonQtShell_QVBoxLayout(); | ||
virtual void addItem(QLayoutItem* arg__1); | ||||
virtual void childEvent(QChildEvent* e); | ||||
virtual int count() const; | ||||
florianlink
|
r128 | virtual void customEvent(QEvent* arg__1); | ||
florianlink
|
r186 | virtual bool event(QEvent* arg__1); | ||
florianlink
|
r128 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
florianlink
|
r186 | virtual Qt::Orientations expandingDirections() const; | ||
virtual QRect geometry() const; | ||||
virtual int indexOf(QWidget* arg__1) const; | ||||
virtual void invalidate(); | ||||
virtual bool isEmpty() const; | ||||
virtual QLayoutItem* itemAt(int arg__1) const; | ||||
virtual QLayout* layout(); | ||||
virtual QSize maximumSize() const; | ||||
virtual QSize minimumSize() const; | ||||
virtual void setGeometry(const QRect& arg__1); | ||||
virtual QLayoutItem* takeAt(int arg__1); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r186 | class PythonQtWrapper_QVBoxLayout : public QObject | ||
florianlink
|
r110 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r186 | QVBoxLayout* new_QVBoxLayout(); | ||
QVBoxLayout* new_QVBoxLayout(QWidget* parent); | ||||
void delete_QVBoxLayout(QVBoxLayout* obj) { delete obj; } | ||||
florianlink
|
r110 | }; | ||