com_trolltech_qt_gui9.h
1732 lines
| 83.3 KiB
| text/x-c
|
CLexer
florianlink
|
r99 | #include <PythonQt.h> | ||
#include <QObject> | ||||
florianlink
|
r110 | #include <QTextBlock> | ||
#include <QTextCursor> | ||||
#include <QTextDocumentFragment> | ||||
#include <QTextEdit> | ||||
#include <QTextFormat> | ||||
#include <QTextFrame> | ||||
#include <QTextLayout> | ||||
florianlink
|
r99 | #include <QVariant> | ||
#include <qaction.h> | ||||
#include <qbitmap.h> | ||||
#include <qbrush.h> | ||||
#include <qbuttongroup.h> | ||||
#include <qbytearray.h> | ||||
#include <qcalendarwidget.h> | ||||
#include <qcolor.h> | ||||
#include <qcoreevent.h> | ||||
#include <qcursor.h> | ||||
#include <qdatetime.h> | ||||
#include <qdatetimeedit.h> | ||||
florianlink
|
r110 | #include <qdrawutil.h> | ||
florianlink
|
r99 | #include <qevent.h> | ||
#include <qfont.h> | ||||
florianlink
|
r110 | #include <qgraphicseffect.h> | ||
#include <qgraphicsproxywidget.h> | ||||
florianlink
|
r99 | #include <qicon.h> | ||
florianlink
|
r110 | #include <qimage.h> | ||
florianlink
|
r99 | #include <qinputcontext.h> | ||
florianlink
|
r110 | #include <qiodevice.h> | ||
florianlink
|
r99 | #include <qkeysequence.h> | ||
#include <qlayout.h> | ||||
#include <qlineedit.h> | ||||
#include <qlist.h> | ||||
#include <qlocale.h> | ||||
florianlink
|
r110 | #include <qmargins.h> | ||
florianlink
|
r99 | #include <qmenu.h> | ||
#include <qmimedata.h> | ||||
#include <qobject.h> | ||||
#include <qpaintdevice.h> | ||||
#include <qpaintengine.h> | ||||
#include <qpainter.h> | ||||
#include <qpalette.h> | ||||
#include <qpen.h> | ||||
#include <qpoint.h> | ||||
florianlink
|
r110 | #include <qprinter.h> | ||
florianlink
|
r99 | #include <qrect.h> | ||
florianlink
|
r110 | #include <qregexp.h> | ||
florianlink
|
r99 | #include <qregion.h> | ||
#include <qscrollbar.h> | ||||
#include <qsize.h> | ||||
#include <qsizepolicy.h> | ||||
#include <qstringlist.h> | ||||
#include <qstyle.h> | ||||
#include <qstyleoption.h> | ||||
florianlink
|
r110 | #include <qtextbrowser.h> | ||
#include <qtextcodec.h> | ||||
#include <qtextcodecplugin.h> | ||||
#include <qtextcursor.h> | ||||
#include <qtextdocument.h> | ||||
#include <qtextdocumentfragment.h> | ||||
#include <qtextdocumentwriter.h> | ||||
#include <qtextedit.h> | ||||
florianlink
|
r99 | #include <qtextformat.h> | ||
florianlink
|
r110 | #include <qtextlayout.h> | ||
#include <qtextlist.h> | ||||
#include <qtextobject.h> | ||||
#include <qtexttable.h> | ||||
florianlink
|
r99 | #include <qtoolbar.h> | ||
#include <qtoolbox.h> | ||||
#include <qtoolbutton.h> | ||||
florianlink
|
r110 | #include <qurl.h> | ||
florianlink
|
r99 | #include <qvector.h> | ||
#include <qwidget.h> | ||||
florianlink
|
r110 | class PythonQtShell_QTextBlockGroup : public QTextBlockGroup | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTextBlockGroup(QTextDocument* doc):QTextBlockGroup(doc),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r110 | virtual void blockFormatChanged(const QTextBlock& block); | ||
florianlink
|
r128 | virtual void blockInserted(const QTextBlock& block); | ||
virtual void blockRemoved(const QTextBlock& block); | ||||
florianlink
|
r120 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r128 | virtual bool event(QEvent* arg__1); | ||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QTextBlockGroup : public QTextBlockGroup | ||
{ public: | ||||
inline void promoted_blockFormatChanged(const QTextBlock& block) { QTextBlockGroup::blockFormatChanged(block); } | ||||
florianlink
|
r128 | inline void promoted_blockInserted(const QTextBlock& block) { QTextBlockGroup::blockInserted(block); } | ||
inline void promoted_blockRemoved(const QTextBlock& block) { QTextBlockGroup::blockRemoved(block); } | ||||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QTextBlockGroup : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | void blockFormatChanged(QTextBlockGroup* theWrappedObject, const QTextBlock& block); | ||
florianlink
|
r128 | void blockInserted(QTextBlockGroup* theWrappedObject, const QTextBlock& block); | ||
void blockRemoved(QTextBlockGroup* theWrappedObject, const QTextBlock& block); | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QTextBlockUserData : public QTextBlockUserData | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTextBlockUserData():QTextBlockUserData(),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QTextBlockUserData : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QTextBlockUserData* new_QTextBlockUserData(); | ||
void delete_QTextBlockUserData(QTextBlockUserData* obj) { delete obj; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QTextBrowser : public QTextBrowser | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTextBrowser(QWidget* parent = 0):QTextBrowser(parent),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r128 | virtual void actionEvent(QActionEvent* arg__1); | ||
florianlink
|
r120 | virtual void backward(); | ||
florianlink
|
r110 | virtual bool canInsertFromMimeData(const QMimeData* source) const; | ||
florianlink
|
r128 | virtual void changeEvent(QEvent* e); | ||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* e); | ||||
florianlink
|
r120 | virtual QMimeData* createMimeDataFromSelection() const; | ||
florianlink
|
r128 | virtual void customEvent(QEvent* arg__1); | ||
virtual int devType() const; | ||||
florianlink
|
r120 | virtual void dragEnterEvent(QDragEnterEvent* e); | ||
florianlink
|
r110 | virtual void dragLeaveEvent(QDragLeaveEvent* e); | ||
florianlink
|
r128 | virtual void dragMoveEvent(QDragMoveEvent* e); | ||
florianlink
|
r120 | virtual void dropEvent(QDropEvent* e); | ||
florianlink
|
r128 | virtual void enterEvent(QEvent* arg__1); | ||
virtual bool event(QEvent* e); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
florianlink
|
r120 | virtual void focusInEvent(QFocusEvent* e); | ||
florianlink
|
r128 | virtual bool focusNextPrevChild(bool next); | ||
virtual void focusOutEvent(QFocusEvent* ev); | ||||
virtual void forward(); | ||||
virtual int heightForWidth(int arg__1) const; | ||||
florianlink
|
r120 | virtual void hideEvent(QHideEvent* arg__1); | ||
florianlink
|
r128 | virtual void home(); | ||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; | ||||
virtual void insertFromMimeData(const QMimeData* source); | ||||
virtual void keyPressEvent(QKeyEvent* ev); | ||||
virtual void keyReleaseEvent(QKeyEvent* e); | ||||
virtual void languageChange(); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual QVariant loadResource(int type, const QUrl& name); | ||||
florianlink
|
r117 | virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||
florianlink
|
r128 | virtual void mouseDoubleClickEvent(QMouseEvent* e); | ||
virtual void mouseMoveEvent(QMouseEvent* ev); | ||||
virtual void mousePressEvent(QMouseEvent* ev); | ||||
virtual void mouseReleaseEvent(QMouseEvent* ev); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
florianlink
|
r117 | virtual QPaintEngine* paintEngine() const; | ||
florianlink
|
r128 | virtual void paintEvent(QPaintEvent* e); | ||
virtual void reload(); | ||||
virtual void resizeEvent(QResizeEvent* e); | ||||
virtual void scrollContentsBy(int dx, int dy); | ||||
virtual void setSource(const QUrl& name); | ||||
virtual void showEvent(QShowEvent* arg__1); | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual void timerEvent(QTimerEvent* e); | ||||
virtual bool viewportEvent(QEvent* arg__1); | ||||
virtual void wheelEvent(QWheelEvent* e); | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QTextBrowser : public QTextBrowser | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r120 | inline void promoted_backward() { QTextBrowser::backward(); } | ||
florianlink
|
r128 | inline bool promoted_event(QEvent* e) { return QTextBrowser::event(e); } | ||
florianlink
|
r110 | inline bool promoted_focusNextPrevChild(bool next) { return QTextBrowser::focusNextPrevChild(next); } | ||
florianlink
|
r128 | inline void promoted_focusOutEvent(QFocusEvent* ev) { QTextBrowser::focusOutEvent(ev); } | ||
florianlink
|
r110 | inline void promoted_forward() { QTextBrowser::forward(); } | ||
florianlink
|
r128 | inline void promoted_home() { QTextBrowser::home(); } | ||
florianlink
|
r110 | inline void promoted_keyPressEvent(QKeyEvent* ev) { QTextBrowser::keyPressEvent(ev); } | ||
florianlink
|
r128 | inline QVariant promoted_loadResource(int type, const QUrl& name) { return QTextBrowser::loadResource(type, name); } | ||
inline void promoted_mouseMoveEvent(QMouseEvent* ev) { QTextBrowser::mouseMoveEvent(ev); } | ||||
inline void promoted_mousePressEvent(QMouseEvent* ev) { QTextBrowser::mousePressEvent(ev); } | ||||
inline void promoted_mouseReleaseEvent(QMouseEvent* ev) { QTextBrowser::mouseReleaseEvent(ev); } | ||||
inline void promoted_paintEvent(QPaintEvent* e) { QTextBrowser::paintEvent(e); } | ||||
inline void promoted_reload() { QTextBrowser::reload(); } | ||||
inline void promoted_setSource(const QUrl& name) { QTextBrowser::setSource(name); } | ||||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QTextBrowser : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QTextBrowser* new_QTextBrowser(QWidget* parent = 0); | ||
void delete_QTextBrowser(QTextBrowser* obj) { delete obj; } | ||||
florianlink
|
r128 | int backwardHistoryCount(QTextBrowser* theWrappedObject) const; | ||
void clearHistory(QTextBrowser* theWrappedObject); | ||||
bool event(QTextBrowser* theWrappedObject, QEvent* e); | ||||
bool focusNextPrevChild(QTextBrowser* theWrappedObject, bool next); | ||||
void focusOutEvent(QTextBrowser* theWrappedObject, QFocusEvent* ev); | ||||
int forwardHistoryCount(QTextBrowser* theWrappedObject) const; | ||||
florianlink
|
r110 | QString historyTitle(QTextBrowser* theWrappedObject, int arg__1) const; | ||
florianlink
|
r128 | QUrl historyUrl(QTextBrowser* theWrappedObject, int arg__1) const; | ||
bool isBackwardAvailable(QTextBrowser* theWrappedObject) const; | ||||
bool isForwardAvailable(QTextBrowser* theWrappedObject) const; | ||||
void keyPressEvent(QTextBrowser* theWrappedObject, QKeyEvent* ev); | ||||
florianlink
|
r120 | QVariant loadResource(QTextBrowser* theWrappedObject, int type, const QUrl& name); | ||
florianlink
|
r110 | void mouseMoveEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev); | ||
florianlink
|
r128 | void mousePressEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev); | ||
void mouseReleaseEvent(QTextBrowser* theWrappedObject, QMouseEvent* ev); | ||||
florianlink
|
r120 | bool openExternalLinks(QTextBrowser* theWrappedObject) const; | ||
florianlink
|
r128 | bool openLinks(QTextBrowser* theWrappedObject) const; | ||
void paintEvent(QTextBrowser* theWrappedObject, QPaintEvent* e); | ||||
QStringList searchPaths(QTextBrowser* theWrappedObject) const; | ||||
void setOpenExternalLinks(QTextBrowser* theWrappedObject, bool open); | ||||
florianlink
|
r120 | void setOpenLinks(QTextBrowser* theWrappedObject, bool open); | ||
florianlink
|
r110 | void setSearchPaths(QTextBrowser* theWrappedObject, const QStringList& paths); | ||
florianlink
|
r128 | QUrl source(QTextBrowser* theWrappedObject) const; | ||
florianlink
|
r110 | }; | ||
class PythonQtShell_QTextCharFormat : public QTextCharFormat | ||||
{ | ||||
public: | ||||
PythonQtShell_QTextCharFormat():QTextCharFormat(),_wrapper(NULL) {}; | ||||
PythonQtShell_QTextCharFormat(const QTextFormat& fmt):QTextCharFormat(fmt),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | PythonQtInstanceWrapper* _wrapper; | ||
}; | ||||
class PythonQtWrapper_QTextCharFormat : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
Q_ENUMS(VerticalAlignment UnderlineStyle ) | ||||
enum VerticalAlignment{ | ||||
AlignNormal = QTextCharFormat::AlignNormal, AlignSuperScript = QTextCharFormat::AlignSuperScript, AlignSubScript = QTextCharFormat::AlignSubScript, AlignMiddle = QTextCharFormat::AlignMiddle, AlignTop = QTextCharFormat::AlignTop, AlignBottom = QTextCharFormat::AlignBottom}; | ||||
enum UnderlineStyle{ | ||||
NoUnderline = QTextCharFormat::NoUnderline, SingleUnderline = QTextCharFormat::SingleUnderline, DashUnderline = QTextCharFormat::DashUnderline, DotLine = QTextCharFormat::DotLine, DashDotLine = QTextCharFormat::DashDotLine, DashDotDotLine = QTextCharFormat::DashDotDotLine, WaveUnderline = QTextCharFormat::WaveUnderline, SpellCheckUnderline = QTextCharFormat::SpellCheckUnderline}; | ||||
public slots: | ||||
QTextCharFormat* new_QTextCharFormat(); | ||||
QTextCharFormat* new_QTextCharFormat(const QTextCharFormat& other) { | ||||
PythonQtShell_QTextCharFormat* a = new PythonQtShell_QTextCharFormat(); | ||||
*((QTextCharFormat*)a) = other; | ||||
return a; } | ||||
void delete_QTextCharFormat(QTextCharFormat* obj) { delete obj; } | ||||
florianlink
|
r120 | QString anchorHref(QTextCharFormat* theWrappedObject) const; | ||
florianlink
|
r128 | QStringList anchorNames(QTextCharFormat* theWrappedObject) const; | ||
QFont font(QTextCharFormat* theWrappedObject) const; | ||||
QFont::Capitalization fontCapitalization(QTextCharFormat* theWrappedObject) const; | ||||
QString fontFamily(QTextCharFormat* theWrappedObject) const; | ||||
bool fontFixedPitch(QTextCharFormat* theWrappedObject) const; | ||||
florianlink
|
r120 | bool fontItalic(QTextCharFormat* theWrappedObject) const; | ||
florianlink
|
r110 | bool fontKerning(QTextCharFormat* theWrappedObject) const; | ||
florianlink
|
r128 | qreal fontLetterSpacing(QTextCharFormat* theWrappedObject) const; | ||
bool fontOverline(QTextCharFormat* theWrappedObject) const; | ||||
qreal fontPointSize(QTextCharFormat* theWrappedObject) const; | ||||
bool fontStrikeOut(QTextCharFormat* theWrappedObject) const; | ||||
QFont::StyleHint fontStyleHint(QTextCharFormat* theWrappedObject) const; | ||||
QFont::StyleStrategy fontStyleStrategy(QTextCharFormat* theWrappedObject) const; | ||||
bool fontUnderline(QTextCharFormat* theWrappedObject) const; | ||||
florianlink
|
r110 | int fontWeight(QTextCharFormat* theWrappedObject) const; | ||
florianlink
|
r128 | qreal fontWordSpacing(QTextCharFormat* theWrappedObject) const; | ||
florianlink
|
r110 | bool isAnchor(QTextCharFormat* theWrappedObject) const; | ||
florianlink
|
r128 | bool isValid(QTextCharFormat* theWrappedObject) const; | ||
void setAnchor(QTextCharFormat* theWrappedObject, bool anchor); | ||||
void setAnchorHref(QTextCharFormat* theWrappedObject, const QString& value); | ||||
florianlink
|
r120 | void setAnchorNames(QTextCharFormat* theWrappedObject, const QStringList& names); | ||
florianlink
|
r128 | void setFont(QTextCharFormat* theWrappedObject, const QFont& font); | ||
void setFontCapitalization(QTextCharFormat* theWrappedObject, QFont::Capitalization capitalization); | ||||
void setFontFamily(QTextCharFormat* theWrappedObject, const QString& family); | ||||
void setFontFixedPitch(QTextCharFormat* theWrappedObject, bool fixedPitch); | ||||
void setFontItalic(QTextCharFormat* theWrappedObject, bool italic); | ||||
void setFontKerning(QTextCharFormat* theWrappedObject, bool enable); | ||||
void setFontLetterSpacing(QTextCharFormat* theWrappedObject, qreal spacing); | ||||
florianlink
|
r110 | void setFontOverline(QTextCharFormat* theWrappedObject, bool overline); | ||
void setFontPointSize(QTextCharFormat* theWrappedObject, qreal size); | ||||
florianlink
|
r128 | void setFontStrikeOut(QTextCharFormat* theWrappedObject, bool strikeOut); | ||
void setFontStyleHint(QTextCharFormat* theWrappedObject, QFont::StyleHint hint, QFont::StyleStrategy strategy = QFont::PreferDefault); | ||||
void setFontStyleStrategy(QTextCharFormat* theWrappedObject, QFont::StyleStrategy strategy); | ||||
void setFontUnderline(QTextCharFormat* theWrappedObject, bool underline); | ||||
void setFontWeight(QTextCharFormat* theWrappedObject, int weight); | ||||
void setFontWordSpacing(QTextCharFormat* theWrappedObject, qreal spacing); | ||||
void setTableCellColumnSpan(QTextCharFormat* theWrappedObject, int tableCellColumnSpan); | ||||
void setTableCellRowSpan(QTextCharFormat* theWrappedObject, int tableCellRowSpan); | ||||
void setTextOutline(QTextCharFormat* theWrappedObject, const QPen& pen); | ||||
void setToolTip(QTextCharFormat* theWrappedObject, const QString& tip); | ||||
void setUnderlineColor(QTextCharFormat* theWrappedObject, const QColor& color); | ||||
florianlink
|
r110 | void setUnderlineStyle(QTextCharFormat* theWrappedObject, QTextCharFormat::UnderlineStyle style); | ||
florianlink
|
r128 | void setVerticalAlignment(QTextCharFormat* theWrappedObject, QTextCharFormat::VerticalAlignment alignment); | ||
int tableCellColumnSpan(QTextCharFormat* theWrappedObject) const; | ||||
int tableCellRowSpan(QTextCharFormat* theWrappedObject) const; | ||||
florianlink
|
r110 | QPen textOutline(QTextCharFormat* theWrappedObject) const; | ||
florianlink
|
r128 | QString toolTip(QTextCharFormat* theWrappedObject) const; | ||
QColor underlineColor(QTextCharFormat* theWrappedObject) const; | ||||
QTextCharFormat::UnderlineStyle underlineStyle(QTextCharFormat* theWrappedObject) const; | ||||
QTextCharFormat::VerticalAlignment verticalAlignment(QTextCharFormat* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
class PythonQtShell_QTextCodecPlugin : public QTextCodecPlugin | ||||
{ | ||||
public: | ||||
PythonQtShell_QTextCodecPlugin(QObject* parent = 0):QTextCodecPlugin(parent),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | virtual QList<QByteArray > aliases() const; | ||
florianlink
|
r128 | virtual void childEvent(QChildEvent* arg__1); | ||
florianlink
|
r110 | virtual QTextCodec* createForMib(int mib); | ||
florianlink
|
r128 | virtual QTextCodec* createForName(const QByteArray& name); | ||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r117 | virtual bool event(QEvent* arg__1); | ||
florianlink
|
r110 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
florianlink
|
r128 | virtual QList<int > mibEnums() const; | ||
virtual QList<QByteArray > names() const; | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
florianlink
|
r110 | PythonQtInstanceWrapper* _wrapper; | ||
}; | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | class PythonQtWrapper_QTextCodecPlugin : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QTextCodecPlugin* new_QTextCodecPlugin(QObject* parent = 0); | ||
void delete_QTextCodecPlugin(QTextCodecPlugin* obj) { delete obj; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QTextCursor : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
Q_ENUMS(MoveMode MoveOperation SelectionType ) | ||||
enum MoveMode{ | ||||
MoveAnchor = QTextCursor::MoveAnchor, KeepAnchor = QTextCursor::KeepAnchor}; | ||||
enum MoveOperation{ | ||||
NoMove = QTextCursor::NoMove, Start = QTextCursor::Start, Up = QTextCursor::Up, StartOfLine = QTextCursor::StartOfLine, StartOfBlock = QTextCursor::StartOfBlock, StartOfWord = QTextCursor::StartOfWord, PreviousBlock = QTextCursor::PreviousBlock, PreviousCharacter = QTextCursor::PreviousCharacter, PreviousWord = QTextCursor::PreviousWord, Left = QTextCursor::Left, WordLeft = QTextCursor::WordLeft, End = QTextCursor::End, Down = QTextCursor::Down, EndOfLine = QTextCursor::EndOfLine, EndOfWord = QTextCursor::EndOfWord, EndOfBlock = QTextCursor::EndOfBlock, NextBlock = QTextCursor::NextBlock, NextCharacter = QTextCursor::NextCharacter, NextWord = QTextCursor::NextWord, Right = QTextCursor::Right, WordRight = QTextCursor::WordRight, NextCell = QTextCursor::NextCell, PreviousCell = QTextCursor::PreviousCell, NextRow = QTextCursor::NextRow, PreviousRow = QTextCursor::PreviousRow}; | ||||
enum SelectionType{ | ||||
WordUnderCursor = QTextCursor::WordUnderCursor, LineUnderCursor = QTextCursor::LineUnderCursor, BlockUnderCursor = QTextCursor::BlockUnderCursor, Document = QTextCursor::Document}; | ||||
public slots: | ||||
QTextCursor* new_QTextCursor(); | ||||
QTextCursor* new_QTextCursor(QTextDocument* document); | ||||
QTextCursor* new_QTextCursor(QTextFrame* frame); | ||||
QTextCursor* new_QTextCursor(const QTextBlock& block); | ||||
QTextCursor* new_QTextCursor(const QTextCursor& cursor); | ||||
void delete_QTextCursor(QTextCursor* obj) { delete obj; } | ||||
florianlink
|
r128 | int anchor(QTextCursor* theWrappedObject) const; | ||
bool atBlockEnd(QTextCursor* theWrappedObject) const; | ||||
bool atBlockStart(QTextCursor* theWrappedObject) const; | ||||
bool atEnd(QTextCursor* theWrappedObject) const; | ||||
bool atStart(QTextCursor* theWrappedObject) const; | ||||
void beginEditBlock(QTextCursor* theWrappedObject); | ||||
QTextBlock block(QTextCursor* theWrappedObject) const; | ||||
QTextCharFormat blockCharFormat(QTextCursor* theWrappedObject) const; | ||||
QTextBlockFormat blockFormat(QTextCursor* theWrappedObject) const; | ||||
int blockNumber(QTextCursor* theWrappedObject) const; | ||||
florianlink
|
r120 | QTextCharFormat charFormat(QTextCursor* theWrappedObject) const; | ||
florianlink
|
r128 | void clearSelection(QTextCursor* theWrappedObject); | ||
florianlink
|
r120 | int columnNumber(QTextCursor* theWrappedObject) const; | ||
florianlink
|
r128 | QTextList* createList(QTextCursor* theWrappedObject, QTextListFormat::Style style); | ||
QTextList* createList(QTextCursor* theWrappedObject, const QTextListFormat& format); | ||||
QTextFrame* currentFrame(QTextCursor* theWrappedObject) const; | ||||
QTextList* currentList(QTextCursor* theWrappedObject) const; | ||||
QTextTable* currentTable(QTextCursor* theWrappedObject) const; | ||||
void deleteChar(QTextCursor* theWrappedObject); | ||||
void deletePreviousChar(QTextCursor* theWrappedObject); | ||||
QTextDocument* document(QTextCursor* theWrappedObject) const; | ||||
void endEditBlock(QTextCursor* theWrappedObject); | ||||
bool hasComplexSelection(QTextCursor* theWrappedObject) const; | ||||
bool hasSelection(QTextCursor* theWrappedObject) const; | ||||
void insertBlock(QTextCursor* theWrappedObject); | ||||
florianlink
|
r120 | void insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format); | ||
void insertBlock(QTextCursor* theWrappedObject, const QTextBlockFormat& format, const QTextCharFormat& charFormat); | ||||
florianlink
|
r128 | void insertFragment(QTextCursor* theWrappedObject, const QTextDocumentFragment& fragment); | ||
QTextFrame* insertFrame(QTextCursor* theWrappedObject, const QTextFrameFormat& format); | ||||
void insertHtml(QTextCursor* theWrappedObject, const QString& html); | ||||
florianlink
|
r110 | void insertImage(QTextCursor* theWrappedObject, const QImage& image, const QString& name = QString()); | ||
void insertImage(QTextCursor* theWrappedObject, const QString& name); | ||||
florianlink
|
r128 | void insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format); | ||
florianlink
|
r120 | void insertImage(QTextCursor* theWrappedObject, const QTextImageFormat& format, QTextFrameFormat::Position alignment); | ||
florianlink
|
r128 | QTextList* insertList(QTextCursor* theWrappedObject, QTextListFormat::Style style); | ||
QTextList* insertList(QTextCursor* theWrappedObject, const QTextListFormat& format); | ||||
QTextTable* insertTable(QTextCursor* theWrappedObject, int rows, int cols); | ||||
florianlink
|
r120 | QTextTable* insertTable(QTextCursor* theWrappedObject, int rows, int cols, const QTextTableFormat& format); | ||
florianlink
|
r128 | void insertText(QTextCursor* theWrappedObject, const QString& text); | ||
florianlink
|
r110 | void insertText(QTextCursor* theWrappedObject, const QString& text, const QTextCharFormat& format); | ||
florianlink
|
r128 | bool isCopyOf(QTextCursor* theWrappedObject, const QTextCursor& other) const; | ||
bool isNull(QTextCursor* theWrappedObject) const; | ||||
void joinPreviousEditBlock(QTextCursor* theWrappedObject); | ||||
florianlink
|
r120 | void mergeBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier); | ||
florianlink
|
r128 | void mergeBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& modifier); | ||
void mergeCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& modifier); | ||||
bool movePosition(QTextCursor* theWrappedObject, QTextCursor::MoveOperation op, QTextCursor::MoveMode arg__2 = QTextCursor::MoveAnchor, int n = 1); | ||||
bool __ne__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; | ||||
bool __lt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; | ||||
bool __le__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; | ||||
bool __eq__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; | ||||
florianlink
|
r120 | bool __gt__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; | ||
bool __ge__(QTextCursor* theWrappedObject, const QTextCursor& rhs) const; | ||||
florianlink
|
r128 | int position(QTextCursor* theWrappedObject) const; | ||
florianlink
|
r120 | void removeSelectedText(QTextCursor* theWrappedObject); | ||
florianlink
|
r128 | void select(QTextCursor* theWrappedObject, QTextCursor::SelectionType selection); | ||
void selectedTableCells(QTextCursor* theWrappedObject, int* firstRow, int* numRows, int* firstColumn, int* numColumns) const; | ||||
QString selectedText(QTextCursor* theWrappedObject) const; | ||||
QTextDocumentFragment selection(QTextCursor* theWrappedObject) const; | ||||
florianlink
|
r120 | int selectionEnd(QTextCursor* theWrappedObject) const; | ||
florianlink
|
r128 | int selectionStart(QTextCursor* theWrappedObject) const; | ||
void setBlockCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format); | ||||
florianlink
|
r110 | void setBlockFormat(QTextCursor* theWrappedObject, const QTextBlockFormat& format); | ||
florianlink
|
r128 | void setCharFormat(QTextCursor* theWrappedObject, const QTextCharFormat& format); | ||
void setPosition(QTextCursor* theWrappedObject, int pos, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); | ||||
void setVisualNavigation(QTextCursor* theWrappedObject, bool b); | ||||
bool visualNavigation(QTextCursor* theWrappedObject) const; | ||||
florianlink
|
r120 | bool __nonzero__(QTextCursor* obj) { return !obj->isNull(); } | ||
florianlink
|
r110 | }; | ||
class PythonQtShell_QTextDocument : public QTextDocument | ||||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTextDocument(QObject* parent = 0):QTextDocument(parent),_wrapper(NULL) {}; | ||
PythonQtShell_QTextDocument(const QString& text, QObject* parent = 0):QTextDocument(text, parent),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | virtual void childEvent(QChildEvent* arg__1); | ||
florianlink
|
r120 | virtual void clear(); | ||
florianlink
|
r110 | virtual QTextObject* createObject(const QTextFormat& f); | ||
florianlink
|
r99 | virtual void customEvent(QEvent* arg__1); | ||
florianlink
|
r128 | virtual bool event(QEvent* arg__1); | ||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual QVariant loadResource(int type, const QUrl& name); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QTextDocument : public QTextDocument | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r120 | inline void promoted_clear() { QTextDocument::clear(); } | ||
florianlink
|
r110 | inline QTextObject* promoted_createObject(const QTextFormat& f) { return QTextDocument::createObject(f); } | ||
florianlink
|
r128 | inline QVariant promoted_loadResource(int type, const QUrl& name) { return QTextDocument::loadResource(type, name); } | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QTextDocument : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(ResourceType FindFlag MetaInformation ) | ||
Q_FLAGS(FindFlags ) | ||||
enum ResourceType{ | ||||
HtmlResource = QTextDocument::HtmlResource, ImageResource = QTextDocument::ImageResource, StyleSheetResource = QTextDocument::StyleSheetResource, UserResource = QTextDocument::UserResource}; | ||||
enum FindFlag{ | ||||
FindBackward = QTextDocument::FindBackward, FindCaseSensitively = QTextDocument::FindCaseSensitively, FindWholeWords = QTextDocument::FindWholeWords}; | ||||
enum MetaInformation{ | ||||
DocumentTitle = QTextDocument::DocumentTitle, DocumentUrl = QTextDocument::DocumentUrl}; | ||||
Q_DECLARE_FLAGS(FindFlags, FindFlag) | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QTextDocument* new_QTextDocument(QObject* parent = 0); | ||
QTextDocument* new_QTextDocument(const QString& text, QObject* parent = 0); | ||||
void delete_QTextDocument(QTextDocument* obj) { delete obj; } | ||||
florianlink
|
r128 | void addResource(QTextDocument* theWrappedObject, int type, const QUrl& name, const QVariant& resource); | ||
void adjustSize(QTextDocument* theWrappedObject); | ||||
QVector<QTextFormat > allFormats(QTextDocument* theWrappedObject) const; | ||||
florianlink
|
r120 | int availableRedoSteps(QTextDocument* theWrappedObject) const; | ||
florianlink
|
r128 | int availableUndoSteps(QTextDocument* theWrappedObject) const; | ||
QTextBlock begin(QTextDocument* theWrappedObject) const; | ||||
int blockCount(QTextDocument* theWrappedObject) const; | ||||
QChar characterAt(QTextDocument* theWrappedObject, int pos) const; | ||||
florianlink
|
r110 | int characterCount(QTextDocument* theWrappedObject) const; | ||
florianlink
|
r120 | void clear(QTextDocument* theWrappedObject); | ||
florianlink
|
r128 | QTextDocument* clone(QTextDocument* theWrappedObject, QObject* parent = 0) const; | ||
florianlink
|
r110 | QTextObject* createObject(QTextDocument* theWrappedObject, const QTextFormat& f); | ||
florianlink
|
r120 | QFont defaultFont(QTextDocument* theWrappedObject) const; | ||
florianlink
|
r128 | QString defaultStyleSheet(QTextDocument* theWrappedObject) const; | ||
QTextOption defaultTextOption(QTextDocument* theWrappedObject) const; | ||||
QAbstractTextDocumentLayout* documentLayout(QTextDocument* theWrappedObject) const; | ||||
qreal documentMargin(QTextDocument* theWrappedObject) const; | ||||
florianlink
|
r120 | void drawContents(QTextDocument* theWrappedObject, QPainter* painter, const QRectF& rect = QRectF()); | ||
florianlink
|
r128 | QTextBlock end(QTextDocument* theWrappedObject) const; | ||
QTextCursor find(QTextDocument* theWrappedObject, const QRegExp& expr, const QTextCursor& from, QTextDocument::FindFlags options = 0) const; | ||||
QTextCursor find(QTextDocument* theWrappedObject, const QRegExp& expr, int from = 0, QTextDocument::FindFlags options = 0) const; | ||||
QTextCursor find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& from, QTextDocument::FindFlags options = 0) const; | ||||
QTextCursor find(QTextDocument* theWrappedObject, const QString& subString, int from = 0, QTextDocument::FindFlags options = 0) const; | ||||
QTextBlock findBlock(QTextDocument* theWrappedObject, int pos) const; | ||||
QTextBlock findBlockByLineNumber(QTextDocument* theWrappedObject, int blockNumber) const; | ||||
QTextBlock findBlockByNumber(QTextDocument* theWrappedObject, int blockNumber) const; | ||||
QTextBlock firstBlock(QTextDocument* theWrappedObject) const; | ||||
QTextFrame* frameAt(QTextDocument* theWrappedObject, int pos) const; | ||||
qreal idealWidth(QTextDocument* theWrappedObject) const; | ||||
qreal indentWidth(QTextDocument* theWrappedObject) const; | ||||
bool isEmpty(QTextDocument* theWrappedObject) const; | ||||
bool isModified(QTextDocument* theWrappedObject) const; | ||||
bool isRedoAvailable(QTextDocument* theWrappedObject) const; | ||||
bool isUndoAvailable(QTextDocument* theWrappedObject) const; | ||||
florianlink
|
r120 | bool isUndoRedoEnabled(QTextDocument* theWrappedObject) const; | ||
florianlink
|
r128 | QTextBlock lastBlock(QTextDocument* theWrappedObject) const; | ||
int lineCount(QTextDocument* theWrappedObject) const; | ||||
QVariant loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name); | ||||
void markContentsDirty(QTextDocument* theWrappedObject, int from, int length); | ||||
int maximumBlockCount(QTextDocument* theWrappedObject) const; | ||||
florianlink
|
r120 | QString metaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info) const; | ||
florianlink
|
r128 | QTextObject* object(QTextDocument* theWrappedObject, int objectIndex) const; | ||
QTextObject* objectForFormat(QTextDocument* theWrappedObject, const QTextFormat& arg__1) const; | ||||
int pageCount(QTextDocument* theWrappedObject) const; | ||||
florianlink
|
r110 | QSizeF pageSize(QTextDocument* theWrappedObject) const; | ||
florianlink
|
r128 | void print(QTextDocument* theWrappedObject, QPrinter* printer) const; | ||
void redo(QTextDocument* theWrappedObject, QTextCursor* cursor); | ||||
florianlink
|
r120 | QVariant resource(QTextDocument* theWrappedObject, int type, const QUrl& name) const; | ||
florianlink
|
r128 | int revision(QTextDocument* theWrappedObject) const; | ||
QTextFrame* rootFrame(QTextDocument* theWrappedObject) const; | ||||
void setDefaultFont(QTextDocument* theWrappedObject, const QFont& font); | ||||
void setDefaultStyleSheet(QTextDocument* theWrappedObject, const QString& sheet); | ||||
void setDefaultTextOption(QTextDocument* theWrappedObject, const QTextOption& option); | ||||
florianlink
|
r110 | void setDocumentLayout(QTextDocument* theWrappedObject, QAbstractTextDocumentLayout* layout); | ||
florianlink
|
r128 | void setDocumentMargin(QTextDocument* theWrappedObject, qreal margin); | ||
void setHtml(QTextDocument* theWrappedObject, const QString& html); | ||||
void setIndentWidth(QTextDocument* theWrappedObject, qreal width); | ||||
void setMaximumBlockCount(QTextDocument* theWrappedObject, int maximum); | ||||
void setMetaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info, const QString& arg__2); | ||||
void setPageSize(QTextDocument* theWrappedObject, const QSizeF& size); | ||||
void setPlainText(QTextDocument* theWrappedObject, const QString& text); | ||||
void setTextWidth(QTextDocument* theWrappedObject, qreal width); | ||||
void setUndoRedoEnabled(QTextDocument* theWrappedObject, bool enable); | ||||
void setUseDesignMetrics(QTextDocument* theWrappedObject, bool b); | ||||
QSizeF size(QTextDocument* theWrappedObject) const; | ||||
qreal textWidth(QTextDocument* theWrappedObject) const; | ||||
QString toHtml(QTextDocument* theWrappedObject, const QByteArray& encoding = QByteArray()) const; | ||||
QString toPlainText(QTextDocument* theWrappedObject) const; | ||||
void undo(QTextDocument* theWrappedObject, QTextCursor* cursor); | ||||
bool useDesignMetrics(QTextDocument* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QTextDocumentFragment : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTextDocumentFragment* new_QTextDocumentFragment(); | ||||
QTextDocumentFragment* new_QTextDocumentFragment(const QTextCursor& range); | ||||
QTextDocumentFragment* new_QTextDocumentFragment(const QTextDocument* document); | ||||
QTextDocumentFragment* new_QTextDocumentFragment(const QTextDocumentFragment& rhs); | ||||
void delete_QTextDocumentFragment(QTextDocumentFragment* obj) { delete obj; } | ||||
florianlink
|
r128 | QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html); | ||
florianlink
|
r120 | QTextDocumentFragment static_QTextDocumentFragment_fromHtml(const QString& html, const QTextDocument* resourceProvider); | ||
florianlink
|
r110 | QTextDocumentFragment static_QTextDocumentFragment_fromPlainText(const QString& plainText); | ||
bool isEmpty(QTextDocumentFragment* theWrappedObject) const; | ||||
florianlink
|
r128 | QString toHtml(QTextDocumentFragment* theWrappedObject) const; | ||
QString toHtml(QTextDocumentFragment* theWrappedObject, const QByteArray& encoding) const; | ||||
QString toPlainText(QTextDocumentFragment* theWrappedObject) const; | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QTextDocumentWriter : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTextDocumentWriter* new_QTextDocumentWriter(); | ||||
QTextDocumentWriter* new_QTextDocumentWriter(QIODevice* device, const QByteArray& format); | ||||
QTextDocumentWriter* new_QTextDocumentWriter(const QString& fileName, const QByteArray& format = QByteArray()); | ||||
void delete_QTextDocumentWriter(QTextDocumentWriter* obj) { delete obj; } | ||||
QTextCodec* codec(QTextDocumentWriter* theWrappedObject) const; | ||||
florianlink
|
r128 | QIODevice* device(QTextDocumentWriter* theWrappedObject) const; | ||
QString fileName(QTextDocumentWriter* theWrappedObject) const; | ||||
florianlink
|
r110 | QByteArray format(QTextDocumentWriter* theWrappedObject) const; | ||
florianlink
|
r128 | void setCodec(QTextDocumentWriter* theWrappedObject, QTextCodec* codec); | ||
florianlink
|
r110 | void setDevice(QTextDocumentWriter* theWrappedObject, QIODevice* device); | ||
void setFileName(QTextDocumentWriter* theWrappedObject, const QString& fileName); | ||||
void setFormat(QTextDocumentWriter* theWrappedObject, const QByteArray& format); | ||||
florianlink
|
r128 | QList<QByteArray > static_QTextDocumentWriter_supportedDocumentFormats(); | ||
florianlink
|
r120 | bool write(QTextDocumentWriter* theWrappedObject, const QTextDocument* document); | ||
florianlink
|
r128 | bool write(QTextDocumentWriter* theWrappedObject, const QTextDocumentFragment& fragment); | ||
florianlink
|
r110 | }; | ||
class PythonQtShell_QTextEdit : public QTextEdit | ||||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTextEdit(QWidget* parent = 0):QTextEdit(parent),_wrapper(NULL) {}; | ||
PythonQtShell_QTextEdit(const QString& text, QWidget* parent = 0):QTextEdit(text, parent),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | virtual void actionEvent(QActionEvent* arg__1); | ||
florianlink
|
r110 | virtual bool canInsertFromMimeData(const QMimeData* source) const; | ||
florianlink
|
r128 | virtual void changeEvent(QEvent* e); | ||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* e); | ||||
florianlink
|
r110 | virtual QMimeData* createMimeDataFromSelection() const; | ||
florianlink
|
r128 | virtual void customEvent(QEvent* arg__1); | ||
virtual int devType() const; | ||||
florianlink
|
r110 | virtual void dragEnterEvent(QDragEnterEvent* e); | ||
florianlink
|
r128 | virtual void dragLeaveEvent(QDragLeaveEvent* e); | ||
virtual void dragMoveEvent(QDragMoveEvent* e); | ||||
florianlink
|
r120 | virtual void dropEvent(QDropEvent* e); | ||
florianlink
|
r128 | virtual void enterEvent(QEvent* arg__1); | ||
virtual bool event(QEvent* e); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void focusInEvent(QFocusEvent* e); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* e); | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
florianlink
|
r99 | virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||
florianlink
|
r128 | virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const; | ||
virtual void insertFromMimeData(const QMimeData* source); | ||||
virtual void keyPressEvent(QKeyEvent* e); | ||||
virtual void keyReleaseEvent(QKeyEvent* e); | ||||
virtual void languageChange(); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
florianlink
|
r110 | virtual QVariant loadResource(int type, const QUrl& name); | ||
florianlink
|
r128 | virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||
virtual void mouseDoubleClickEvent(QMouseEvent* e); | ||||
virtual void mouseMoveEvent(QMouseEvent* e); | ||||
virtual void mousePressEvent(QMouseEvent* e); | ||||
virtual void mouseReleaseEvent(QMouseEvent* e); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
florianlink
|
r110 | virtual void paintEvent(QPaintEvent* e); | ||
florianlink
|
r128 | virtual void resizeEvent(QResizeEvent* e); | ||
florianlink
|
r110 | virtual void scrollContentsBy(int dx, int dy); | ||
florianlink
|
r128 | virtual void showEvent(QShowEvent* arg__1); | ||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* e); | ||
florianlink
|
r110 | virtual bool viewportEvent(QEvent* arg__1); | ||
florianlink
|
r128 | virtual void wheelEvent(QWheelEvent* e); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QTextEdit : public QTextEdit | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r110 | inline bool promoted_canInsertFromMimeData(const QMimeData* source) const { return QTextEdit::canInsertFromMimeData(source); } | ||
florianlink
|
r128 | inline void promoted_changeEvent(QEvent* e) { QTextEdit::changeEvent(e); } | ||
inline void promoted_contextMenuEvent(QContextMenuEvent* e) { QTextEdit::contextMenuEvent(e); } | ||||
florianlink
|
r110 | inline QMimeData* promoted_createMimeDataFromSelection() const { return QTextEdit::createMimeDataFromSelection(); } | ||
inline void promoted_dragEnterEvent(QDragEnterEvent* e) { QTextEdit::dragEnterEvent(e); } | ||||
florianlink
|
r128 | inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { QTextEdit::dragLeaveEvent(e); } | ||
inline void promoted_dragMoveEvent(QDragMoveEvent* e) { QTextEdit::dragMoveEvent(e); } | ||||
florianlink
|
r120 | inline void promoted_dropEvent(QDropEvent* e) { QTextEdit::dropEvent(e); } | ||
florianlink
|
r128 | inline bool promoted_event(QEvent* e) { return QTextEdit::event(e); } | ||
inline void promoted_focusInEvent(QFocusEvent* e) { QTextEdit::focusInEvent(e); } | ||||
inline bool promoted_focusNextPrevChild(bool next) { return QTextEdit::focusNextPrevChild(next); } | ||||
inline void promoted_focusOutEvent(QFocusEvent* e) { QTextEdit::focusOutEvent(e); } | ||||
florianlink
|
r110 | inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QTextEdit::inputMethodEvent(arg__1); } | ||
florianlink
|
r128 | inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery property) const { return QTextEdit::inputMethodQuery(property); } | ||
inline void promoted_insertFromMimeData(const QMimeData* source) { QTextEdit::insertFromMimeData(source); } | ||||
inline void promoted_keyPressEvent(QKeyEvent* e) { QTextEdit::keyPressEvent(e); } | ||||
inline void promoted_keyReleaseEvent(QKeyEvent* e) { QTextEdit::keyReleaseEvent(e); } | ||||
florianlink
|
r110 | inline QVariant promoted_loadResource(int type, const QUrl& name) { return QTextEdit::loadResource(type, name); } | ||
florianlink
|
r128 | inline void promoted_mouseDoubleClickEvent(QMouseEvent* e) { QTextEdit::mouseDoubleClickEvent(e); } | ||
inline void promoted_mouseMoveEvent(QMouseEvent* e) { QTextEdit::mouseMoveEvent(e); } | ||||
inline void promoted_mousePressEvent(QMouseEvent* e) { QTextEdit::mousePressEvent(e); } | ||||
inline void promoted_mouseReleaseEvent(QMouseEvent* e) { QTextEdit::mouseReleaseEvent(e); } | ||||
florianlink
|
r110 | inline void promoted_paintEvent(QPaintEvent* e) { QTextEdit::paintEvent(e); } | ||
florianlink
|
r128 | inline void promoted_resizeEvent(QResizeEvent* e) { QTextEdit::resizeEvent(e); } | ||
florianlink
|
r110 | inline void promoted_scrollContentsBy(int dx, int dy) { QTextEdit::scrollContentsBy(dx, dy); } | ||
florianlink
|
r128 | inline void promoted_showEvent(QShowEvent* arg__1) { QTextEdit::showEvent(arg__1); } | ||
florianlink
|
r120 | inline void promoted_timerEvent(QTimerEvent* e) { QTextEdit::timerEvent(e); } | ||
florianlink
|
r128 | inline void promoted_wheelEvent(QWheelEvent* e) { QTextEdit::wheelEvent(e); } | ||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QTextEdit : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(AutoFormattingFlag ) | ||
Q_FLAGS(AutoFormatting ) | ||||
enum AutoFormattingFlag{ | ||||
AutoNone = QTextEdit::AutoNone, AutoBulletList = QTextEdit::AutoBulletList, AutoAll = QTextEdit::AutoAll}; | ||||
Q_DECLARE_FLAGS(AutoFormatting, AutoFormattingFlag) | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QTextEdit* new_QTextEdit(QWidget* parent = 0); | ||
QTextEdit* new_QTextEdit(const QString& text, QWidget* parent = 0); | ||||
void delete_QTextEdit(QTextEdit* obj) { delete obj; } | ||||
florianlink
|
r128 | bool acceptRichText(QTextEdit* theWrappedObject) const; | ||
florianlink
|
r120 | Qt::Alignment alignment(QTextEdit* theWrappedObject) const; | ||
florianlink
|
r128 | QString anchorAt(QTextEdit* theWrappedObject, const QPoint& pos) const; | ||
QTextEdit::AutoFormatting autoFormatting(QTextEdit* theWrappedObject) const; | ||||
bool canInsertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source) const; | ||||
bool canPaste(QTextEdit* theWrappedObject) const; | ||||
void changeEvent(QTextEdit* theWrappedObject, QEvent* e); | ||||
void contextMenuEvent(QTextEdit* theWrappedObject, QContextMenuEvent* e); | ||||
QMimeData* createMimeDataFromSelection(QTextEdit* theWrappedObject) const; | ||||
QMenu* createStandardContextMenu(QTextEdit* theWrappedObject); | ||||
QMenu* createStandardContextMenu(QTextEdit* theWrappedObject, const QPoint& position); | ||||
QTextCharFormat currentCharFormat(QTextEdit* theWrappedObject) const; | ||||
QFont currentFont(QTextEdit* theWrappedObject) const; | ||||
QTextCursor cursorForPosition(QTextEdit* theWrappedObject, const QPoint& pos) const; | ||||
florianlink
|
r110 | QRect cursorRect(QTextEdit* theWrappedObject) const; | ||
QRect cursorRect(QTextEdit* theWrappedObject, const QTextCursor& cursor) const; | ||||
florianlink
|
r128 | int cursorWidth(QTextEdit* theWrappedObject) const; | ||
QTextDocument* document(QTextEdit* theWrappedObject) const; | ||||
QString documentTitle(QTextEdit* theWrappedObject) const; | ||||
void dragEnterEvent(QTextEdit* theWrappedObject, QDragEnterEvent* e); | ||||
florianlink
|
r120 | void dragLeaveEvent(QTextEdit* theWrappedObject, QDragLeaveEvent* e); | ||
void dragMoveEvent(QTextEdit* theWrappedObject, QDragMoveEvent* e); | ||||
florianlink
|
r128 | void dropEvent(QTextEdit* theWrappedObject, QDropEvent* e); | ||
florianlink
|
r120 | void ensureCursorVisible(QTextEdit* theWrappedObject); | ||
florianlink
|
r128 | bool event(QTextEdit* theWrappedObject, QEvent* e); | ||
QList<QTextEdit::ExtraSelection > extraSelections(QTextEdit* theWrappedObject) const; | ||||
bool find(QTextEdit* theWrappedObject, const QString& exp, QTextDocument::FindFlags options = 0); | ||||
void focusInEvent(QTextEdit* theWrappedObject, QFocusEvent* e); | ||||
bool focusNextPrevChild(QTextEdit* theWrappedObject, bool next); | ||||
void focusOutEvent(QTextEdit* theWrappedObject, QFocusEvent* e); | ||||
QString fontFamily(QTextEdit* theWrappedObject) const; | ||||
bool fontItalic(QTextEdit* theWrappedObject) const; | ||||
qreal fontPointSize(QTextEdit* theWrappedObject) const; | ||||
florianlink
|
r120 | bool fontUnderline(QTextEdit* theWrappedObject) const; | ||
florianlink
|
r128 | int fontWeight(QTextEdit* theWrappedObject) const; | ||
void inputMethodEvent(QTextEdit* theWrappedObject, QInputMethodEvent* arg__1); | ||||
QVariant inputMethodQuery(QTextEdit* theWrappedObject, Qt::InputMethodQuery property) const; | ||||
void insertFromMimeData(QTextEdit* theWrappedObject, const QMimeData* source); | ||||
bool isReadOnly(QTextEdit* theWrappedObject) const; | ||||
bool isUndoRedoEnabled(QTextEdit* theWrappedObject) const; | ||||
florianlink
|
r120 | void keyPressEvent(QTextEdit* theWrappedObject, QKeyEvent* e); | ||
florianlink
|
r128 | void keyReleaseEvent(QTextEdit* theWrappedObject, QKeyEvent* e); | ||
int lineWrapColumnOrWidth(QTextEdit* theWrappedObject) const; | ||||
QTextEdit::LineWrapMode lineWrapMode(QTextEdit* theWrappedObject) const; | ||||
QVariant loadResource(QTextEdit* theWrappedObject, int type, const QUrl& name); | ||||
void mergeCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& modifier); | ||||
void mouseDoubleClickEvent(QTextEdit* theWrappedObject, QMouseEvent* e); | ||||
void mouseMoveEvent(QTextEdit* theWrappedObject, QMouseEvent* e); | ||||
florianlink
|
r110 | void mousePressEvent(QTextEdit* theWrappedObject, QMouseEvent* e); | ||
florianlink
|
r128 | void mouseReleaseEvent(QTextEdit* theWrappedObject, QMouseEvent* e); | ||
florianlink
|
r110 | void moveCursor(QTextEdit* theWrappedObject, QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor); | ||
florianlink
|
r128 | bool overwriteMode(QTextEdit* theWrappedObject) const; | ||
void paintEvent(QTextEdit* theWrappedObject, QPaintEvent* e); | ||||
void print(QTextEdit* theWrappedObject, QPrinter* printer) const; | ||||
void resizeEvent(QTextEdit* theWrappedObject, QResizeEvent* e); | ||||
void scrollContentsBy(QTextEdit* theWrappedObject, int dx, int dy); | ||||
void setAcceptRichText(QTextEdit* theWrappedObject, bool accept); | ||||
void setAutoFormatting(QTextEdit* theWrappedObject, QTextEdit::AutoFormatting features); | ||||
florianlink
|
r110 | void setCurrentCharFormat(QTextEdit* theWrappedObject, const QTextCharFormat& format); | ||
florianlink
|
r120 | void setCursorWidth(QTextEdit* theWrappedObject, int width); | ||
florianlink
|
r128 | void setDocument(QTextEdit* theWrappedObject, QTextDocument* document); | ||
florianlink
|
r110 | void setDocumentTitle(QTextEdit* theWrappedObject, const QString& title); | ||
florianlink
|
r128 | void setExtraSelections(QTextEdit* theWrappedObject, const QList<QTextEdit::ExtraSelection >& selections); | ||
void setLineWrapColumnOrWidth(QTextEdit* theWrappedObject, int w); | ||||
void setLineWrapMode(QTextEdit* theWrappedObject, QTextEdit::LineWrapMode mode); | ||||
void setOverwriteMode(QTextEdit* theWrappedObject, bool overwrite); | ||||
void setReadOnly(QTextEdit* theWrappedObject, bool ro); | ||||
void setTabChangesFocus(QTextEdit* theWrappedObject, bool b); | ||||
void setTabStopWidth(QTextEdit* theWrappedObject, int width); | ||||
void setTextCursor(QTextEdit* theWrappedObject, const QTextCursor& cursor); | ||||
florianlink
|
r120 | void setTextInteractionFlags(QTextEdit* theWrappedObject, Qt::TextInteractionFlags flags); | ||
florianlink
|
r128 | void setUndoRedoEnabled(QTextEdit* theWrappedObject, bool enable); | ||
void setWordWrapMode(QTextEdit* theWrappedObject, QTextOption::WrapMode policy); | ||||
void showEvent(QTextEdit* theWrappedObject, QShowEvent* arg__1); | ||||
bool tabChangesFocus(QTextEdit* theWrappedObject) const; | ||||
int tabStopWidth(QTextEdit* theWrappedObject) const; | ||||
QColor textBackgroundColor(QTextEdit* theWrappedObject) const; | ||||
QColor textColor(QTextEdit* theWrappedObject) const; | ||||
florianlink
|
r110 | QTextCursor textCursor(QTextEdit* theWrappedObject) const; | ||
florianlink
|
r128 | Qt::TextInteractionFlags textInteractionFlags(QTextEdit* theWrappedObject) const; | ||
void timerEvent(QTextEdit* theWrappedObject, QTimerEvent* e); | ||||
QString toHtml(QTextEdit* theWrappedObject) const; | ||||
florianlink
|
r110 | QString toPlainText(QTextEdit* theWrappedObject) const; | ||
florianlink
|
r120 | void wheelEvent(QTextEdit* theWrappedObject, QWheelEvent* e); | ||
florianlink
|
r128 | QTextOption::WrapMode wordWrapMode(QTextEdit* theWrappedObject) const; | ||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QTextFragment : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QTextFragment* new_QTextFragment(); | ||
QTextFragment* new_QTextFragment(const QTextFragment& o); | ||||
void delete_QTextFragment(QTextFragment* obj) { delete obj; } | ||||
QTextCharFormat charFormat(QTextFragment* theWrappedObject) const; | ||||
florianlink
|
r128 | int charFormatIndex(QTextFragment* theWrappedObject) const; | ||
bool contains(QTextFragment* theWrappedObject, int position) const; | ||||
florianlink
|
r120 | bool isValid(QTextFragment* theWrappedObject) const; | ||
florianlink
|
r110 | int length(QTextFragment* theWrappedObject) const; | ||
florianlink
|
r128 | bool __ne__(QTextFragment* theWrappedObject, const QTextFragment& o) const; | ||
bool __lt__(QTextFragment* theWrappedObject, const QTextFragment& o) const; | ||||
bool __eq__(QTextFragment* theWrappedObject, const QTextFragment& o) const; | ||||
florianlink
|
r110 | int position(QTextFragment* theWrappedObject) const; | ||
florianlink
|
r128 | QString text(QTextFragment* theWrappedObject) const; | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QTextFrame : public QTextFrame | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTextFrame(QTextDocument* doc):QTextFrame(doc),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r120 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r128 | virtual bool event(QEvent* arg__1); | ||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QTextFrame : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QTextFrame* new_QTextFrame(QTextDocument* doc); | ||
void delete_QTextFrame(QTextFrame* obj) { delete obj; } | ||||
florianlink
|
r128 | QTextFrame::iterator begin(QTextFrame* theWrappedObject) const; | ||
QList<QTextFrame* > childFrames(QTextFrame* theWrappedObject) const; | ||||
florianlink
|
r110 | QTextFrame::iterator end(QTextFrame* theWrappedObject) const; | ||
florianlink
|
r128 | QTextCursor firstCursorPosition(QTextFrame* theWrappedObject) const; | ||
int firstPosition(QTextFrame* theWrappedObject) const; | ||||
florianlink
|
r110 | QTextFrameFormat frameFormat(QTextFrame* theWrappedObject) const; | ||
florianlink
|
r128 | QTextCursor lastCursorPosition(QTextFrame* theWrappedObject) const; | ||
florianlink
|
r110 | int lastPosition(QTextFrame* theWrappedObject) const; | ||
florianlink
|
r128 | QTextFrame* parentFrame(QTextFrame* theWrappedObject) const; | ||
florianlink
|
r110 | void setFrameFormat(QTextFrame* theWrappedObject, const QTextFrameFormat& format); | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QTextFrameFormat : public QTextFrameFormat | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTextFrameFormat():QTextFrameFormat(),_wrapper(NULL) {}; | ||
PythonQtShell_QTextFrameFormat(const QTextFormat& fmt):QTextFrameFormat(fmt),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QTextFrameFormat : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(Position BorderStyle ) | ||
enum Position{ | ||||
InFlow = QTextFrameFormat::InFlow, FloatLeft = QTextFrameFormat::FloatLeft, FloatRight = QTextFrameFormat::FloatRight}; | ||||
enum BorderStyle{ | ||||
BorderStyle_None = QTextFrameFormat::BorderStyle_None, BorderStyle_Dotted = QTextFrameFormat::BorderStyle_Dotted, BorderStyle_Dashed = QTextFrameFormat::BorderStyle_Dashed, BorderStyle_Solid = QTextFrameFormat::BorderStyle_Solid, BorderStyle_Double = QTextFrameFormat::BorderStyle_Double, BorderStyle_DotDash = QTextFrameFormat::BorderStyle_DotDash, BorderStyle_DotDotDash = QTextFrameFormat::BorderStyle_DotDotDash, BorderStyle_Groove = QTextFrameFormat::BorderStyle_Groove, BorderStyle_Ridge = QTextFrameFormat::BorderStyle_Ridge, BorderStyle_Inset = QTextFrameFormat::BorderStyle_Inset, BorderStyle_Outset = QTextFrameFormat::BorderStyle_Outset}; | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QTextFrameFormat* new_QTextFrameFormat(); | ||
QTextFrameFormat* new_QTextFrameFormat(const QTextFrameFormat& other) { | ||||
PythonQtShell_QTextFrameFormat* a = new PythonQtShell_QTextFrameFormat(); | ||||
*((QTextFrameFormat*)a) = other; | ||||
return a; } | ||||
void delete_QTextFrameFormat(QTextFrameFormat* obj) { delete obj; } | ||||
florianlink
|
r128 | qreal border(QTextFrameFormat* theWrappedObject) const; | ||
florianlink
|
r120 | QBrush borderBrush(QTextFrameFormat* theWrappedObject) const; | ||
florianlink
|
r128 | QTextFrameFormat::BorderStyle borderStyle(QTextFrameFormat* theWrappedObject) const; | ||
florianlink
|
r110 | qreal bottomMargin(QTextFrameFormat* theWrappedObject) const; | ||
florianlink
|
r128 | QTextLength height(QTextFrameFormat* theWrappedObject) const; | ||
bool isValid(QTextFrameFormat* theWrappedObject) const; | ||||
qreal leftMargin(QTextFrameFormat* theWrappedObject) const; | ||||
qreal margin(QTextFrameFormat* theWrappedObject) const; | ||||
florianlink
|
r110 | qreal padding(QTextFrameFormat* theWrappedObject) const; | ||
florianlink
|
r128 | QTextFormat::PageBreakFlags pageBreakPolicy(QTextFrameFormat* theWrappedObject) const; | ||
QTextFrameFormat::Position position(QTextFrameFormat* theWrappedObject) const; | ||||
florianlink
|
r120 | qreal rightMargin(QTextFrameFormat* theWrappedObject) const; | ||
florianlink
|
r110 | void setBorder(QTextFrameFormat* theWrappedObject, qreal border); | ||
florianlink
|
r128 | void setBorderBrush(QTextFrameFormat* theWrappedObject, const QBrush& brush); | ||
void setBorderStyle(QTextFrameFormat* theWrappedObject, QTextFrameFormat::BorderStyle style); | ||||
void setBottomMargin(QTextFrameFormat* theWrappedObject, qreal margin); | ||||
void setHeight(QTextFrameFormat* theWrappedObject, const QTextLength& height); | ||||
void setHeight(QTextFrameFormat* theWrappedObject, qreal height); | ||||
void setLeftMargin(QTextFrameFormat* theWrappedObject, qreal margin); | ||||
void setMargin(QTextFrameFormat* theWrappedObject, qreal margin); | ||||
void setPadding(QTextFrameFormat* theWrappedObject, qreal padding); | ||||
void setPageBreakPolicy(QTextFrameFormat* theWrappedObject, QTextFormat::PageBreakFlags flags); | ||||
void setPosition(QTextFrameFormat* theWrappedObject, QTextFrameFormat::Position f); | ||||
void setRightMargin(QTextFrameFormat* theWrappedObject, qreal margin); | ||||
void setTopMargin(QTextFrameFormat* theWrappedObject, qreal margin); | ||||
void setWidth(QTextFrameFormat* theWrappedObject, const QTextLength& length); | ||||
void setWidth(QTextFrameFormat* theWrappedObject, qreal width); | ||||
florianlink
|
r110 | qreal topMargin(QTextFrameFormat* theWrappedObject) const; | ||
florianlink
|
r128 | QTextLength width(QTextFrameFormat* theWrappedObject) const; | ||
florianlink
|
r110 | }; | ||
class PythonQtShell_QTextImageFormat : public QTextImageFormat | ||||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTextImageFormat():QTextImageFormat(),_wrapper(NULL) {}; | ||
PythonQtShell_QTextImageFormat(const QTextFormat& format):QTextImageFormat(format),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QTextImageFormat : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTextImageFormat* new_QTextImageFormat(); | ||||
QTextImageFormat* new_QTextImageFormat(const QTextImageFormat& other) { | ||||
PythonQtShell_QTextImageFormat* a = new PythonQtShell_QTextImageFormat(); | ||||
*((QTextImageFormat*)a) = other; | ||||
return a; } | ||||
void delete_QTextImageFormat(QTextImageFormat* obj) { delete obj; } | ||||
florianlink
|
r128 | qreal height(QTextImageFormat* theWrappedObject) const; | ||
florianlink
|
r120 | bool isValid(QTextImageFormat* theWrappedObject) const; | ||
QString name(QTextImageFormat* theWrappedObject) const; | ||||
florianlink
|
r128 | void setHeight(QTextImageFormat* theWrappedObject, qreal height); | ||
void setName(QTextImageFormat* theWrappedObject, const QString& name); | ||||
void setWidth(QTextImageFormat* theWrappedObject, qreal width); | ||||
qreal width(QTextImageFormat* theWrappedObject) const; | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | |||
class PythonQtWrapper_QTextInlineObject : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | 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; } | ||||
florianlink
|
r128 | qreal ascent(QTextInlineObject* theWrappedObject) const; | ||
florianlink
|
r110 | qreal descent(QTextInlineObject* theWrappedObject) const; | ||
QTextFormat format(QTextInlineObject* theWrappedObject) const; | ||||
florianlink
|
r128 | int formatIndex(QTextInlineObject* theWrappedObject) const; | ||
florianlink
|
r110 | qreal height(QTextInlineObject* theWrappedObject) const; | ||
florianlink
|
r128 | bool isValid(QTextInlineObject* theWrappedObject) const; | ||
QRectF rect(QTextInlineObject* theWrappedObject) const; | ||||
void setAscent(QTextInlineObject* theWrappedObject, qreal a); | ||||
florianlink
|
r110 | void setDescent(QTextInlineObject* theWrappedObject, qreal d); | ||
florianlink
|
r128 | void setWidth(QTextInlineObject* theWrappedObject, qreal w); | ||
Qt::LayoutDirection textDirection(QTextInlineObject* theWrappedObject) const; | ||||
florianlink
|
r110 | int textPosition(QTextInlineObject* theWrappedObject) const; | ||
florianlink
|
r128 | qreal width(QTextInlineObject* theWrappedObject) const; | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QTextItem : public QTextItem | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTextItem():QTextItem(),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QTextItem : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | 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
|
r99 | public slots: | ||
florianlink
|
r110 | QTextItem* new_QTextItem(); | ||
void delete_QTextItem(QTextItem* obj) { delete obj; } | ||||
qreal ascent(QTextItem* theWrappedObject) const; | ||||
florianlink
|
r128 | qreal descent(QTextItem* theWrappedObject) const; | ||
florianlink
|
r110 | QFont font(QTextItem* theWrappedObject) const; | ||
florianlink
|
r128 | QTextItem::RenderFlags renderFlags(QTextItem* theWrappedObject) const; | ||
QString text(QTextItem* theWrappedObject) const; | ||||
qreal width(QTextItem* theWrappedObject) const; | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QTextLine : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
Q_ENUMS(Edge CursorPosition ) | ||||
enum Edge{ | ||||
Leading = QTextLine::Leading, Trailing = QTextLine::Trailing}; | ||||
enum CursorPosition{ | ||||
CursorBetweenCharacters = QTextLine::CursorBetweenCharacters, CursorOnCharacter = QTextLine::CursorOnCharacter}; | ||||
public slots: | ||||
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; } | ||||
florianlink
|
r128 | qreal ascent(QTextLine* theWrappedObject) const; | ||
florianlink
|
r110 | qreal cursorToX(QTextLine* theWrappedObject, int cursorPos, QTextLine::Edge edge = QTextLine::Leading) const; | ||
florianlink
|
r128 | qreal descent(QTextLine* theWrappedObject) const; | ||
florianlink
|
r110 | void draw(QTextLine* theWrappedObject, QPainter* p, const QPointF& point, const QTextLayout::FormatRange* selection = 0) const; | ||
florianlink
|
r128 | qreal height(QTextLine* theWrappedObject) const; | ||
bool isValid(QTextLine* theWrappedObject) const; | ||||
florianlink
|
r110 | qreal leading(QTextLine* theWrappedObject) const; | ||
florianlink
|
r128 | bool leadingIncluded(QTextLine* theWrappedObject) const; | ||
int lineNumber(QTextLine* theWrappedObject) const; | ||||
QRectF naturalTextRect(QTextLine* theWrappedObject) const; | ||||
qreal naturalTextWidth(QTextLine* theWrappedObject) const; | ||||
florianlink
|
r120 | QPointF position(QTextLine* theWrappedObject) const; | ||
florianlink
|
r128 | QRectF rect(QTextLine* theWrappedObject) const; | ||
florianlink
|
r120 | void setLeadingIncluded(QTextLine* theWrappedObject, bool included); | ||
florianlink
|
r128 | 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; | ||||
florianlink
|
r120 | qreal width(QTextLine* theWrappedObject) const; | ||
florianlink
|
r128 | 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 | }; | ||
class PythonQtShell_QTextList : public QTextList | ||||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTextList(QTextDocument* doc):QTextList(doc),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r110 | virtual void blockFormatChanged(const QTextBlock& block); | ||
florianlink
|
r128 | virtual void blockInserted(const QTextBlock& block); | ||
florianlink
|
r110 | virtual void blockRemoved(const QTextBlock& block); | ||
florianlink
|
r99 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r128 | virtual bool event(QEvent* arg__1); | ||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QTextList : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QTextList* new_QTextList(QTextDocument* doc); | ||
void delete_QTextList(QTextList* obj) { delete obj; } | ||||
florianlink
|
r128 | void add(QTextList* theWrappedObject, const QTextBlock& block); | ||
florianlink
|
r110 | int count(QTextList* theWrappedObject) const; | ||
florianlink
|
r128 | QTextListFormat format(QTextList* theWrappedObject) const; | ||
QTextBlock item(QTextList* theWrappedObject, int i) const; | ||||
florianlink
|
r110 | int itemNumber(QTextList* theWrappedObject, const QTextBlock& arg__1) const; | ||
QString itemText(QTextList* theWrappedObject, const QTextBlock& arg__1) const; | ||||
florianlink
|
r128 | void remove(QTextList* theWrappedObject, const QTextBlock& arg__1); | ||
void removeItem(QTextList* theWrappedObject, int i); | ||||
florianlink
|
r110 | void setFormat(QTextList* theWrappedObject, const QTextListFormat& format); | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QTextListFormat : public QTextListFormat | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTextListFormat():QTextListFormat(),_wrapper(NULL) {}; | ||
PythonQtShell_QTextListFormat(const QTextFormat& fmt):QTextListFormat(fmt),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QTextListFormat : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | 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
|
r99 | public slots: | ||
florianlink
|
r110 | 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; } | ||||
florianlink
|
r128 | int indent(QTextListFormat* theWrappedObject) const; | ||
florianlink
|
r110 | bool isValid(QTextListFormat* theWrappedObject) const; | ||
void setIndent(QTextListFormat* theWrappedObject, int indent); | ||||
florianlink
|
r128 | void setStyle(QTextListFormat* theWrappedObject, QTextListFormat::Style style); | ||
florianlink
|
r110 | QTextListFormat::Style style(QTextListFormat* theWrappedObject) const; | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QTextObject : public QTextObject | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTextObject(QTextDocument* doc):QTextObject(doc),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r117 | virtual bool event(QEvent* arg__1); | ||
florianlink
|
r128 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QTextObject : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r128 | QTextDocument* document(QTextObject* theWrappedObject) const; | ||
florianlink
|
r110 | QTextFormat format(QTextObject* theWrappedObject) const; | ||
int formatIndex(QTextObject* theWrappedObject) const; | ||||
int objectIndex(QTextObject* theWrappedObject) const; | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QTextTable : public QTextTable | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTextTable(QTextDocument* doc):QTextTable(doc),_wrapper(NULL) {}; | ||
florianlink
|
r120 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r128 | virtual bool event(QEvent* arg__1); | ||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_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); | ||||
florianlink
|
r128 | void appendRows(QTextTable* theWrappedObject, int count); | ||
QTextTableCell cellAt(QTextTable* theWrappedObject, const QTextCursor& c) const; | ||||
florianlink
|
r120 | QTextTableCell cellAt(QTextTable* theWrappedObject, int position) const; | ||
florianlink
|
r110 | QTextTableCell cellAt(QTextTable* theWrappedObject, int row, int col) const; | ||
florianlink
|
r128 | int columns(QTextTable* theWrappedObject) const; | ||
florianlink
|
r110 | QTextTableFormat format(QTextTable* theWrappedObject) const; | ||
florianlink
|
r128 | void insertColumns(QTextTable* theWrappedObject, int pos, int num); | ||
void insertRows(QTextTable* theWrappedObject, int pos, int num); | ||||
florianlink
|
r120 | void mergeCells(QTextTable* theWrappedObject, const QTextCursor& cursor); | ||
florianlink
|
r110 | void mergeCells(QTextTable* theWrappedObject, int row, int col, int numRows, int numCols); | ||
void removeColumns(QTextTable* theWrappedObject, int pos, int num); | ||||
florianlink
|
r128 | void removeRows(QTextTable* theWrappedObject, int pos, int num); | ||
void resize(QTextTable* theWrappedObject, int rows, int cols); | ||||
florianlink
|
r110 | QTextCursor rowEnd(QTextTable* theWrappedObject, const QTextCursor& c) const; | ||
florianlink
|
r128 | 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 | }; | ||
class PythonQtWrapper_QTextTableCell : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QTextTableCell* new_QTextTableCell(); | ||
QTextTableCell* new_QTextTableCell(const QTextTableCell& o); | ||||
void delete_QTextTableCell(QTextTableCell* obj) { delete obj; } | ||||
florianlink
|
r120 | QTextFrame::iterator begin(QTextTableCell* theWrappedObject) const; | ||
florianlink
|
r128 | int column(QTextTableCell* theWrappedObject) const; | ||
florianlink
|
r110 | int columnSpan(QTextTableCell* theWrappedObject) const; | ||
QTextFrame::iterator end(QTextTableCell* theWrappedObject) const; | ||||
florianlink
|
r128 | QTextCursor firstCursorPosition(QTextTableCell* theWrappedObject) const; | ||
int firstPosition(QTextTableCell* theWrappedObject) const; | ||||
florianlink
|
r120 | QTextCharFormat format(QTextTableCell* theWrappedObject) const; | ||
florianlink
|
r128 | bool isValid(QTextTableCell* theWrappedObject) const; | ||
QTextCursor lastCursorPosition(QTextTableCell* theWrappedObject) const; | ||||
florianlink
|
r110 | int lastPosition(QTextTableCell* theWrappedObject) const; | ||
florianlink
|
r120 | bool __ne__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const; | ||
bool __eq__(QTextTableCell* theWrappedObject, const QTextTableCell& other) const; | ||||
florianlink
|
r110 | int row(QTextTableCell* theWrappedObject) const; | ||
florianlink
|
r128 | int rowSpan(QTextTableCell* theWrappedObject) const; | ||
void setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format); | ||||
int tableCellFormatIndex(QTextTableCell* theWrappedObject) const; | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QTextTableCellFormat : public QTextTableCellFormat | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTextTableCellFormat():QTextTableCellFormat(),_wrapper(NULL) {}; | ||
PythonQtShell_QTextTableCellFormat(const QTextFormat& fmt):QTextTableCellFormat(fmt),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QTextTableCellFormat : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | 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; } | ||||
florianlink
|
r128 | qreal bottomPadding(QTextTableCellFormat* theWrappedObject) const; | ||
florianlink
|
r110 | bool isValid(QTextTableCellFormat* theWrappedObject) const; | ||
florianlink
|
r117 | qreal leftPadding(QTextTableCellFormat* theWrappedObject) const; | ||
florianlink
|
r110 | qreal rightPadding(QTextTableCellFormat* theWrappedObject) const; | ||
florianlink
|
r128 | void setBottomPadding(QTextTableCellFormat* theWrappedObject, qreal padding); | ||
florianlink
|
r120 | void setLeftPadding(QTextTableCellFormat* theWrappedObject, qreal padding); | ||
florianlink
|
r128 | void setPadding(QTextTableCellFormat* theWrappedObject, qreal padding); | ||
florianlink
|
r110 | void setRightPadding(QTextTableCellFormat* theWrappedObject, qreal padding); | ||
florianlink
|
r128 | void setTopPadding(QTextTableCellFormat* theWrappedObject, qreal padding); | ||
qreal topPadding(QTextTableCellFormat* theWrappedObject) const; | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QTextTableFormat : public QTextTableFormat | ||
{ | ||||
florianlink
|
r99 | public: | ||
florianlink
|
r110 | PythonQtShell_QTextTableFormat():QTextTableFormat(),_wrapper(NULL) {}; | ||
PythonQtShell_QTextTableFormat(const QTextFormat& fmt):QTextTableFormat(fmt),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | PythonQtInstanceWrapper* _wrapper; | ||
}; | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | class PythonQtWrapper_QTextTableFormat : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | 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; | ||||
florianlink
|
r128 | 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); | ||||
florianlink
|
r120 | void setCellPadding(QTextTableFormat* theWrappedObject, qreal padding); | ||
florianlink
|
r110 | void setCellSpacing(QTextTableFormat* theWrappedObject, qreal spacing); | ||
florianlink
|
r128 | void setColumnWidthConstraints(QTextTableFormat* theWrappedObject, const QVector<QTextLength >& constraints); | ||
florianlink
|
r110 | void setColumns(QTextTableFormat* theWrappedObject, int columns); | ||
florianlink
|
r128 | void setHeaderRowCount(QTextTableFormat* theWrappedObject, int count); | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QTileRules : public QTileRules | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule):QTileRules(horizontalRule, verticalRule),_wrapper(NULL) {}; | ||
PythonQtShell_QTileRules(Qt::TileRule rule = Qt::StretchTile):QTileRules(rule),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QTileRules : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QTileRules* new_QTileRules(Qt::TileRule horizontalRule, Qt::TileRule verticalRule); | ||
QTileRules* new_QTileRules(Qt::TileRule rule = Qt::StretchTile); | ||||
void delete_QTileRules(QTileRules* obj) { delete obj; } | ||||
florianlink
|
r117 | 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; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QTimeEdit : public QTimeEdit | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QTimeEdit(QWidget* parent = 0):QTimeEdit(parent),_wrapper(NULL) {}; | ||
PythonQtShell_QTimeEdit(const QTime& time, QWidget* parent = 0):QTimeEdit(time, parent),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | virtual void actionEvent(QActionEvent* arg__1); | ||
virtual void changeEvent(QEvent* event); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void clear(); | ||||
virtual void closeEvent(QCloseEvent* event); | ||||
virtual void contextMenuEvent(QContextMenuEvent* event); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r110 | virtual QDateTime dateTimeFromText(const QString& text) const; | ||
florianlink
|
r128 | 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); | ||||
florianlink
|
r120 | virtual bool event(QEvent* event); | ||
florianlink
|
r128 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
florianlink
|
r110 | virtual void fixup(QString& input) const; | ||
virtual void focusInEvent(QFocusEvent* event); | ||||
florianlink
|
r128 | virtual bool focusNextPrevChild(bool next); | ||
florianlink
|
r120 | virtual void focusOutEvent(QFocusEvent* event); | ||
florianlink
|
r128 | virtual int heightForWidth(int arg__1) const; | ||
florianlink
|
r120 | virtual void hideEvent(QHideEvent* event); | ||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
florianlink
|
r128 | virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||
virtual void keyPressEvent(QKeyEvent* event); | ||||
virtual void keyReleaseEvent(QKeyEvent* event); | ||||
florianlink
|
r120 | virtual void languageChange(); | ||
florianlink
|
r117 | virtual void leaveEvent(QEvent* arg__1); | ||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
florianlink
|
r128 | 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); | ||||
florianlink
|
r120 | virtual QPaintEngine* paintEngine() const; | ||
florianlink
|
r128 | 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); | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QTimeEdit : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QTimeEdit* new_QTimeEdit(QWidget* parent = 0); | ||
QTimeEdit* new_QTimeEdit(const QTime& time, QWidget* parent = 0); | ||||
void delete_QTimeEdit(QTimeEdit* obj) { delete obj; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QToolBar : public QToolBar | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QToolBar(QWidget* parent = 0):QToolBar(parent),_wrapper(NULL) {}; | ||
PythonQtShell_QToolBar(const QString& title, QWidget* parent = 0):QToolBar(title, parent),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | virtual void actionEvent(QActionEvent* event); | ||
florianlink
|
r120 | virtual void changeEvent(QEvent* event); | ||
florianlink
|
r110 | virtual void childEvent(QChildEvent* event); | ||
florianlink
|
r128 | 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); | ||||
florianlink
|
r110 | virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||
florianlink
|
r128 | 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 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); | ||||
florianlink
|
r120 | virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||
florianlink
|
r128 | virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||
florianlink
|
r120 | virtual void keyPressEvent(QKeyEvent* arg__1); | ||
florianlink
|
r128 | virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||
florianlink
|
r120 | virtual void languageChange(); | ||
florianlink
|
r128 | virtual void leaveEvent(QEvent* arg__1); | ||
florianlink
|
r120 | virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||
florianlink
|
r128 | virtual QSize minimumSizeHint() const; | ||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
virtual void mouseMoveEvent(QMouseEvent* arg__1); | ||||
florianlink
|
r120 | virtual void mousePressEvent(QMouseEvent* arg__1); | ||
florianlink
|
r128 | 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); | ||||
florianlink
|
r120 | virtual void showEvent(QShowEvent* arg__1); | ||
florianlink
|
r128 | virtual QSize sizeHint() const; | ||
florianlink
|
r120 | virtual void tabletEvent(QTabletEvent* arg__1); | ||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
florianlink
|
r128 | virtual void wheelEvent(QWheelEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QToolBar : public QToolBar | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r110 | inline void promoted_actionEvent(QActionEvent* event) { QToolBar::actionEvent(event); } | ||
florianlink
|
r120 | inline void promoted_changeEvent(QEvent* event) { QToolBar::changeEvent(event); } | ||
florianlink
|
r110 | inline void promoted_childEvent(QChildEvent* event) { QToolBar::childEvent(event); } | ||
florianlink
|
r128 | 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); } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QToolBar : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QToolBar* new_QToolBar(QWidget* parent = 0); | ||
QToolBar* new_QToolBar(const QString& title, QWidget* parent = 0); | ||||
void delete_QToolBar(QToolBar* obj) { delete obj; } | ||||
florianlink
|
r120 | QAction* actionAt(QToolBar* theWrappedObject, const QPoint& p) const; | ||
florianlink
|
r128 | 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); | ||||
florianlink
|
r110 | QAction* addSeparator(QToolBar* theWrappedObject); | ||
florianlink
|
r128 | 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; | ||||
florianlink
|
r110 | QAction* insertSeparator(QToolBar* theWrappedObject, QAction* before); | ||
florianlink
|
r128 | QAction* insertWidget(QToolBar* theWrappedObject, QAction* before, QWidget* widget); | ||
bool isAreaAllowed(QToolBar* theWrappedObject, Qt::ToolBarArea area) const; | ||||
florianlink
|
r110 | bool isFloatable(QToolBar* theWrappedObject) const; | ||
florianlink
|
r128 | bool isFloating(QToolBar* theWrappedObject) const; | ||
bool isMovable(QToolBar* theWrappedObject) const; | ||||
florianlink
|
r110 | Qt::Orientation orientation(QToolBar* theWrappedObject) const; | ||
void paintEvent(QToolBar* theWrappedObject, QPaintEvent* event); | ||||
void resizeEvent(QToolBar* theWrappedObject, QResizeEvent* event); | ||||
florianlink
|
r128 | 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
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QToolBarChangeEvent : public QObject | ||
{ Q_OBJECT | ||||
florianlink
|
r99 | public: | ||
florianlink
|
r110 | public slots: | ||
QToolBarChangeEvent* new_QToolBarChangeEvent(bool t); | ||||
void delete_QToolBarChangeEvent(QToolBarChangeEvent* obj) { delete obj; } | ||||
bool toggle(QToolBarChangeEvent* theWrappedObject) const; | ||||
}; | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | class PythonQtShell_QToolBox : public QToolBox | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QToolBox(QWidget* parent = 0, Qt::WindowFlags f = 0):QToolBox(parent, f),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r128 | virtual void actionEvent(QActionEvent* arg__1); | ||
florianlink
|
r110 | virtual void changeEvent(QEvent* arg__1); | ||
florianlink
|
r128 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual int devType() const; | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
florianlink
|
r110 | virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||
florianlink
|
r128 | virtual void dropEvent(QDropEvent* arg__1); | ||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* e); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void focusInEvent(QFocusEvent* arg__1); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* arg__1); | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
florianlink
|
r120 | virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||
florianlink
|
r128 | virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||
virtual void itemInserted(int index); | ||||
virtual void itemRemoved(int index); | ||||
florianlink
|
r120 | virtual void keyPressEvent(QKeyEvent* arg__1); | ||
florianlink
|
r128 | virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||
florianlink
|
r120 | virtual void languageChange(); | ||
florianlink
|
r128 | virtual void leaveEvent(QEvent* arg__1); | ||
florianlink
|
r120 | virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||
florianlink
|
r128 | virtual QSize minimumSizeHint() const; | ||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
florianlink
|
r110 | virtual void mouseMoveEvent(QMouseEvent* arg__1); | ||
florianlink
|
r128 | 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); | ||||
florianlink
|
r120 | virtual void resizeEvent(QResizeEvent* arg__1); | ||
florianlink
|
r128 | virtual void showEvent(QShowEvent* e); | ||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r128 | virtual void wheelEvent(QWheelEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QToolBox : public QToolBox | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r128 | inline void promoted_changeEvent(QEvent* arg__1) { QToolBox::changeEvent(arg__1); } | ||
inline bool promoted_event(QEvent* e) { return QToolBox::event(e); } | ||||
florianlink
|
r120 | inline void promoted_itemInserted(int index) { QToolBox::itemInserted(index); } | ||
florianlink
|
r110 | inline void promoted_itemRemoved(int index) { QToolBox::itemRemoved(index); } | ||
florianlink
|
r128 | inline void promoted_showEvent(QShowEvent* e) { QToolBox::showEvent(e); } | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QToolBox : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QToolBox* new_QToolBox(QWidget* parent = 0, Qt::WindowFlags f = 0); | ||
void delete_QToolBox(QToolBox* obj) { delete obj; } | ||||
florianlink
|
r120 | int addItem(QToolBox* theWrappedObject, QWidget* widget, const QIcon& icon, const QString& text); | ||
florianlink
|
r128 | int addItem(QToolBox* theWrappedObject, QWidget* widget, const QString& text); | ||
void changeEvent(QToolBox* theWrappedObject, QEvent* arg__1); | ||||
florianlink
|
r120 | int count(QToolBox* theWrappedObject) const; | ||
florianlink
|
r128 | int currentIndex(QToolBox* theWrappedObject) const; | ||
QWidget* currentWidget(QToolBox* theWrappedObject) const; | ||||
bool event(QToolBox* theWrappedObject, QEvent* e); | ||||
florianlink
|
r120 | int indexOf(QToolBox* theWrappedObject, QWidget* widget) const; | ||
florianlink
|
r110 | 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); | ||||
florianlink
|
r128 | 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; | ||||
florianlink
|
r110 | void removeItem(QToolBox* theWrappedObject, int index); | ||
void setItemEnabled(QToolBox* theWrappedObject, int index, bool enabled); | ||||
florianlink
|
r128 | 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
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QToolButton : public QToolButton | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QToolButton(QWidget* parent = 0):QToolButton(parent),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r110 | virtual void actionEvent(QActionEvent* arg__1); | ||
florianlink
|
r128 | virtual void changeEvent(QEvent* arg__1); | ||
florianlink
|
r117 | 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); | ||||
florianlink
|
r120 | virtual int devType() const; | ||
florianlink
|
r128 | virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
florianlink
|
r120 | virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||
florianlink
|
r128 | virtual void dropEvent(QDropEvent* arg__1); | ||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* e); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void focusInEvent(QFocusEvent* e); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* e); | ||||
virtual int heightForWidth(int arg__1) const; | ||||
florianlink
|
r120 | virtual void hideEvent(QHideEvent* arg__1); | ||
florianlink
|
r128 | virtual bool hitButton(const QPoint& pos) const; | ||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
florianlink
|
r110 | virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||
florianlink
|
r128 | virtual void keyPressEvent(QKeyEvent* e); | ||
virtual void keyReleaseEvent(QKeyEvent* e); | ||||
virtual void languageChange(); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
florianlink
|
r117 | virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||
florianlink
|
r128 | virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||
virtual void mouseMoveEvent(QMouseEvent* e); | ||||
virtual void mousePressEvent(QMouseEvent* arg__1); | ||||
virtual void mouseReleaseEvent(QMouseEvent* arg__1); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual void nextCheckState(); | ||||
florianlink
|
r120 | virtual QPaintEngine* paintEngine() const; | ||
florianlink
|
r128 | virtual void paintEvent(QPaintEvent* arg__1); | ||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
florianlink
|
r120 | virtual void showEvent(QShowEvent* arg__1); | ||
florianlink
|
r128 | virtual void tabletEvent(QTabletEvent* arg__1); | ||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
virtual void wheelEvent(QWheelEvent* arg__1); | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QToolButton : public QToolButton | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r128 | inline void promoted_actionEvent(QActionEvent* arg__1) { QToolButton::actionEvent(arg__1); } | ||
inline void promoted_changeEvent(QEvent* arg__1) { QToolButton::changeEvent(arg__1); } | ||||
florianlink
|
r120 | inline void promoted_enterEvent(QEvent* arg__1) { QToolButton::enterEvent(arg__1); } | ||
inline bool promoted_event(QEvent* e) { return QToolButton::event(e); } | ||||
florianlink
|
r110 | inline bool promoted_hitButton(const QPoint& pos) const { return QToolButton::hitButton(pos); } | ||
florianlink
|
r128 | inline void promoted_leaveEvent(QEvent* arg__1) { QToolButton::leaveEvent(arg__1); } | ||
florianlink
|
r110 | inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QToolButton::mousePressEvent(arg__1); } | ||
inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QToolButton::mouseReleaseEvent(arg__1); } | ||||
florianlink
|
r128 | inline void promoted_nextCheckState() { QToolButton::nextCheckState(); } | ||
inline void promoted_paintEvent(QPaintEvent* arg__1) { QToolButton::paintEvent(arg__1); } | ||||
florianlink
|
r110 | inline void promoted_timerEvent(QTimerEvent* arg__1) { QToolButton::timerEvent(arg__1); } | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QToolButton : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QToolButton* new_QToolButton(QWidget* parent = 0); | ||
void delete_QToolButton(QToolButton* obj) { delete obj; } | ||||
florianlink
|
r128 | void actionEvent(QToolButton* theWrappedObject, QActionEvent* arg__1); | ||
Qt::ArrowType arrowType(QToolButton* theWrappedObject) const; | ||||
florianlink
|
r110 | bool autoRaise(QToolButton* theWrappedObject) const; | ||
void changeEvent(QToolButton* theWrappedObject, QEvent* arg__1); | ||||
QAction* defaultAction(QToolButton* theWrappedObject) const; | ||||
florianlink
|
r128 | 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; | ||||
florianlink
|
r110 | void mousePressEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1); | ||
void mouseReleaseEvent(QToolButton* theWrappedObject, QMouseEvent* arg__1); | ||||
florianlink
|
r128 | 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); | ||||
florianlink
|
r120 | void setPopupMode(QToolButton* theWrappedObject, QToolButton::ToolButtonPopupMode mode); | ||
florianlink
|
r128 | QSize sizeHint(QToolButton* theWrappedObject) const; | ||
florianlink
|
r110 | void timerEvent(QToolButton* theWrappedObject, QTimerEvent* arg__1); | ||
florianlink
|
r128 | Qt::ToolButtonStyle toolButtonStyle(QToolButton* theWrappedObject) const; | ||
florianlink
|
r99 | }; | ||