com_trolltech_qt_gui4.h
2053 lines
| 104.7 KiB
| text/x-c
|
CLexer
florianlink
|
r99 | #include <PythonQt.h> | ||
#include <QColor> | ||||
#include <QImage> | ||||
#include <QObject> | ||||
#include <QRect> | ||||
#include <QSize> | ||||
florianlink
|
r110 | #include <QStringList> | ||
#include <QTextFormat> | ||||
florianlink
|
r99 | #include <QVariant> | ||
florianlink
|
r110 | #include <qabstractanimation.h> | ||
florianlink
|
r99 | #include <qabstractitemdelegate.h> | ||
#include <qabstractitemmodel.h> | ||||
#include <qabstractitemview.h> | ||||
florianlink
|
r110 | #include <qabstractstate.h> | ||
florianlink
|
r99 | #include <qaction.h> | ||
#include <qbitmap.h> | ||||
#include <qbrush.h> | ||||
#include <qbytearray.h> | ||||
#include <qcolor.h> | ||||
#include <qcompleter.h> | ||||
#include <qcoreevent.h> | ||||
#include <qcursor.h> | ||||
#include <qdatastream.h> | ||||
#include <qdockwidget.h> | ||||
#include <qevent.h> | ||||
#include <qfont.h> | ||||
florianlink
|
r110 | #include <qgraphicseffect.h> | ||
#include <qgraphicsproxywidget.h> | ||||
florianlink
|
r99 | #include <qicon.h> | ||
florianlink
|
r110 | #include <qiconengineplugin.h> | ||
florianlink
|
r99 | #include <qimage.h> | ||
florianlink
|
r110 | #include <qimageiohandler.h> | ||
#include <qimagereader.h> | ||||
#include <qimagewriter.h> | ||||
florianlink
|
r99 | #include <qinputcontext.h> | ||
florianlink
|
r110 | #include <qinputcontextfactory.h> | ||
#include <qinputcontextplugin.h> | ||||
#include <qinputdialog.h> | ||||
florianlink
|
r99 | #include <qiodevice.h> | ||
#include <qitemdelegate.h> | ||||
#include <qitemeditorfactory.h> | ||||
#include <qitemselectionmodel.h> | ||||
florianlink
|
r110 | #include <qkeyeventtransition.h> | ||
florianlink
|
r99 | #include <qkeysequence.h> | ||
#include <qlabel.h> | ||||
#include <qlayout.h> | ||||
#include <qlayoutitem.h> | ||||
#include <qlcdnumber.h> | ||||
#include <qlineedit.h> | ||||
#include <qlist.h> | ||||
#include <qlistview.h> | ||||
#include <qlistwidget.h> | ||||
#include <qlocale.h> | ||||
#include <qmainwindow.h> | ||||
florianlink
|
r110 | #include <qmargins.h> | ||
florianlink
|
r99 | #include <qmenu.h> | ||
#include <qmenubar.h> | ||||
#include <qmimedata.h> | ||||
#include <qmovie.h> | ||||
#include <qobject.h> | ||||
#include <qpaintdevice.h> | ||||
#include <qpaintengine.h> | ||||
#include <qpainter.h> | ||||
#include <qpair.h> | ||||
#include <qpalette.h> | ||||
#include <qpicture.h> | ||||
#include <qpixmap.h> | ||||
#include <qpoint.h> | ||||
#include <qrect.h> | ||||
#include <qregion.h> | ||||
#include <qscrollbar.h> | ||||
#include <qsize.h> | ||||
#include <qsizepolicy.h> | ||||
florianlink
|
r110 | #include <qstate.h> | ||
#include <qstatemachine.h> | ||||
florianlink
|
r99 | #include <qstatusbar.h> | ||
#include <qstringlist.h> | ||||
#include <qstyle.h> | ||||
#include <qstyleoption.h> | ||||
florianlink
|
r110 | #include <qtextformat.h> | ||
florianlink
|
r99 | #include <qtoolbar.h> | ||
#include <qvalidator.h> | ||||
#include <qvector.h> | ||||
#include <qwidget.h> | ||||
florianlink
|
r110 | class PythonQtShell_QIconEnginePluginV2 : public QIconEnginePluginV2 | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QIconEnginePluginV2(QObject* parent = 0):QIconEnginePluginV2(parent),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r128 | virtual void childEvent(QChildEvent* arg__1); | ||
florianlink
|
r110 | virtual QIconEngineV2* create(const QString& filename = QString()); | ||
florianlink
|
r128 | virtual void customEvent(QEvent* arg__1); | ||
florianlink
|
r117 | virtual bool event(QEvent* arg__1); | ||
florianlink
|
r99 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
florianlink
|
r128 | virtual QStringList keys() const; | ||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QIconEnginePluginV2 : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QIconEnginePluginV2* new_QIconEnginePluginV2(QObject* parent = 0); | ||
void delete_QIconEnginePluginV2(QIconEnginePluginV2* obj) { delete obj; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QImageIOHandler : public QImageIOHandler | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QImageIOHandler():QImageIOHandler(),_wrapper(NULL) {}; | ||
florianlink
|
r128 | virtual bool canRead() const; | ||
florianlink
|
r120 | virtual int currentImageNumber() const; | ||
virtual QRect currentImageRect() const; | ||||
florianlink
|
r128 | virtual int imageCount() const; | ||
virtual bool jumpToImage(int imageNumber); | ||||
florianlink
|
r120 | virtual bool jumpToNextImage(); | ||
florianlink
|
r110 | virtual int loopCount() const; | ||
florianlink
|
r128 | virtual QByteArray name() const; | ||
virtual int nextImageDelay() const; | ||||
florianlink
|
r110 | virtual QVariant option(QImageIOHandler::ImageOption option) const; | ||
florianlink
|
r128 | virtual bool read(QImage* image); | ||
florianlink
|
r120 | virtual void setOption(QImageIOHandler::ImageOption option, const QVariant& value); | ||
florianlink
|
r128 | virtual bool supportsOption(QImageIOHandler::ImageOption option) const; | ||
virtual bool write(const QImage& image); | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QImageIOHandler : public QImageIOHandler | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r120 | inline int promoted_currentImageNumber() const { return QImageIOHandler::currentImageNumber(); } | ||
inline QRect promoted_currentImageRect() const { return QImageIOHandler::currentImageRect(); } | ||||
florianlink
|
r128 | inline int promoted_imageCount() const { return QImageIOHandler::imageCount(); } | ||
inline bool promoted_jumpToImage(int imageNumber) { return QImageIOHandler::jumpToImage(imageNumber); } | ||||
florianlink
|
r120 | inline bool promoted_jumpToNextImage() { return QImageIOHandler::jumpToNextImage(); } | ||
florianlink
|
r110 | inline int promoted_loopCount() const { return QImageIOHandler::loopCount(); } | ||
florianlink
|
r128 | inline int promoted_nextImageDelay() const { return QImageIOHandler::nextImageDelay(); } | ||
florianlink
|
r110 | inline QVariant promoted_option(QImageIOHandler::ImageOption option) const { return QImageIOHandler::option(option); } | ||
florianlink
|
r120 | inline void promoted_setOption(QImageIOHandler::ImageOption option, const QVariant& value) { QImageIOHandler::setOption(option, value); } | ||
florianlink
|
r128 | inline bool promoted_supportsOption(QImageIOHandler::ImageOption option) const { return QImageIOHandler::supportsOption(option); } | ||
inline bool promoted_write(const QImage& image) { return QImageIOHandler::write(image); } | ||||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QImageIOHandler : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(ImageOption ) | ||
enum ImageOption{ | ||||
Size = QImageIOHandler::Size, ClipRect = QImageIOHandler::ClipRect, Description = QImageIOHandler::Description, ScaledClipRect = QImageIOHandler::ScaledClipRect, ScaledSize = QImageIOHandler::ScaledSize, CompressionRatio = QImageIOHandler::CompressionRatio, Gamma = QImageIOHandler::Gamma, Quality = QImageIOHandler::Quality, Name = QImageIOHandler::Name, SubType = QImageIOHandler::SubType, IncrementalReading = QImageIOHandler::IncrementalReading, Endianness = QImageIOHandler::Endianness, Animation = QImageIOHandler::Animation, BackgroundColor = QImageIOHandler::BackgroundColor, ImageFormat = QImageIOHandler::ImageFormat}; | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QImageIOHandler* new_QImageIOHandler(); | ||
void delete_QImageIOHandler(QImageIOHandler* obj) { delete obj; } | ||||
florianlink
|
r120 | int currentImageNumber(QImageIOHandler* theWrappedObject) const; | ||
QRect currentImageRect(QImageIOHandler* theWrappedObject) const; | ||||
QIODevice* device(QImageIOHandler* theWrappedObject) const; | ||||
florianlink
|
r128 | QByteArray format(QImageIOHandler* theWrappedObject) const; | ||
florianlink
|
r110 | int imageCount(QImageIOHandler* theWrappedObject) const; | ||
bool jumpToImage(QImageIOHandler* theWrappedObject, int imageNumber); | ||||
florianlink
|
r128 | bool jumpToNextImage(QImageIOHandler* theWrappedObject); | ||
int loopCount(QImageIOHandler* theWrappedObject) const; | ||||
int nextImageDelay(QImageIOHandler* theWrappedObject) const; | ||||
QVariant option(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const; | ||||
void setDevice(QImageIOHandler* theWrappedObject, QIODevice* device); | ||||
void setFormat(QImageIOHandler* theWrappedObject, const QByteArray& format); | ||||
florianlink
|
r120 | void setOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option, const QVariant& value); | ||
florianlink
|
r128 | bool supportsOption(QImageIOHandler* theWrappedObject, QImageIOHandler::ImageOption option) const; | ||
bool write(QImageIOHandler* theWrappedObject, const QImage& image); | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QImageIOPlugin : public QImageIOPlugin | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QImageIOPlugin(QObject* parent = 0):QImageIOPlugin(parent),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r120 | virtual QImageIOPlugin::Capabilities capabilities(QIODevice* device, const QByteArray& format) const; | ||
virtual void childEvent(QChildEvent* arg__1); | ||||
florianlink
|
r128 | virtual QImageIOHandler* create(QIODevice* device, const QByteArray& format = QByteArray()) const; | ||
florianlink
|
r120 | virtual void customEvent(QEvent* arg__1); | ||
florianlink
|
r128 | virtual bool event(QEvent* arg__1); | ||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual QStringList keys() const; | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QImageIOPlugin : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(Capability ) | ||
Q_FLAGS(Capabilities ) | ||||
enum Capability{ | ||||
CanRead = QImageIOPlugin::CanRead, CanWrite = QImageIOPlugin::CanWrite, CanReadIncremental = QImageIOPlugin::CanReadIncremental}; | ||||
Q_DECLARE_FLAGS(Capabilities, Capability) | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QImageIOPlugin* new_QImageIOPlugin(QObject* parent = 0); | ||
void delete_QImageIOPlugin(QImageIOPlugin* obj) { delete obj; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QImageReader : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
Q_ENUMS(ImageReaderError ) | ||||
enum ImageReaderError{ | ||||
UnknownError = QImageReader::UnknownError, FileNotFoundError = QImageReader::FileNotFoundError, DeviceError = QImageReader::DeviceError, UnsupportedFormatError = QImageReader::UnsupportedFormatError, InvalidDataError = QImageReader::InvalidDataError}; | ||||
public slots: | ||||
QImageReader* new_QImageReader(); | ||||
QImageReader* new_QImageReader(QIODevice* device, const QByteArray& format = QByteArray()); | ||||
QImageReader* new_QImageReader(const QString& fileName, const QByteArray& format = QByteArray()); | ||||
void delete_QImageReader(QImageReader* obj) { delete obj; } | ||||
florianlink
|
r128 | bool autoDetectImageFormat(QImageReader* theWrappedObject) const; | ||
florianlink
|
r110 | QColor backgroundColor(QImageReader* theWrappedObject) const; | ||
florianlink
|
r128 | bool canRead(QImageReader* theWrappedObject) const; | ||
QRect clipRect(QImageReader* theWrappedObject) const; | ||||
florianlink
|
r120 | int currentImageNumber(QImageReader* theWrappedObject) const; | ||
florianlink
|
r128 | QRect currentImageRect(QImageReader* theWrappedObject) const; | ||
florianlink
|
r120 | bool decideFormatFromContent(QImageReader* theWrappedObject) const; | ||
QIODevice* device(QImageReader* theWrappedObject) const; | ||||
QImageReader::ImageReaderError error(QImageReader* theWrappedObject) const; | ||||
florianlink
|
r128 | QString errorString(QImageReader* theWrappedObject) const; | ||
QString fileName(QImageReader* theWrappedObject) const; | ||||
QByteArray format(QImageReader* theWrappedObject) const; | ||||
int imageCount(QImageReader* theWrappedObject) const; | ||||
QImage::Format imageFormat(QImageReader* theWrappedObject) const; | ||||
florianlink
|
r120 | QByteArray static_QImageReader_imageFormat(QIODevice* device); | ||
florianlink
|
r128 | QByteArray static_QImageReader_imageFormat(const QString& fileName); | ||
bool jumpToImage(QImageReader* theWrappedObject, int imageNumber); | ||||
bool jumpToNextImage(QImageReader* theWrappedObject); | ||||
int loopCount(QImageReader* theWrappedObject) const; | ||||
florianlink
|
r120 | int nextImageDelay(QImageReader* theWrappedObject) const; | ||
florianlink
|
r110 | int quality(QImageReader* theWrappedObject) const; | ||
florianlink
|
r128 | QImage read(QImageReader* theWrappedObject); | ||
QRect scaledClipRect(QImageReader* theWrappedObject) const; | ||||
QSize scaledSize(QImageReader* theWrappedObject) const; | ||||
void setAutoDetectImageFormat(QImageReader* theWrappedObject, bool enabled); | ||||
void setBackgroundColor(QImageReader* theWrappedObject, const QColor& color); | ||||
void setClipRect(QImageReader* theWrappedObject, const QRect& rect); | ||||
void setDecideFormatFromContent(QImageReader* theWrappedObject, bool ignored); | ||||
florianlink
|
r110 | void setDevice(QImageReader* theWrappedObject, QIODevice* device); | ||
florianlink
|
r128 | void setFileName(QImageReader* theWrappedObject, const QString& fileName); | ||
void setFormat(QImageReader* theWrappedObject, const QByteArray& format); | ||||
void setQuality(QImageReader* theWrappedObject, int quality); | ||||
void setScaledClipRect(QImageReader* theWrappedObject, const QRect& rect); | ||||
void setScaledSize(QImageReader* theWrappedObject, const QSize& size); | ||||
QSize size(QImageReader* theWrappedObject) const; | ||||
QList<QByteArray > static_QImageReader_supportedImageFormats(); | ||||
bool supportsAnimation(QImageReader* theWrappedObject) const; | ||||
bool supportsOption(QImageReader* theWrappedObject, QImageIOHandler::ImageOption option) const; | ||||
QString text(QImageReader* theWrappedObject, const QString& key) const; | ||||
QStringList textKeys(QImageReader* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QImageWriter : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
Q_ENUMS(ImageWriterError ) | ||||
enum ImageWriterError{ | ||||
UnknownError = QImageWriter::UnknownError, DeviceError = QImageWriter::DeviceError, UnsupportedFormatError = QImageWriter::UnsupportedFormatError}; | ||||
public slots: | ||||
QImageWriter* new_QImageWriter(); | ||||
QImageWriter* new_QImageWriter(QIODevice* device, const QByteArray& format); | ||||
QImageWriter* new_QImageWriter(const QString& fileName, const QByteArray& format = QByteArray()); | ||||
void delete_QImageWriter(QImageWriter* obj) { delete obj; } | ||||
florianlink
|
r120 | bool canWrite(QImageWriter* theWrappedObject) const; | ||
florianlink
|
r110 | int compression(QImageWriter* theWrappedObject) const; | ||
QIODevice* device(QImageWriter* theWrappedObject) const; | ||||
florianlink
|
r128 | QImageWriter::ImageWriterError error(QImageWriter* theWrappedObject) const; | ||
florianlink
|
r110 | QString errorString(QImageWriter* theWrappedObject) const; | ||
florianlink
|
r128 | QString fileName(QImageWriter* theWrappedObject) const; | ||
QByteArray format(QImageWriter* theWrappedObject) const; | ||||
float gamma(QImageWriter* theWrappedObject) const; | ||||
int quality(QImageWriter* theWrappedObject) const; | ||||
void setCompression(QImageWriter* theWrappedObject, int compression); | ||||
void setDevice(QImageWriter* theWrappedObject, QIODevice* device); | ||||
void setFileName(QImageWriter* theWrappedObject, const QString& fileName); | ||||
void setFormat(QImageWriter* theWrappedObject, const QByteArray& format); | ||||
void setGamma(QImageWriter* theWrappedObject, float gamma); | ||||
void setQuality(QImageWriter* theWrappedObject, int quality); | ||||
florianlink
|
r110 | void setText(QImageWriter* theWrappedObject, const QString& key, const QString& text); | ||
florianlink
|
r128 | QList<QByteArray > static_QImageWriter_supportedImageFormats(); | ||
bool supportsOption(QImageWriter* theWrappedObject, QImageIOHandler::ImageOption option) const; | ||||
bool write(QImageWriter* theWrappedObject, const QImage& image); | ||||
florianlink
|
r110 | }; | ||
class PythonQtShell_QInputContext : public QInputContext | ||||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QInputContext(QObject* parent = 0):QInputContext(parent),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r128 | virtual QList<QAction* > actions(); | ||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* arg__1); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
florianlink
|
r110 | virtual bool filterEvent(const QEvent* event); | ||
virtual QFont font() const; | ||||
florianlink
|
r128 | virtual QString identifierName(); | ||
florianlink
|
r120 | virtual bool isComposing() const; | ||
florianlink
|
r128 | virtual QString language(); | ||
florianlink
|
r120 | virtual void mouseHandler(int x, QMouseEvent* event); | ||
florianlink
|
r128 | virtual void reset(); | ||
virtual void setFocusWidget(QWidget* w); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r128 | virtual void update(); | ||
virtual void widgetDestroyed(QWidget* w); | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QInputContext : public QInputContext | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r128 | inline QList<QAction* > promoted_actions() { return QInputContext::actions(); } | ||
florianlink
|
r110 | inline bool promoted_filterEvent(const QEvent* event) { return QInputContext::filterEvent(event); } | ||
inline QFont promoted_font() const { return QInputContext::font(); } | ||||
florianlink
|
r120 | inline void promoted_mouseHandler(int x, QMouseEvent* event) { QInputContext::mouseHandler(x, event); } | ||
florianlink
|
r128 | inline void promoted_update() { QInputContext::update(); } | ||
inline void promoted_widgetDestroyed(QWidget* w) { QInputContext::widgetDestroyed(w); } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QInputContext : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(StandardFormat ) | ||
enum StandardFormat{ | ||||
PreeditFormat = QInputContext::PreeditFormat, SelectionFormat = QInputContext::SelectionFormat}; | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QInputContext* new_QInputContext(QObject* parent = 0); | ||
void delete_QInputContext(QInputContext* obj) { delete obj; } | ||||
florianlink
|
r128 | QList<QAction* > actions(QInputContext* theWrappedObject); | ||
florianlink
|
r110 | bool filterEvent(QInputContext* theWrappedObject, const QEvent* event); | ||
florianlink
|
r128 | QWidget* focusWidget(QInputContext* theWrappedObject) const; | ||
florianlink
|
r110 | QFont font(QInputContext* theWrappedObject) const; | ||
void mouseHandler(QInputContext* theWrappedObject, int x, QMouseEvent* event); | ||||
florianlink
|
r128 | void sendEvent(QInputContext* theWrappedObject, const QInputMethodEvent& event); | ||
florianlink
|
r110 | QTextFormat standardFormat(QInputContext* theWrappedObject, QInputContext::StandardFormat s) const; | ||
florianlink
|
r128 | void update(QInputContext* theWrappedObject); | ||
void widgetDestroyed(QInputContext* theWrappedObject, QWidget* w); | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QInputContextFactory : public QInputContextFactory | ||
{ | ||||
public: | ||||
PythonQtShell_QInputContextFactory():QInputContextFactory(),_wrapper(NULL) {}; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtWrapper_QInputContextFactory : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QInputContextFactory* new_QInputContextFactory(); | ||
void delete_QInputContextFactory(QInputContextFactory* obj) { delete obj; } | ||||
florianlink
|
r128 | QInputContext* static_QInputContextFactory_create(const QString& key, QObject* parent); | ||
QString static_QInputContextFactory_description(const QString& key); | ||||
florianlink
|
r110 | QString static_QInputContextFactory_displayName(const QString& key); | ||
QStringList static_QInputContextFactory_keys(); | ||||
QStringList static_QInputContextFactory_languages(const QString& key); | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QInputContextPlugin : public QInputContextPlugin | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QInputContextPlugin(QObject* parent = 0):QInputContextPlugin(parent),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r128 | virtual void childEvent(QChildEvent* arg__1); | ||
florianlink
|
r110 | virtual QInputContext* create(const QString& key); | ||
florianlink
|
r128 | virtual void customEvent(QEvent* arg__1); | ||
virtual QString description(const QString& key); | ||||
florianlink
|
r120 | virtual QString displayName(const QString& key); | ||
florianlink
|
r117 | virtual bool event(QEvent* arg__1); | ||
florianlink
|
r99 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
florianlink
|
r128 | virtual QStringList keys() const; | ||
virtual QStringList languages(const QString& key); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QInputContextPlugin : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QInputContextPlugin* new_QInputContextPlugin(QObject* parent = 0); | ||
void delete_QInputContextPlugin(QInputContextPlugin* obj) { delete obj; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QInputDialog : public QInputDialog | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QInputDialog(QWidget* parent = 0, Qt::WindowFlags flags = 0):QInputDialog(parent, flags),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r117 | virtual void accept(); | ||
florianlink
|
r128 | virtual void actionEvent(QActionEvent* arg__1); | ||
virtual void changeEvent(QEvent* arg__1); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual int devType() const; | ||||
virtual void done(int result); | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* arg__1); | ||||
florianlink
|
r117 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
florianlink
|
r128 | virtual void focusInEvent(QFocusEvent* arg__1); | ||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* arg__1); | ||||
florianlink
|
r110 | virtual int heightForWidth(int arg__1) const; | ||
florianlink
|
r128 | virtual void hideEvent(QHideEvent* arg__1); | ||
florianlink
|
r120 | virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||
florianlink
|
r99 | virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||
florianlink
|
r128 | virtual void keyPressEvent(QKeyEvent* arg__1); | ||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void languageChange(); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
florianlink
|
r120 | virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||
florianlink
|
r128 | virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||
virtual void mouseMoveEvent(QMouseEvent* arg__1); | ||||
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; | ||||
florianlink
|
r120 | virtual void paintEvent(QPaintEvent* arg__1); | ||
florianlink
|
r128 | virtual void reject(); | ||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
virtual void showEvent(QShowEvent* arg__1); | ||||
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_QInputDialog : public QInputDialog | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r110 | inline void promoted_done(int result) { QInputDialog::done(result); } | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QInputDialog : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(InputMode InputDialogOption ) | ||
Q_FLAGS(InputDialogOptions ) | ||||
enum InputMode{ | ||||
TextInput = QInputDialog::TextInput, IntInput = QInputDialog::IntInput, DoubleInput = QInputDialog::DoubleInput}; | ||||
enum InputDialogOption{ | ||||
NoButtons = QInputDialog::NoButtons, UseListViewForComboBoxItems = QInputDialog::UseListViewForComboBoxItems}; | ||||
Q_DECLARE_FLAGS(InputDialogOptions, InputDialogOption) | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QInputDialog* new_QInputDialog(QWidget* parent = 0, Qt::WindowFlags flags = 0); | ||
void delete_QInputDialog(QInputDialog* obj) { delete obj; } | ||||
florianlink
|
r128 | QString cancelButtonText(QInputDialog* theWrappedObject) const; | ||
florianlink
|
r120 | QStringList comboBoxItems(QInputDialog* theWrappedObject) const; | ||
florianlink
|
r110 | void done(QInputDialog* theWrappedObject, int result); | ||
int doubleDecimals(QInputDialog* theWrappedObject) const; | ||||
double doubleMaximum(QInputDialog* theWrappedObject) const; | ||||
florianlink
|
r128 | double doubleMinimum(QInputDialog* theWrappedObject) const; | ||
double doubleValue(QInputDialog* theWrappedObject) const; | ||||
florianlink
|
r120 | double static_QInputDialog_getDouble(QWidget* parent, const QString& title, const QString& label, double value = 0, double minValue = -2147483647, double maxValue = 2147483647, int decimals = 1, bool* ok = 0, Qt::WindowFlags flags = 0); | ||
florianlink
|
r128 | int static_QInputDialog_getInt(QWidget* parent, const QString& title, const QString& label, int value = 0, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool* ok = 0, Qt::WindowFlags flags = 0); | ||
florianlink
|
r120 | int static_QInputDialog_getInteger(QWidget* parent, const QString& title, const QString& label, int value = 0, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool* ok = 0, Qt::WindowFlags flags = 0); | ||
florianlink
|
r110 | QString static_QInputDialog_getItem(QWidget* parent, const QString& title, const QString& label, const QStringList& items, int current = 0, bool editable = true, bool* ok = 0, Qt::WindowFlags flags = 0); | ||
florianlink
|
r128 | QString static_QInputDialog_getText(QWidget* parent, const QString& title, const QString& label, QLineEdit::EchoMode echo = QLineEdit::Normal, const QString& text = QString(), bool* ok = 0, Qt::WindowFlags flags = 0); | ||
QInputDialog::InputMode inputMode(QInputDialog* theWrappedObject) const; | ||||
int intMaximum(QInputDialog* theWrappedObject) const; | ||||
int intMinimum(QInputDialog* theWrappedObject) const; | ||||
int intStep(QInputDialog* theWrappedObject) const; | ||||
int intValue(QInputDialog* theWrappedObject) const; | ||||
bool isComboBoxEditable(QInputDialog* theWrappedObject) const; | ||||
QString labelText(QInputDialog* theWrappedObject) const; | ||||
florianlink
|
r110 | QSize minimumSizeHint(QInputDialog* theWrappedObject) const; | ||
florianlink
|
r128 | QString okButtonText(QInputDialog* theWrappedObject) const; | ||
void open(QInputDialog* theWrappedObject); | ||||
void open(QInputDialog* theWrappedObject, QObject* receiver, const char* member); | ||||
QInputDialog::InputDialogOptions options(QInputDialog* theWrappedObject) const; | ||||
void setCancelButtonText(QInputDialog* theWrappedObject, const QString& text); | ||||
void setComboBoxEditable(QInputDialog* theWrappedObject, bool editable); | ||||
void setComboBoxItems(QInputDialog* theWrappedObject, const QStringList& items); | ||||
void setDoubleDecimals(QInputDialog* theWrappedObject, int decimals); | ||||
void setDoubleMaximum(QInputDialog* theWrappedObject, double max); | ||||
void setDoubleMinimum(QInputDialog* theWrappedObject, double min); | ||||
void setDoubleRange(QInputDialog* theWrappedObject, double min, double max); | ||||
void setDoubleValue(QInputDialog* theWrappedObject, double value); | ||||
void setInputMode(QInputDialog* theWrappedObject, QInputDialog::InputMode mode); | ||||
void setIntMaximum(QInputDialog* theWrappedObject, int max); | ||||
void setIntMinimum(QInputDialog* theWrappedObject, int min); | ||||
void setIntRange(QInputDialog* theWrappedObject, int min, int max); | ||||
florianlink
|
r110 | void setIntStep(QInputDialog* theWrappedObject, int step); | ||
florianlink
|
r128 | void setIntValue(QInputDialog* theWrappedObject, int value); | ||
florianlink
|
r110 | void setLabelText(QInputDialog* theWrappedObject, const QString& text); | ||
florianlink
|
r128 | void setOkButtonText(QInputDialog* theWrappedObject, const QString& text); | ||
void setOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option, bool on = true); | ||||
void setOptions(QInputDialog* theWrappedObject, QInputDialog::InputDialogOptions options); | ||||
void setTextEchoMode(QInputDialog* theWrappedObject, QLineEdit::EchoMode mode); | ||||
void setTextValue(QInputDialog* theWrappedObject, const QString& text); | ||||
void setVisible(QInputDialog* theWrappedObject, bool visible); | ||||
QSize sizeHint(QInputDialog* theWrappedObject) const; | ||||
bool testOption(QInputDialog* theWrappedObject, QInputDialog::InputDialogOption option) const; | ||||
QLineEdit::EchoMode textEchoMode(QInputDialog* theWrappedObject) const; | ||||
QString textValue(QInputDialog* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
class PythonQtShell_QInputEvent : public QInputEvent | ||||
{ | ||||
public: | ||||
PythonQtShell_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier):QInputEvent(type, modifiers),_wrapper(NULL) {}; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtWrapper_QInputEvent : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QInputEvent* new_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier); | ||||
void delete_QInputEvent(QInputEvent* obj) { delete obj; } | ||||
Qt::KeyboardModifiers modifiers(QInputEvent* theWrappedObject) const; | ||||
florianlink
|
r128 | void setModifiers(QInputEvent* theWrappedObject, Qt::KeyboardModifiers amodifiers); | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QIntValidator : public QIntValidator | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QIntValidator(QObject* parent = 0):QIntValidator(parent),_wrapper(NULL) {}; | ||
PythonQtShell_QIntValidator(int bottom, int top, QObject* parent):QIntValidator(bottom, top, parent),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
florianlink
|
r120 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r128 | virtual bool event(QEvent* arg__1); | ||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void fixup(QString& arg__1) const; | ||||
virtual void setRange(int bottom, int top); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r128 | virtual QValidator::State validate(QString& arg__1, int& arg__2) const; | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QIntValidator : public QIntValidator | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r110 | inline void promoted_setRange(int bottom, int top) { QIntValidator::setRange(bottom, top); } | ||
florianlink
|
r120 | inline QValidator::State promoted_validate(QString& arg__1, int& arg__2) const { return QIntValidator::validate(arg__1, arg__2); } | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QIntValidator : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QIntValidator* new_QIntValidator(QObject* parent = 0); | ||
QIntValidator* new_QIntValidator(int bottom, int top, QObject* parent); | ||||
void delete_QIntValidator(QIntValidator* obj) { delete obj; } | ||||
int bottom(QIntValidator* theWrappedObject) const; | ||||
florianlink
|
r120 | void setBottom(QIntValidator* theWrappedObject, int arg__1); | ||
void setRange(QIntValidator* theWrappedObject, int bottom, int top); | ||||
florianlink
|
r128 | void setTop(QIntValidator* theWrappedObject, int arg__1); | ||
florianlink
|
r110 | int top(QIntValidator* theWrappedObject) const; | ||
florianlink
|
r128 | QValidator::State validate(QIntValidator* theWrappedObject, QString& arg__1, int& arg__2) const; | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QItemDelegate : public QItemDelegate | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QItemDelegate(QObject* parent = 0):QItemDelegate(parent),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r128 | virtual void childEvent(QChildEvent* arg__1); | ||
florianlink
|
r110 | virtual QWidget* createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; | ||
florianlink
|
r128 | virtual void customEvent(QEvent* arg__1); | ||
virtual void drawCheck(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const; | ||||
florianlink
|
r120 | virtual void drawDecoration(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const; | ||
florianlink
|
r128 | virtual void drawDisplay(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const; | ||
virtual void drawFocus(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const; | ||||
florianlink
|
r110 | virtual bool editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); | ||
florianlink
|
r128 | virtual bool event(QEvent* arg__1); | ||
virtual bool eventFilter(QObject* object, QEvent* event); | ||||
florianlink
|
r110 | virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; | ||
virtual void setEditorData(QWidget* editor, const QModelIndex& index) const; | ||||
florianlink
|
r128 | virtual void setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; | ||
virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r128 | virtual void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QItemDelegate : public QItemDelegate | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r110 | inline QWidget* promoted_createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const { return QItemDelegate::createEditor(parent, option, index); } | ||
florianlink
|
r128 | inline void promoted_drawCheck(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const { QItemDelegate::drawCheck(painter, option, rect, state); } | ||
florianlink
|
r120 | inline void promoted_drawDecoration(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const { QItemDelegate::drawDecoration(painter, option, rect, pixmap); } | ||
florianlink
|
r128 | inline void promoted_drawDisplay(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const { QItemDelegate::drawDisplay(painter, option, rect, text); } | ||
inline void promoted_drawFocus(QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const { QItemDelegate::drawFocus(painter, option, rect); } | ||||
florianlink
|
r110 | inline bool promoted_editorEvent(QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index) { return QItemDelegate::editorEvent(event, model, option, index); } | ||
florianlink
|
r128 | inline bool promoted_eventFilter(QObject* object, QEvent* event) { return QItemDelegate::eventFilter(object, event); } | ||
florianlink
|
r110 | inline void promoted_paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const { QItemDelegate::paint(painter, option, index); } | ||
inline void promoted_setEditorData(QWidget* editor, const QModelIndex& index) const { QItemDelegate::setEditorData(editor, index); } | ||||
florianlink
|
r128 | inline void promoted_setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const { QItemDelegate::setModelData(editor, model, index); } | ||
inline QSize promoted_sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const { return QItemDelegate::sizeHint(option, index); } | ||||
inline void promoted_updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const { QItemDelegate::updateEditorGeometry(editor, option, index); } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QItemDelegate : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QItemDelegate* new_QItemDelegate(QObject* parent = 0); | ||
void delete_QItemDelegate(QItemDelegate* obj) { delete obj; } | ||||
QWidget* createEditor(QItemDelegate* theWrappedObject, QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const; | ||||
florianlink
|
r128 | void drawCheck(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, Qt::CheckState state) const; | ||
florianlink
|
r120 | void drawDecoration(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QPixmap& pixmap) const; | ||
florianlink
|
r128 | void drawDisplay(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect, const QString& text) const; | ||
void drawFocus(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QRect& rect) const; | ||||
florianlink
|
r120 | bool editorEvent(QItemDelegate* theWrappedObject, QEvent* event, QAbstractItemModel* model, const QStyleOptionViewItem& option, const QModelIndex& index); | ||
florianlink
|
r128 | bool eventFilter(QItemDelegate* theWrappedObject, QObject* object, QEvent* event); | ||
bool hasClipping(QItemDelegate* theWrappedObject) const; | ||||
florianlink
|
r110 | QItemEditorFactory* itemEditorFactory(QItemDelegate* theWrappedObject) const; | ||
florianlink
|
r128 | void paint(QItemDelegate* theWrappedObject, QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; | ||
florianlink
|
r110 | void setClipping(QItemDelegate* theWrappedObject, bool clip); | ||
florianlink
|
r128 | void setEditorData(QItemDelegate* theWrappedObject, QWidget* editor, const QModelIndex& index) const; | ||
void setItemEditorFactory(QItemDelegate* theWrappedObject, QItemEditorFactory* factory); | ||||
void setModelData(QItemDelegate* theWrappedObject, QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const; | ||||
florianlink
|
r120 | QSize sizeHint(QItemDelegate* theWrappedObject, const QStyleOptionViewItem& option, const QModelIndex& index) const; | ||
florianlink
|
r110 | void updateEditorGeometry(QItemDelegate* theWrappedObject, QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const; | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QItemEditorCreatorBase : public QItemEditorCreatorBase | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QItemEditorCreatorBase():QItemEditorCreatorBase(),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r120 | virtual QWidget* createWidget(QWidget* parent) const; | ||
florianlink
|
r128 | virtual QByteArray valuePropertyName() const; | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QItemEditorCreatorBase : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QItemEditorCreatorBase* new_QItemEditorCreatorBase(); | ||
void delete_QItemEditorCreatorBase(QItemEditorCreatorBase* obj) { delete obj; } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QItemEditorFactory : public QItemEditorFactory | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QItemEditorFactory():QItemEditorFactory(),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r110 | virtual QWidget* createEditor(QVariant::Type type, QWidget* parent) const; | ||
virtual QByteArray valuePropertyName(QVariant::Type type) const; | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QItemEditorFactory : public QItemEditorFactory | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r110 | inline QWidget* promoted_createEditor(QVariant::Type type, QWidget* parent) const { return QItemEditorFactory::createEditor(type, parent); } | ||
inline QByteArray promoted_valuePropertyName(QVariant::Type type) const { return QItemEditorFactory::valuePropertyName(type); } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QItemEditorFactory : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QItemEditorFactory* new_QItemEditorFactory(); | ||
void delete_QItemEditorFactory(QItemEditorFactory* obj) { delete obj; } | ||||
QWidget* createEditor(QItemEditorFactory* theWrappedObject, QVariant::Type type, QWidget* parent) const; | ||||
const QItemEditorFactory* static_QItemEditorFactory_defaultFactory(); | ||||
void registerEditor(QItemEditorFactory* theWrappedObject, QVariant::Type type, QItemEditorCreatorBase* creator); | ||||
void static_QItemEditorFactory_setDefaultFactory(QItemEditorFactory* factory); | ||||
QByteArray valuePropertyName(QItemEditorFactory* theWrappedObject, QVariant::Type type) const; | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QItemSelection : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QItemSelection* new_QItemSelection(); | ||
QItemSelection* new_QItemSelection(const QModelIndex& topLeft, const QModelIndex& bottomRight); | ||||
QItemSelection* new_QItemSelection(const QItemSelection& other) { | ||||
QItemSelection* a = new QItemSelection(); | ||||
*((QItemSelection*)a) = other; | ||||
florianlink
|
r99 | return a; } | ||
florianlink
|
r110 | void delete_QItemSelection(QItemSelection* obj) { delete obj; } | ||
void append(QItemSelection* theWrappedObject, const QItemSelectionRange& t); | ||||
florianlink
|
r128 | void append(QItemSelection* theWrappedObject, const QList<QItemSelectionRange >& t); | ||
const QItemSelectionRange* at(QItemSelection* theWrappedObject, int i) const; | ||||
const QItemSelectionRange* back(QItemSelection* theWrappedObject) const; | ||||
void clear(QItemSelection* theWrappedObject); | ||||
bool contains(QItemSelection* theWrappedObject, const QModelIndex& index) const; | ||||
florianlink
|
r110 | int count(QItemSelection* theWrappedObject) const; | ||
florianlink
|
r128 | int count(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const; | ||
florianlink
|
r120 | void detachShared(QItemSelection* theWrappedObject); | ||
florianlink
|
r128 | bool empty(QItemSelection* theWrappedObject) const; | ||
bool endsWith(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const; | ||||
florianlink
|
r120 | const QItemSelectionRange* first(QItemSelection* theWrappedObject) const; | ||
florianlink
|
r128 | QList<QItemSelectionRange > static_QItemSelection_fromVector(const QVector<QItemSelectionRange >& vector); | ||
florianlink
|
r110 | const QItemSelectionRange* front(QItemSelection* theWrappedObject) const; | ||
int indexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const; | ||||
florianlink
|
r128 | QList<QModelIndex > indexes(QItemSelection* theWrappedObject) const; | ||
florianlink
|
r110 | bool isEmpty(QItemSelection* theWrappedObject) const; | ||
const QItemSelectionRange* last(QItemSelection* theWrappedObject) const; | ||||
int lastIndexOf(QItemSelection* theWrappedObject, const QItemSelectionRange& t, int from) const; | ||||
florianlink
|
r128 | int length(QItemSelection* theWrappedObject) const; | ||
void merge(QItemSelection* theWrappedObject, const QItemSelection& other, QItemSelectionModel::SelectionFlags command); | ||||
QList<QItemSelectionRange > mid(QItemSelection* theWrappedObject, int pos, int length) const; | ||||
void move(QItemSelection* theWrappedObject, int from, int to); | ||||
florianlink
|
r120 | bool __ne__(QItemSelection* theWrappedObject, const QList<QItemSelectionRange >& l) const; | ||
bool __eq__(QItemSelection* theWrappedObject, const QList<QItemSelectionRange >& l) const; | ||||
void pop_back(QItemSelection* theWrappedObject); | ||||
florianlink
|
r128 | void pop_front(QItemSelection* theWrappedObject); | ||
florianlink
|
r120 | void prepend(QItemSelection* theWrappedObject, const QItemSelectionRange& t); | ||
florianlink
|
r128 | void push_back(QItemSelection* theWrappedObject, const QItemSelectionRange& t); | ||
florianlink
|
r110 | void push_front(QItemSelection* theWrappedObject, const QItemSelectionRange& t); | ||
int removeAll(QItemSelection* theWrappedObject, const QItemSelectionRange& t); | ||||
void removeAt(QItemSelection* theWrappedObject, int i); | ||||
florianlink
|
r128 | void removeFirst(QItemSelection* theWrappedObject); | ||
void removeLast(QItemSelection* theWrappedObject); | ||||
florianlink
|
r110 | bool removeOne(QItemSelection* theWrappedObject, const QItemSelectionRange& t); | ||
void replace(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& t); | ||||
florianlink
|
r128 | void select(QItemSelection* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight); | ||
florianlink
|
r110 | void setSharable(QItemSelection* theWrappedObject, bool sharable); | ||
int size(QItemSelection* theWrappedObject) const; | ||||
florianlink
|
r128 | void static_QItemSelection_split(const QItemSelectionRange& range, const QItemSelectionRange& other, QItemSelection* result); | ||
florianlink
|
r110 | bool startsWith(QItemSelection* theWrappedObject, const QItemSelectionRange& t) const; | ||
void swap(QItemSelection* theWrappedObject, int i, int j); | ||||
QItemSelectionRange takeAt(QItemSelection* theWrappedObject, int i); | ||||
florianlink
|
r120 | QItemSelectionRange takeFirst(QItemSelection* theWrappedObject); | ||
QItemSelectionRange takeLast(QItemSelection* theWrappedObject); | ||||
florianlink
|
r128 | QVector<QItemSelectionRange > toVector(QItemSelection* theWrappedObject) const; | ||
QItemSelectionRange value(QItemSelection* theWrappedObject, int i) const; | ||||
florianlink
|
r110 | QItemSelectionRange value(QItemSelection* theWrappedObject, int i, const QItemSelectionRange& defaultValue) const; | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QItemSelectionModel : public QItemSelectionModel | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QItemSelectionModel(QAbstractItemModel* model):QItemSelectionModel(model),_wrapper(NULL) {}; | ||
PythonQtShell_QItemSelectionModel(QAbstractItemModel* model, QObject* parent):QItemSelectionModel(model, parent),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | virtual void childEvent(QChildEvent* arg__1); | ||
florianlink
|
r110 | virtual void clear(); | ||
florianlink
|
r128 | virtual void customEvent(QEvent* arg__1); | ||
florianlink
|
r117 | virtual bool event(QEvent* arg__1); | ||
florianlink
|
r99 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
florianlink
|
r128 | virtual void reset(); | ||
virtual void select(const QItemSelection& selection, QItemSelectionModel::SelectionFlags command); | ||||
virtual void select(const QModelIndex& index, QItemSelectionModel::SelectionFlags command); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QItemSelectionModel : public QItemSelectionModel | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r128 | inline void promoted_clear() { QItemSelectionModel::clear(); } | ||
florianlink
|
r110 | inline void promoted_reset() { QItemSelectionModel::reset(); } | ||
inline void promoted_select(const QItemSelection& selection, QItemSelectionModel::SelectionFlags command) { QItemSelectionModel::select(selection, command); } | ||||
inline void promoted_select(const QModelIndex& index, QItemSelectionModel::SelectionFlags command) { QItemSelectionModel::select(index, command); } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QItemSelectionModel : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(SelectionFlag ) | ||
Q_FLAGS(SelectionFlags ) | ||||
enum SelectionFlag{ | ||||
NoUpdate = QItemSelectionModel::NoUpdate, Clear = QItemSelectionModel::Clear, Select = QItemSelectionModel::Select, Deselect = QItemSelectionModel::Deselect, Toggle = QItemSelectionModel::Toggle, Current = QItemSelectionModel::Current, Rows = QItemSelectionModel::Rows, Columns = QItemSelectionModel::Columns, SelectCurrent = QItemSelectionModel::SelectCurrent, ToggleCurrent = QItemSelectionModel::ToggleCurrent, ClearAndSelect = QItemSelectionModel::ClearAndSelect}; | ||||
Q_DECLARE_FLAGS(SelectionFlags, SelectionFlag) | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QItemSelectionModel* new_QItemSelectionModel(QAbstractItemModel* model); | ||
QItemSelectionModel* new_QItemSelectionModel(QAbstractItemModel* model, QObject* parent); | ||||
void delete_QItemSelectionModel(QItemSelectionModel* obj) { delete obj; } | ||||
florianlink
|
r128 | bool columnIntersectsSelection(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const; | ||
QModelIndex currentIndex(QItemSelectionModel* theWrappedObject) const; | ||||
bool hasSelection(QItemSelectionModel* theWrappedObject) const; | ||||
bool isColumnSelected(QItemSelectionModel* theWrappedObject, int column, const QModelIndex& parent) const; | ||||
bool isRowSelected(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const; | ||||
florianlink
|
r110 | bool isSelected(QItemSelectionModel* theWrappedObject, const QModelIndex& index) const; | ||
florianlink
|
r128 | const QAbstractItemModel* model(QItemSelectionModel* theWrappedObject) const; | ||
florianlink
|
r110 | bool rowIntersectsSelection(QItemSelectionModel* theWrappedObject, int row, const QModelIndex& parent) const; | ||
QList<QModelIndex > selectedColumns(QItemSelectionModel* theWrappedObject, int row = 0) const; | ||||
florianlink
|
r120 | QList<QModelIndex > selectedIndexes(QItemSelectionModel* theWrappedObject) const; | ||
florianlink
|
r110 | QList<QModelIndex > selectedRows(QItemSelectionModel* theWrappedObject, int column = 0) const; | ||
florianlink
|
r128 | const QItemSelection selection(QItemSelectionModel* theWrappedObject) const; | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QItemSelectionRange : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QItemSelectionRange* new_QItemSelectionRange(); | ||||
QItemSelectionRange* new_QItemSelectionRange(const QItemSelectionRange& other); | ||||
QItemSelectionRange* new_QItemSelectionRange(const QModelIndex& index); | ||||
QItemSelectionRange* new_QItemSelectionRange(const QModelIndex& topLeft, const QModelIndex& bottomRight); | ||||
void delete_QItemSelectionRange(QItemSelectionRange* obj) { delete obj; } | ||||
florianlink
|
r128 | int bottom(QItemSelectionRange* theWrappedObject) const; | ||
florianlink
|
r110 | QModelIndex bottomRight(QItemSelectionRange* theWrappedObject) const; | ||
florianlink
|
r128 | bool contains(QItemSelectionRange* theWrappedObject, const QModelIndex& index) const; | ||
bool contains(QItemSelectionRange* theWrappedObject, int row, int column, const QModelIndex& parentIndex) const; | ||||
int height(QItemSelectionRange* theWrappedObject) const; | ||||
florianlink
|
r110 | QList<QModelIndex > indexes(QItemSelectionRange* theWrappedObject) const; | ||
florianlink
|
r128 | QItemSelectionRange intersected(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; | ||
bool intersects(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; | ||||
bool isValid(QItemSelectionRange* theWrappedObject) const; | ||||
int left(QItemSelectionRange* theWrappedObject) const; | ||||
const QAbstractItemModel* model(QItemSelectionRange* theWrappedObject) const; | ||||
florianlink
|
r120 | bool __ne__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; | ||
bool __eq__(QItemSelectionRange* theWrappedObject, const QItemSelectionRange& other) const; | ||||
florianlink
|
r128 | QModelIndex parent(QItemSelectionRange* theWrappedObject) const; | ||
int right(QItemSelectionRange* theWrappedObject) const; | ||||
florianlink
|
r110 | int top(QItemSelectionRange* theWrappedObject) const; | ||
florianlink
|
r128 | QModelIndex topLeft(QItemSelectionRange* theWrappedObject) const; | ||
int width(QItemSelectionRange* theWrappedObject) const; | ||||
florianlink
|
r117 | QString py_toString(QItemSelectionRange*); | ||
florianlink
|
r110 | }; | ||
class PythonQtShell_QKeyEvent : public QKeyEvent | ||||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString& text = QString(), bool autorep = false, ushort count = 1):QKeyEvent(type, key, modifiers, text, autorep, count),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtWrapper_QKeyEvent : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QKeyEvent* new_QKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, const QString& text = QString(), bool autorep = false, ushort count = 1); | ||
void delete_QKeyEvent(QKeyEvent* obj) { delete obj; } | ||||
florianlink
|
r120 | int count(QKeyEvent* theWrappedObject) const; | ||
QKeyEvent* static_QKeyEvent_createExtendedKeyEvent(QEvent::Type type, int key, Qt::KeyboardModifiers modifiers, unsigned int nativeScanCode, unsigned int nativeVirtualKey, unsigned int nativeModifiers, const QString& text = QString(), bool autorep = false, ushort count = 1); | ||||
florianlink
|
r128 | bool hasExtendedInfo(QKeyEvent* theWrappedObject) const; | ||
bool isAutoRepeat(QKeyEvent* theWrappedObject) const; | ||||
int key(QKeyEvent* theWrappedObject) const; | ||||
bool matches(QKeyEvent* theWrappedObject, QKeySequence::StandardKey key) const; | ||||
Qt::KeyboardModifiers modifiers(QKeyEvent* theWrappedObject) const; | ||||
florianlink
|
r120 | unsigned int nativeModifiers(QKeyEvent* theWrappedObject) const; | ||
florianlink
|
r128 | unsigned int nativeScanCode(QKeyEvent* theWrappedObject) const; | ||
unsigned int nativeVirtualKey(QKeyEvent* theWrappedObject) const; | ||||
QString text(QKeyEvent* theWrappedObject) const; | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QKeyEventTransition : public QKeyEventTransition | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QKeyEventTransition(QObject* object, QEvent::Type type, int key, QState* sourceState = 0):QKeyEventTransition(object, type, key, sourceState),_wrapper(NULL) {}; | ||
PythonQtShell_QKeyEventTransition(QState* sourceState = 0):QKeyEventTransition(sourceState),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r128 | virtual bool event(QEvent* e); | ||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual bool eventTest(QEvent* event); | ||||
virtual void onTransition(QEvent* event); | ||||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QKeyEventTransition : public QKeyEventTransition | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r110 | inline bool promoted_eventTest(QEvent* event) { return QKeyEventTransition::eventTest(event); } | ||
florianlink
|
r120 | inline void promoted_onTransition(QEvent* event) { QKeyEventTransition::onTransition(event); } | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QKeyEventTransition : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QKeyEventTransition* new_QKeyEventTransition(QObject* object, QEvent::Type type, int key, QState* sourceState = 0); | ||
QKeyEventTransition* new_QKeyEventTransition(QState* sourceState = 0); | ||||
void delete_QKeyEventTransition(QKeyEventTransition* obj) { delete obj; } | ||||
florianlink
|
r120 | bool eventTest(QKeyEventTransition* theWrappedObject, QEvent* event); | ||
florianlink
|
r110 | int key(QKeyEventTransition* theWrappedObject) const; | ||
florianlink
|
r120 | Qt::KeyboardModifiers modifierMask(QKeyEventTransition* theWrappedObject) const; | ||
florianlink
|
r128 | void onTransition(QKeyEventTransition* theWrappedObject, QEvent* event); | ||
void setKey(QKeyEventTransition* theWrappedObject, int key); | ||||
void setModifierMask(QKeyEventTransition* theWrappedObject, Qt::KeyboardModifiers modifiers); | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QLCDNumber : public QLCDNumber | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QLCDNumber(QWidget* parent = 0):QLCDNumber(parent),_wrapper(NULL) {}; | ||
PythonQtShell_QLCDNumber(uint numDigits, QWidget* parent = 0):QLCDNumber(numDigits, parent),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | virtual void actionEvent(QActionEvent* arg__1); | ||
florianlink
|
r110 | virtual void changeEvent(QEvent* arg__1); | ||
florianlink
|
r128 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
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; | ||
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* arg__1); | ||||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
florianlink
|
r120 | virtual void showEvent(QShowEvent* arg__1); | ||
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_QLCDNumber : public QLCDNumber | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r110 | inline bool promoted_event(QEvent* e) { return QLCDNumber::event(e); } | ||
inline void promoted_paintEvent(QPaintEvent* arg__1) { QLCDNumber::paintEvent(arg__1); } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QLCDNumber : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QLCDNumber* new_QLCDNumber(QWidget* parent = 0); | ||
QLCDNumber* new_QLCDNumber(uint numDigits, QWidget* parent = 0); | ||||
void delete_QLCDNumber(QLCDNumber* obj) { delete obj; } | ||||
florianlink
|
r128 | bool checkOverflow(QLCDNumber* theWrappedObject, double num) const; | ||
bool checkOverflow(QLCDNumber* theWrappedObject, int num) const; | ||||
int digitCount(QLCDNumber* theWrappedObject) const; | ||||
bool event(QLCDNumber* theWrappedObject, QEvent* e); | ||||
florianlink
|
r120 | int intValue(QLCDNumber* theWrappedObject) const; | ||
QLCDNumber::Mode mode(QLCDNumber* theWrappedObject) const; | ||||
int numDigits(QLCDNumber* theWrappedObject) const; | ||||
florianlink
|
r128 | void paintEvent(QLCDNumber* theWrappedObject, QPaintEvent* arg__1); | ||
florianlink
|
r110 | QLCDNumber::SegmentStyle segmentStyle(QLCDNumber* theWrappedObject) const; | ||
void setDigitCount(QLCDNumber* theWrappedObject, int nDigits); | ||||
florianlink
|
r128 | void setMode(QLCDNumber* theWrappedObject, QLCDNumber::Mode arg__1); | ||
void setNumDigits(QLCDNumber* theWrappedObject, int nDigits); | ||||
void setSegmentStyle(QLCDNumber* theWrappedObject, QLCDNumber::SegmentStyle arg__1); | ||||
QSize sizeHint(QLCDNumber* theWrappedObject) const; | ||||
bool smallDecimalPoint(QLCDNumber* theWrappedObject) const; | ||||
double value(QLCDNumber* theWrappedObject) const; | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QLabel : public QLabel | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QLabel(QWidget* parent = 0, Qt::WindowFlags f = 0):QLabel(parent, f),_wrapper(NULL) {}; | ||
PythonQtShell_QLabel(const QString& text, QWidget* parent = 0, Qt::WindowFlags f = 0):QLabel(text, parent, f),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
florianlink
|
r128 | virtual void actionEvent(QActionEvent* arg__1); | ||
florianlink
|
r120 | virtual void changeEvent(QEvent* arg__1); | ||
florianlink
|
r128 | virtual void childEvent(QChildEvent* arg__1); | ||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* ev); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
florianlink
|
r120 | virtual int devType() const; | ||
florianlink
|
r128 | virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
florianlink
|
r120 | virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||
florianlink
|
r128 | virtual void dropEvent(QDropEvent* arg__1); | ||
florianlink
|
r120 | virtual void enterEvent(QEvent* arg__1); | ||
florianlink
|
r128 | virtual bool event(QEvent* e); | ||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void focusInEvent(QFocusEvent* ev); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* ev); | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
florianlink
|
r99 | virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||
florianlink
|
r128 | virtual void keyPressEvent(QKeyEvent* ev); | ||
florianlink
|
r120 | virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||
florianlink
|
r128 | 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* ev); | ||||
virtual void mousePressEvent(QMouseEvent* ev); | ||||
virtual void mouseReleaseEvent(QMouseEvent* ev); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
florianlink
|
r120 | virtual QPaintEngine* paintEngine() const; | ||
florianlink
|
r128 | virtual void paintEvent(QPaintEvent* arg__1); | ||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
florianlink
|
r120 | virtual void showEvent(QShowEvent* arg__1); | ||
florianlink
|
r128 | 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_QLabel : public QLabel | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r128 | inline void promoted_changeEvent(QEvent* arg__1) { QLabel::changeEvent(arg__1); } | ||
florianlink
|
r110 | inline void promoted_contextMenuEvent(QContextMenuEvent* ev) { QLabel::contextMenuEvent(ev); } | ||
florianlink
|
r128 | inline bool promoted_event(QEvent* e) { return QLabel::event(e); } | ||
florianlink
|
r110 | inline void promoted_focusInEvent(QFocusEvent* ev) { QLabel::focusInEvent(ev); } | ||
florianlink
|
r128 | inline bool promoted_focusNextPrevChild(bool next) { return QLabel::focusNextPrevChild(next); } | ||
inline void promoted_focusOutEvent(QFocusEvent* ev) { QLabel::focusOutEvent(ev); } | ||||
florianlink
|
r110 | inline int promoted_heightForWidth(int arg__1) const { return QLabel::heightForWidth(arg__1); } | ||
inline void promoted_keyPressEvent(QKeyEvent* ev) { QLabel::keyPressEvent(ev); } | ||||
florianlink
|
r128 | inline void promoted_mouseMoveEvent(QMouseEvent* ev) { QLabel::mouseMoveEvent(ev); } | ||
florianlink
|
r110 | inline void promoted_mousePressEvent(QMouseEvent* ev) { QLabel::mousePressEvent(ev); } | ||
florianlink
|
r128 | inline void promoted_mouseReleaseEvent(QMouseEvent* ev) { QLabel::mouseReleaseEvent(ev); } | ||
inline void promoted_paintEvent(QPaintEvent* arg__1) { QLabel::paintEvent(arg__1); } | ||||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QLabel : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QLabel* new_QLabel(QWidget* parent = 0, Qt::WindowFlags f = 0); | ||
QLabel* new_QLabel(const QString& text, QWidget* parent = 0, Qt::WindowFlags f = 0); | ||||
void delete_QLabel(QLabel* obj) { delete obj; } | ||||
Qt::Alignment alignment(QLabel* theWrappedObject) const; | ||||
florianlink
|
r128 | QWidget* buddy(QLabel* theWrappedObject) const; | ||
void changeEvent(QLabel* theWrappedObject, QEvent* arg__1); | ||||
florianlink
|
r110 | void contextMenuEvent(QLabel* theWrappedObject, QContextMenuEvent* ev); | ||
florianlink
|
r128 | bool event(QLabel* theWrappedObject, QEvent* e); | ||
florianlink
|
r110 | void focusInEvent(QLabel* theWrappedObject, QFocusEvent* ev); | ||
florianlink
|
r128 | bool focusNextPrevChild(QLabel* theWrappedObject, bool next); | ||
void focusOutEvent(QLabel* theWrappedObject, QFocusEvent* ev); | ||||
florianlink
|
r110 | bool hasScaledContents(QLabel* theWrappedObject) const; | ||
int heightForWidth(QLabel* theWrappedObject, int arg__1) const; | ||||
florianlink
|
r128 | int indent(QLabel* theWrappedObject) const; | ||
void keyPressEvent(QLabel* theWrappedObject, QKeyEvent* ev); | ||||
int margin(QLabel* theWrappedObject) const; | ||||
QSize minimumSizeHint(QLabel* theWrappedObject) const; | ||||
void mouseMoveEvent(QLabel* theWrappedObject, QMouseEvent* ev); | ||||
void mousePressEvent(QLabel* theWrappedObject, QMouseEvent* ev); | ||||
void mouseReleaseEvent(QLabel* theWrappedObject, QMouseEvent* ev); | ||||
florianlink
|
r120 | QMovie* movie(QLabel* theWrappedObject) const; | ||
florianlink
|
r128 | bool openExternalLinks(QLabel* theWrappedObject) const; | ||
florianlink
|
r110 | void paintEvent(QLabel* theWrappedObject, QPaintEvent* arg__1); | ||
florianlink
|
r128 | const QPicture* picture(QLabel* theWrappedObject) const; | ||
const QPixmap* pixmap(QLabel* theWrappedObject) const; | ||||
florianlink
|
r110 | void setAlignment(QLabel* theWrappedObject, Qt::Alignment arg__1); | ||
void setBuddy(QLabel* theWrappedObject, QWidget* arg__1); | ||||
florianlink
|
r128 | void setIndent(QLabel* theWrappedObject, int arg__1); | ||
void setMargin(QLabel* theWrappedObject, int arg__1); | ||||
void setOpenExternalLinks(QLabel* theWrappedObject, bool open); | ||||
void setScaledContents(QLabel* theWrappedObject, bool arg__1); | ||||
void setTextFormat(QLabel* theWrappedObject, Qt::TextFormat arg__1); | ||||
void setTextInteractionFlags(QLabel* theWrappedObject, Qt::TextInteractionFlags flags); | ||||
void setWordWrap(QLabel* theWrappedObject, bool on); | ||||
QSize sizeHint(QLabel* theWrappedObject) const; | ||||
QString text(QLabel* theWrappedObject) const; | ||||
Qt::TextFormat textFormat(QLabel* theWrappedObject) const; | ||||
Qt::TextInteractionFlags textInteractionFlags(QLabel* theWrappedObject) const; | ||||
bool wordWrap(QLabel* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
class PythonQtShell_QLayout : public QLayout | ||||
{ | ||||
public: | ||||
PythonQtShell_QLayout():QLayout(),_wrapper(NULL) {}; | ||||
PythonQtShell_QLayout(QWidget* parent):QLayout(parent),_wrapper(NULL) {}; | ||||
florianlink
|
r128 | virtual void addItem(QLayoutItem* arg__1); | ||
virtual void childEvent(QChildEvent* e); | ||||
virtual int count() const; | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* arg__1); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual Qt::Orientations expandingDirections() const; | ||||
virtual QRect geometry() const; | ||||
florianlink
|
r120 | virtual bool hasHeightForWidth() const; | ||
florianlink
|
r128 | virtual int heightForWidth(int arg__1) const; | ||
florianlink
|
r110 | virtual int indexOf(QWidget* arg__1) const; | ||
florianlink
|
r128 | virtual void invalidate(); | ||
florianlink
|
r110 | virtual bool isEmpty() const; | ||
virtual QLayoutItem* itemAt(int index) const; | ||||
virtual QLayout* layout(); | ||||
florianlink
|
r120 | virtual QSize maximumSize() const; | ||
florianlink
|
r128 | virtual int minimumHeightForWidth(int arg__1) const; | ||
virtual QSize minimumSize() const; | ||||
virtual void setGeometry(const QRect& arg__1); | ||||
virtual QSize sizeHint() const; | ||||
virtual QSpacerItem* spacerItem(); | ||||
virtual QLayoutItem* takeAt(int index); | ||||
florianlink
|
r110 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r120 | virtual QWidget* widget(); | ||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_QLayout : public QLayout | ||||
{ public: | ||||
florianlink
|
r128 | inline void promoted_childEvent(QChildEvent* e) { QLayout::childEvent(e); } | ||
inline Qt::Orientations promoted_expandingDirections() const { return QLayout::expandingDirections(); } | ||||
inline QRect promoted_geometry() const { return QLayout::geometry(); } | ||||
florianlink
|
r110 | inline int promoted_indexOf(QWidget* arg__1) const { return QLayout::indexOf(arg__1); } | ||
florianlink
|
r128 | inline void promoted_invalidate() { QLayout::invalidate(); } | ||
florianlink
|
r110 | inline bool promoted_isEmpty() const { return QLayout::isEmpty(); } | ||
inline QLayout* promoted_layout() { return QLayout::layout(); } | ||||
inline QSize promoted_maximumSize() const { return QLayout::maximumSize(); } | ||||
florianlink
|
r128 | inline QSize promoted_minimumSize() const { return QLayout::minimumSize(); } | ||
inline void promoted_setGeometry(const QRect& arg__1) { QLayout::setGeometry(arg__1); } | ||||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QLayout : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QLayout* new_QLayout(); | ||||
QLayout* new_QLayout(QWidget* parent); | ||||
void delete_QLayout(QLayout* obj) { delete obj; } | ||||
florianlink
|
r128 | bool activate(QLayout* theWrappedObject); | ||
void addWidget(QLayout* theWrappedObject, QWidget* w); | ||||
void childEvent(QLayout* theWrappedObject, QChildEvent* e); | ||||
QSize static_QLayout_closestAcceptableSize(const QWidget* w, const QSize& s); | ||||
florianlink
|
r120 | QMargins contentsMargins(QLayout* theWrappedObject) const; | ||
florianlink
|
r128 | QRect contentsRect(QLayout* theWrappedObject) const; | ||
florianlink
|
r120 | Qt::Orientations expandingDirections(QLayout* theWrappedObject) const; | ||
florianlink
|
r128 | QRect geometry(QLayout* theWrappedObject) const; | ||
florianlink
|
r110 | void getContentsMargins(QLayout* theWrappedObject, int* left, int* top, int* right, int* bottom) const; | ||
florianlink
|
r128 | int indexOf(QLayout* theWrappedObject, QWidget* arg__1) const; | ||
void invalidate(QLayout* theWrappedObject); | ||||
bool isEmpty(QLayout* theWrappedObject) const; | ||||
bool isEnabled(QLayout* theWrappedObject) const; | ||||
florianlink
|
r120 | QLayout* layout(QLayout* theWrappedObject); | ||
QSize maximumSize(QLayout* theWrappedObject) const; | ||||
florianlink
|
r128 | QWidget* menuBar(QLayout* theWrappedObject) const; | ||
QSize minimumSize(QLayout* theWrappedObject) const; | ||||
florianlink
|
r110 | QWidget* parentWidget(QLayout* theWrappedObject) const; | ||
florianlink
|
r128 | void removeItem(QLayout* theWrappedObject, QLayoutItem* arg__1); | ||
void removeWidget(QLayout* theWrappedObject, QWidget* w); | ||||
florianlink
|
r110 | void setAlignment(QLayout* theWrappedObject, Qt::Alignment alignment); | ||
bool setAlignment(QLayout* theWrappedObject, QLayout* l, Qt::Alignment alignment); | ||||
bool setAlignment(QLayout* theWrappedObject, QWidget* w, Qt::Alignment alignment); | ||||
florianlink
|
r128 | void setContentsMargins(QLayout* theWrappedObject, const QMargins& margins); | ||
void setContentsMargins(QLayout* theWrappedObject, int left, int top, int right, int bottom); | ||||
void setEnabled(QLayout* theWrappedObject, bool arg__1); | ||||
void setGeometry(QLayout* theWrappedObject, const QRect& arg__1); | ||||
void setMargin(QLayout* theWrappedObject, int arg__1); | ||||
void setMenuBar(QLayout* theWrappedObject, QWidget* w); | ||||
void setSizeConstraint(QLayout* theWrappedObject, QLayout::SizeConstraint arg__1); | ||||
void setSpacing(QLayout* theWrappedObject, int arg__1); | ||||
QLayout::SizeConstraint sizeConstraint(QLayout* theWrappedObject) const; | ||||
int spacing(QLayout* theWrappedObject) const; | ||||
florianlink
|
r120 | int totalHeightForWidth(QLayout* theWrappedObject, int w) const; | ||
florianlink
|
r110 | QSize totalMaximumSize(QLayout* theWrappedObject) const; | ||
florianlink
|
r128 | QSize totalMinimumSize(QLayout* theWrappedObject) const; | ||
QSize totalSizeHint(QLayout* theWrappedObject) const; | ||||
void update(QLayout* theWrappedObject); | ||||
florianlink
|
r110 | }; | ||
class PythonQtShell_QLayoutItem : public QLayoutItem | ||||
{ | ||||
public: | ||||
PythonQtShell_QLayoutItem(Qt::Alignment alignment = 0):QLayoutItem(alignment),_wrapper(NULL) {}; | ||||
virtual Qt::Orientations expandingDirections() const; | ||||
virtual QRect geometry() const; | ||||
florianlink
|
r128 | virtual bool hasHeightForWidth() const; | ||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void invalidate(); | ||||
florianlink
|
r110 | virtual bool isEmpty() const; | ||
florianlink
|
r128 | virtual QLayout* layout(); | ||
virtual QSize maximumSize() const; | ||||
virtual int minimumHeightForWidth(int arg__1) const; | ||||
virtual QSize minimumSize() const; | ||||
virtual void setGeometry(const QRect& arg__1); | ||||
virtual QSize sizeHint() const; | ||||
florianlink
|
r110 | virtual QSpacerItem* spacerItem(); | ||
florianlink
|
r128 | virtual QWidget* widget(); | ||
florianlink
|
r110 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_QLayoutItem : public QLayoutItem | ||||
{ public: | ||||
florianlink
|
r128 | inline bool promoted_hasHeightForWidth() const { return QLayoutItem::hasHeightForWidth(); } | ||
florianlink
|
r110 | inline int promoted_heightForWidth(int arg__1) const { return QLayoutItem::heightForWidth(arg__1); } | ||
florianlink
|
r128 | inline void promoted_invalidate() { QLayoutItem::invalidate(); } | ||
florianlink
|
r120 | inline QLayout* promoted_layout() { return QLayoutItem::layout(); } | ||
florianlink
|
r110 | inline int promoted_minimumHeightForWidth(int arg__1) const { return QLayoutItem::minimumHeightForWidth(arg__1); } | ||
inline QSpacerItem* promoted_spacerItem() { return QLayoutItem::spacerItem(); } | ||||
florianlink
|
r128 | inline QWidget* promoted_widget() { return QLayoutItem::widget(); } | ||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QLayoutItem : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QLayoutItem* new_QLayoutItem(Qt::Alignment alignment = 0); | ||||
void delete_QLayoutItem(QLayoutItem* obj) { delete obj; } | ||||
Qt::Alignment alignment(QLayoutItem* theWrappedObject) const; | ||||
QSizePolicy::ControlTypes controlTypes(QLayoutItem* theWrappedObject) const; | ||||
bool hasHeightForWidth(QLayoutItem* theWrappedObject) const; | ||||
florianlink
|
r128 | int heightForWidth(QLayoutItem* theWrappedObject, int arg__1) const; | ||
void invalidate(QLayoutItem* theWrappedObject); | ||||
QLayout* layout(QLayoutItem* theWrappedObject); | ||||
florianlink
|
r110 | int minimumHeightForWidth(QLayoutItem* theWrappedObject, int arg__1) const; | ||
florianlink
|
r128 | void setAlignment(QLayoutItem* theWrappedObject, Qt::Alignment a); | ||
florianlink
|
r110 | QSpacerItem* spacerItem(QLayoutItem* theWrappedObject); | ||
florianlink
|
r128 | QWidget* widget(QLayoutItem* theWrappedObject); | ||
florianlink
|
r110 | }; | ||
class PythonQtShell_QLineEdit : public QLineEdit | ||||
{ | ||||
public: | ||||
PythonQtShell_QLineEdit(QWidget* parent = 0):QLineEdit(parent),_wrapper(NULL) {}; | ||||
PythonQtShell_QLineEdit(const QString& arg__1, QWidget* parent = 0):QLineEdit(arg__1, parent),_wrapper(NULL) {}; | ||||
florianlink
|
r128 | virtual void actionEvent(QActionEvent* arg__1); | ||
virtual void changeEvent(QEvent* arg__1); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual int devType() const; | ||||
florianlink
|
r120 | virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||
florianlink
|
r128 | virtual void dragLeaveEvent(QDragLeaveEvent* e); | ||
virtual void dragMoveEvent(QDragMoveEvent* e); | ||||
florianlink
|
r99 | virtual void dropEvent(QDropEvent* arg__1); | ||
florianlink
|
r128 | virtual void enterEvent(QEvent* arg__1); | ||
virtual bool event(QEvent* arg__1); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
florianlink
|
r120 | virtual void focusInEvent(QFocusEvent* arg__1); | ||
florianlink
|
r128 | virtual bool focusNextPrevChild(bool next); | ||
florianlink
|
r99 | virtual void focusOutEvent(QFocusEvent* arg__1); | ||
florianlink
|
r128 | virtual int heightForWidth(int arg__1) const; | ||
florianlink
|
r120 | virtual void hideEvent(QHideEvent* arg__1); | ||
florianlink
|
r128 | virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
virtual void keyPressEvent(QKeyEvent* arg__1); | ||||
florianlink
|
r120 | virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||
florianlink
|
r128 | virtual void languageChange(); | ||
virtual void leaveEvent(QEvent* arg__1); | ||||
florianlink
|
r117 | virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||
florianlink
|
r128 | virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||
virtual void mouseMoveEvent(QMouseEvent* arg__1); | ||||
virtual void mousePressEvent(QMouseEvent* arg__1); | ||||
virtual void mouseReleaseEvent(QMouseEvent* arg__1); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
florianlink
|
r117 | 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); | ||
florianlink
|
r120 | virtual void timerEvent(QTimerEvent* arg__1); | ||
florianlink
|
r128 | virtual void wheelEvent(QWheelEvent* arg__1); | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QLineEdit : public QLineEdit | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r128 | inline void promoted_changeEvent(QEvent* arg__1) { QLineEdit::changeEvent(arg__1); } | ||
inline void promoted_contextMenuEvent(QContextMenuEvent* arg__1) { QLineEdit::contextMenuEvent(arg__1); } | ||||
florianlink
|
r120 | inline void promoted_dragEnterEvent(QDragEnterEvent* arg__1) { QLineEdit::dragEnterEvent(arg__1); } | ||
florianlink
|
r128 | inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { QLineEdit::dragLeaveEvent(e); } | ||
inline void promoted_dragMoveEvent(QDragMoveEvent* e) { QLineEdit::dragMoveEvent(e); } | ||||
florianlink
|
r110 | inline void promoted_dropEvent(QDropEvent* arg__1) { QLineEdit::dropEvent(arg__1); } | ||
florianlink
|
r128 | inline bool promoted_event(QEvent* arg__1) { return QLineEdit::event(arg__1); } | ||
florianlink
|
r120 | inline void promoted_focusInEvent(QFocusEvent* arg__1) { QLineEdit::focusInEvent(arg__1); } | ||
florianlink
|
r128 | inline void promoted_focusOutEvent(QFocusEvent* arg__1) { QLineEdit::focusOutEvent(arg__1); } | ||
inline void promoted_inputMethodEvent(QInputMethodEvent* arg__1) { QLineEdit::inputMethodEvent(arg__1); } | ||||
inline QVariant promoted_inputMethodQuery(Qt::InputMethodQuery arg__1) const { return QLineEdit::inputMethodQuery(arg__1); } | ||||
inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QLineEdit::keyPressEvent(arg__1); } | ||||
florianlink
|
r110 | inline void promoted_mouseDoubleClickEvent(QMouseEvent* arg__1) { QLineEdit::mouseDoubleClickEvent(arg__1); } | ||
inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QLineEdit::mouseMoveEvent(arg__1); } | ||||
florianlink
|
r128 | inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QLineEdit::mousePressEvent(arg__1); } | ||
inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QLineEdit::mouseReleaseEvent(arg__1); } | ||||
florianlink
|
r120 | inline void promoted_paintEvent(QPaintEvent* arg__1) { QLineEdit::paintEvent(arg__1); } | ||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QLineEdit : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QLineEdit* new_QLineEdit(QWidget* parent = 0); | ||
QLineEdit* new_QLineEdit(const QString& arg__1, QWidget* parent = 0); | ||||
void delete_QLineEdit(QLineEdit* obj) { delete obj; } | ||||
florianlink
|
r128 | Qt::Alignment alignment(QLineEdit* theWrappedObject) const; | ||
void backspace(QLineEdit* theWrappedObject); | ||||
void changeEvent(QLineEdit* theWrappedObject, QEvent* arg__1); | ||||
QCompleter* completer(QLineEdit* theWrappedObject) const; | ||||
void contextMenuEvent(QLineEdit* theWrappedObject, QContextMenuEvent* arg__1); | ||||
QMenu* createStandardContextMenu(QLineEdit* theWrappedObject); | ||||
void cursorBackward(QLineEdit* theWrappedObject, bool mark, int steps = 1); | ||||
void cursorForward(QLineEdit* theWrappedObject, bool mark, int steps = 1); | ||||
florianlink
|
r120 | int cursorPosition(QLineEdit* theWrappedObject) const; | ||
florianlink
|
r128 | int cursorPositionAt(QLineEdit* theWrappedObject, const QPoint& pos); | ||
void cursorWordBackward(QLineEdit* theWrappedObject, bool mark); | ||||
void cursorWordForward(QLineEdit* theWrappedObject, bool mark); | ||||
void del(QLineEdit* theWrappedObject); | ||||
florianlink
|
r110 | void deselect(QLineEdit* theWrappedObject); | ||
florianlink
|
r128 | QString displayText(QLineEdit* theWrappedObject) const; | ||
florianlink
|
r110 | bool dragEnabled(QLineEdit* theWrappedObject) const; | ||
florianlink
|
r120 | void dragEnterEvent(QLineEdit* theWrappedObject, QDragEnterEvent* arg__1); | ||
florianlink
|
r128 | void dragLeaveEvent(QLineEdit* theWrappedObject, QDragLeaveEvent* e); | ||
florianlink
|
r110 | void dragMoveEvent(QLineEdit* theWrappedObject, QDragMoveEvent* e); | ||
florianlink
|
r128 | void dropEvent(QLineEdit* theWrappedObject, QDropEvent* arg__1); | ||
QLineEdit::EchoMode echoMode(QLineEdit* theWrappedObject) const; | ||||
florianlink
|
r110 | void end(QLineEdit* theWrappedObject, bool mark); | ||
florianlink
|
r128 | bool event(QLineEdit* theWrappedObject, QEvent* arg__1); | ||
void focusInEvent(QLineEdit* theWrappedObject, QFocusEvent* arg__1); | ||||
void focusOutEvent(QLineEdit* theWrappedObject, QFocusEvent* arg__1); | ||||
void getTextMargins(QLineEdit* theWrappedObject, int* left, int* top, int* right, int* bottom) const; | ||||
florianlink
|
r110 | bool hasAcceptableInput(QLineEdit* theWrappedObject) const; | ||
florianlink
|
r128 | bool hasFrame(QLineEdit* theWrappedObject) const; | ||
bool hasSelectedText(QLineEdit* theWrappedObject) const; | ||||
florianlink
|
r110 | void home(QLineEdit* theWrappedObject, bool mark); | ||
florianlink
|
r128 | QString inputMask(QLineEdit* theWrappedObject) const; | ||
void inputMethodEvent(QLineEdit* theWrappedObject, QInputMethodEvent* arg__1); | ||||
QVariant inputMethodQuery(QLineEdit* theWrappedObject, Qt::InputMethodQuery arg__1) const; | ||||
florianlink
|
r110 | void insert(QLineEdit* theWrappedObject, const QString& arg__1); | ||
florianlink
|
r128 | bool isModified(QLineEdit* theWrappedObject) const; | ||
bool isReadOnly(QLineEdit* theWrappedObject) const; | ||||
bool isRedoAvailable(QLineEdit* theWrappedObject) const; | ||||
bool isUndoAvailable(QLineEdit* theWrappedObject) const; | ||||
void keyPressEvent(QLineEdit* theWrappedObject, QKeyEvent* arg__1); | ||||
int maxLength(QLineEdit* theWrappedObject) const; | ||||
QSize minimumSizeHint(QLineEdit* theWrappedObject) const; | ||||
void mouseDoubleClickEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1); | ||||
void mouseMoveEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1); | ||||
void mousePressEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1); | ||||
void mouseReleaseEvent(QLineEdit* theWrappedObject, QMouseEvent* arg__1); | ||||
void paintEvent(QLineEdit* theWrappedObject, QPaintEvent* arg__1); | ||||
QString selectedText(QLineEdit* theWrappedObject) const; | ||||
int selectionStart(QLineEdit* theWrappedObject) const; | ||||
void setAlignment(QLineEdit* theWrappedObject, Qt::Alignment flag); | ||||
void setCompleter(QLineEdit* theWrappedObject, QCompleter* completer); | ||||
void setCursorPosition(QLineEdit* theWrappedObject, int arg__1); | ||||
void setDragEnabled(QLineEdit* theWrappedObject, bool b); | ||||
void setEchoMode(QLineEdit* theWrappedObject, QLineEdit::EchoMode arg__1); | ||||
void setFrame(QLineEdit* theWrappedObject, bool arg__1); | ||||
void setInputMask(QLineEdit* theWrappedObject, const QString& inputMask); | ||||
florianlink
|
r110 | void setMaxLength(QLineEdit* theWrappedObject, int arg__1); | ||
florianlink
|
r128 | void setModified(QLineEdit* theWrappedObject, bool arg__1); | ||
florianlink
|
r110 | void setReadOnly(QLineEdit* theWrappedObject, bool arg__1); | ||
florianlink
|
r128 | void setSelection(QLineEdit* theWrappedObject, int arg__1, int arg__2); | ||
void setTextMargins(QLineEdit* theWrappedObject, const QMargins& margins); | ||||
void setTextMargins(QLineEdit* theWrappedObject, int left, int top, int right, int bottom); | ||||
void setValidator(QLineEdit* theWrappedObject, const QValidator* arg__1); | ||||
QSize sizeHint(QLineEdit* theWrappedObject) const; | ||||
QString text(QLineEdit* theWrappedObject) const; | ||||
QMargins textMargins(QLineEdit* theWrappedObject) const; | ||||
const QValidator* validator(QLineEdit* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QLinearGradient : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QLinearGradient* new_QLinearGradient(); | ||||
QLinearGradient* new_QLinearGradient(const QPointF& start, const QPointF& finalStop); | ||||
QLinearGradient* new_QLinearGradient(qreal xStart, qreal yStart, qreal xFinalStop, qreal yFinalStop); | ||||
QLinearGradient* new_QLinearGradient(const QLinearGradient& other) { | ||||
QLinearGradient* a = new QLinearGradient(); | ||||
*((QLinearGradient*)a) = other; | ||||
return a; } | ||||
void delete_QLinearGradient(QLinearGradient* obj) { delete obj; } | ||||
QPointF finalStop(QLinearGradient* theWrappedObject) const; | ||||
florianlink
|
r128 | void setFinalStop(QLinearGradient* theWrappedObject, const QPointF& stop); | ||
void setFinalStop(QLinearGradient* theWrappedObject, qreal x, qreal y); | ||||
florianlink
|
r110 | void setStart(QLinearGradient* theWrappedObject, const QPointF& start); | ||
florianlink
|
r128 | void setStart(QLinearGradient* theWrappedObject, qreal x, qreal y); | ||
florianlink
|
r110 | QPointF start(QLinearGradient* theWrappedObject) const; | ||
}; | ||||
class PythonQtShell_QListView : public QListView | ||||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QListView(QWidget* parent = 0):QListView(parent),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r128 | virtual void actionEvent(QActionEvent* arg__1); | ||
virtual void changeEvent(QEvent* arg__1); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void commitData(QWidget* editor); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
florianlink
|
r110 | virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); | ||
florianlink
|
r128 | virtual void customEvent(QEvent* arg__1); | ||
virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); | ||||
virtual int devType() const; | ||||
florianlink
|
r120 | virtual void doItemsLayout(); | ||
florianlink
|
r128 | virtual void dragEnterEvent(QDragEnterEvent* event); | ||
florianlink
|
r110 | virtual void dragLeaveEvent(QDragLeaveEvent* e); | ||
florianlink
|
r128 | virtual void dragMoveEvent(QDragMoveEvent* e); | ||
virtual void dropEvent(QDropEvent* e); | ||||
virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); | ||||
virtual void editorDestroyed(QObject* editor); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
florianlink
|
r120 | virtual bool event(QEvent* e); | ||
florianlink
|
r128 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
florianlink
|
r120 | virtual void focusInEvent(QFocusEvent* event); | ||
florianlink
|
r110 | virtual bool focusNextPrevChild(bool next); | ||
florianlink
|
r128 | virtual void focusOutEvent(QFocusEvent* event); | ||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual int horizontalOffset() const; | ||||
florianlink
|
r110 | virtual void horizontalScrollbarAction(int action); | ||
florianlink
|
r120 | virtual void horizontalScrollbarValueChanged(int value); | ||
florianlink
|
r128 | virtual QModelIndex indexAt(const QPoint& p) const; | ||
virtual void inputMethodEvent(QInputMethodEvent* event); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; | ||||
virtual bool isIndexHidden(const QModelIndex& index) const; | ||||
virtual void keyPressEvent(QKeyEvent* event); | ||||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void keyboardSearch(const QString& search); | ||||
florianlink
|
r110 | virtual void languageChange(); | ||
florianlink
|
r120 | virtual void leaveEvent(QEvent* arg__1); | ||
florianlink
|
r117 | virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||
florianlink
|
r128 | virtual void mouseDoubleClickEvent(QMouseEvent* event); | ||
virtual void mouseMoveEvent(QMouseEvent* e); | ||||
virtual void mousePressEvent(QMouseEvent* event); | ||||
virtual void mouseReleaseEvent(QMouseEvent* e); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
florianlink
|
r117 | virtual QPaintEngine* paintEngine() const; | ||
florianlink
|
r128 | virtual void paintEvent(QPaintEvent* e); | ||
virtual void reset(); | ||||
virtual void resizeEvent(QResizeEvent* e); | ||||
virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); | ||||
virtual void rowsInserted(const QModelIndex& parent, int start, int end); | ||||
virtual void scrollContentsBy(int dx, int dy); | ||||
virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); | ||||
virtual void selectAll(); | ||||
virtual QList<QModelIndex > selectedIndexes() const; | ||||
virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); | ||||
virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; | ||||
virtual void setModel(QAbstractItemModel* model); | ||||
virtual void setRootIndex(const QModelIndex& index); | ||||
virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); | ||||
virtual void setSelectionModel(QItemSelectionModel* selectionModel); | ||||
florianlink
|
r120 | virtual void showEvent(QShowEvent* arg__1); | ||
florianlink
|
r128 | virtual int sizeHintForColumn(int column) const; | ||
virtual int sizeHintForRow(int row) const; | ||||
virtual void startDrag(Qt::DropActions supportedActions); | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual void timerEvent(QTimerEvent* e); | ||||
virtual void updateEditorData(); | ||||
virtual void updateEditorGeometries(); | ||||
virtual void updateGeometries(); | ||||
virtual int verticalOffset() const; | ||||
virtual void verticalScrollbarAction(int action); | ||||
virtual void verticalScrollbarValueChanged(int value); | ||||
virtual QStyleOptionViewItem viewOptions() const; | ||||
virtual bool viewportEvent(QEvent* event); | ||||
virtual QRect visualRect(const QModelIndex& index) const; | ||||
virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; | ||||
virtual void wheelEvent(QWheelEvent* arg__1); | ||||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QListView : public QListView | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r128 | inline void promoted_currentChanged(const QModelIndex& current, const QModelIndex& previous) { QListView::currentChanged(current, previous); } | ||
inline void promoted_dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight) { QListView::dataChanged(topLeft, bottomRight); } | ||||
inline void promoted_doItemsLayout() { QListView::doItemsLayout(); } | ||||
inline void promoted_dragLeaveEvent(QDragLeaveEvent* e) { QListView::dragLeaveEvent(e); } | ||||
inline void promoted_dragMoveEvent(QDragMoveEvent* e) { QListView::dragMoveEvent(e); } | ||||
inline void promoted_dropEvent(QDropEvent* e) { QListView::dropEvent(e); } | ||||
inline bool promoted_event(QEvent* e) { return QListView::event(e); } | ||||
florianlink
|
r110 | inline int promoted_horizontalOffset() const { return QListView::horizontalOffset(); } | ||
florianlink
|
r128 | inline QModelIndex promoted_indexAt(const QPoint& p) const { return QListView::indexAt(p); } | ||
inline bool promoted_isIndexHidden(const QModelIndex& index) const { return QListView::isIndexHidden(index); } | ||||
inline void promoted_mouseMoveEvent(QMouseEvent* e) { QListView::mouseMoveEvent(e); } | ||||
florianlink
|
r110 | inline void promoted_mouseReleaseEvent(QMouseEvent* e) { QListView::mouseReleaseEvent(e); } | ||
florianlink
|
r128 | inline void promoted_paintEvent(QPaintEvent* e) { QListView::paintEvent(e); } | ||
inline void promoted_reset() { QListView::reset(); } | ||||
florianlink
|
r120 | inline void promoted_resizeEvent(QResizeEvent* e) { QListView::resizeEvent(e); } | ||
florianlink
|
r128 | inline void promoted_rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) { QListView::rowsAboutToBeRemoved(parent, start, end); } | ||
inline void promoted_rowsInserted(const QModelIndex& parent, int start, int end) { QListView::rowsInserted(parent, start, end); } | ||||
inline void promoted_scrollContentsBy(int dx, int dy) { QListView::scrollContentsBy(dx, dy); } | ||||
inline void promoted_scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible) { QListView::scrollTo(index, hint); } | ||||
florianlink
|
r110 | inline QList<QModelIndex > promoted_selectedIndexes() const { return QListView::selectedIndexes(); } | ||
florianlink
|
r120 | inline void promoted_selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) { QListView::selectionChanged(selected, deselected); } | ||
florianlink
|
r128 | inline void promoted_setRootIndex(const QModelIndex& index) { QListView::setRootIndex(index); } | ||
florianlink
|
r110 | inline void promoted_setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command) { QListView::setSelection(rect, command); } | ||
florianlink
|
r128 | inline void promoted_startDrag(Qt::DropActions supportedActions) { QListView::startDrag(supportedActions); } | ||
inline void promoted_timerEvent(QTimerEvent* e) { QListView::timerEvent(e); } | ||||
inline void promoted_updateGeometries() { QListView::updateGeometries(); } | ||||
florianlink
|
r120 | inline int promoted_verticalOffset() const { return QListView::verticalOffset(); } | ||
florianlink
|
r128 | inline QStyleOptionViewItem promoted_viewOptions() const { return QListView::viewOptions(); } | ||
inline QRect promoted_visualRect(const QModelIndex& index) const { return QListView::visualRect(index); } | ||||
inline QRegion promoted_visualRegionForSelection(const QItemSelection& selection) const { return QListView::visualRegionForSelection(selection); } | ||||
florianlink
|
r110 | }; | ||
class PythonQtWrapper_QListView : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QListView* new_QListView(QWidget* parent = 0); | ||
void delete_QListView(QListView* obj) { delete obj; } | ||||
florianlink
|
r128 | int batchSize(QListView* theWrappedObject) const; | ||
void clearPropertyFlags(QListView* theWrappedObject); | ||||
void currentChanged(QListView* theWrappedObject, const QModelIndex& current, const QModelIndex& previous); | ||||
void dataChanged(QListView* theWrappedObject, const QModelIndex& topLeft, const QModelIndex& bottomRight); | ||||
void doItemsLayout(QListView* theWrappedObject); | ||||
void dragLeaveEvent(QListView* theWrappedObject, QDragLeaveEvent* e); | ||||
void dragMoveEvent(QListView* theWrappedObject, QDragMoveEvent* e); | ||||
void dropEvent(QListView* theWrappedObject, QDropEvent* e); | ||||
bool event(QListView* theWrappedObject, QEvent* e); | ||||
QListView::Flow flow(QListView* theWrappedObject) const; | ||||
florianlink
|
r120 | QSize gridSize(QListView* theWrappedObject) const; | ||
florianlink
|
r110 | int horizontalOffset(QListView* theWrappedObject) const; | ||
florianlink
|
r128 | QModelIndex indexAt(QListView* theWrappedObject, const QPoint& p) const; | ||
bool isIndexHidden(QListView* theWrappedObject, const QModelIndex& index) const; | ||||
bool isRowHidden(QListView* theWrappedObject, int row) const; | ||||
bool isSelectionRectVisible(QListView* theWrappedObject) const; | ||||
bool isWrapping(QListView* theWrappedObject) const; | ||||
florianlink
|
r110 | QListView::LayoutMode layoutMode(QListView* theWrappedObject) const; | ||
florianlink
|
r128 | int modelColumn(QListView* theWrappedObject) const; | ||
void mouseMoveEvent(QListView* theWrappedObject, QMouseEvent* e); | ||||
void mouseReleaseEvent(QListView* theWrappedObject, QMouseEvent* e); | ||||
QListView::Movement movement(QListView* theWrappedObject) const; | ||||
void paintEvent(QListView* theWrappedObject, QPaintEvent* e); | ||||
void reset(QListView* theWrappedObject); | ||||
void resizeEvent(QListView* theWrappedObject, QResizeEvent* e); | ||||
QListView::ResizeMode resizeMode(QListView* theWrappedObject) const; | ||||
void rowsAboutToBeRemoved(QListView* theWrappedObject, const QModelIndex& parent, int start, int end); | ||||
florianlink
|
r110 | void rowsInserted(QListView* theWrappedObject, const QModelIndex& parent, int start, int end); | ||
florianlink
|
r128 | void scrollContentsBy(QListView* theWrappedObject, int dx, int dy); | ||
void scrollTo(QListView* theWrappedObject, const QModelIndex& index, QAbstractItemView::ScrollHint hint = QAbstractItemView::EnsureVisible); | ||||
QList<QModelIndex > selectedIndexes(QListView* theWrappedObject) const; | ||||
void selectionChanged(QListView* theWrappedObject, const QItemSelection& selected, const QItemSelection& deselected); | ||||
void setBatchSize(QListView* theWrappedObject, int batchSize); | ||||
void setFlow(QListView* theWrappedObject, QListView::Flow flow); | ||||
void setGridSize(QListView* theWrappedObject, const QSize& size); | ||||
void setLayoutMode(QListView* theWrappedObject, QListView::LayoutMode mode); | ||||
void setModelColumn(QListView* theWrappedObject, int column); | ||||
florianlink
|
r110 | void setMovement(QListView* theWrappedObject, QListView::Movement movement); | ||
florianlink
|
r128 | void setResizeMode(QListView* theWrappedObject, QListView::ResizeMode mode); | ||
void setRootIndex(QListView* theWrappedObject, const QModelIndex& index); | ||||
florianlink
|
r120 | void setRowHidden(QListView* theWrappedObject, int row, bool hide); | ||
florianlink
|
r128 | void setSelection(QListView* theWrappedObject, const QRect& rect, QItemSelectionModel::SelectionFlags command); | ||
void setSelectionRectVisible(QListView* theWrappedObject, bool show); | ||||
void setSpacing(QListView* theWrappedObject, int space); | ||||
void setUniformItemSizes(QListView* theWrappedObject, bool enable); | ||||
florianlink
|
r120 | void setViewMode(QListView* theWrappedObject, QListView::ViewMode mode); | ||
void setWordWrap(QListView* theWrappedObject, bool on); | ||||
florianlink
|
r128 | void setWrapping(QListView* theWrappedObject, bool enable); | ||
florianlink
|
r120 | int spacing(QListView* theWrappedObject) const; | ||
florianlink
|
r128 | void startDrag(QListView* theWrappedObject, Qt::DropActions supportedActions); | ||
florianlink
|
r110 | void timerEvent(QListView* theWrappedObject, QTimerEvent* e); | ||
florianlink
|
r120 | bool uniformItemSizes(QListView* theWrappedObject) const; | ||
florianlink
|
r128 | void updateGeometries(QListView* theWrappedObject); | ||
int verticalOffset(QListView* theWrappedObject) const; | ||||
QListView::ViewMode viewMode(QListView* theWrappedObject) const; | ||||
QStyleOptionViewItem viewOptions(QListView* theWrappedObject) const; | ||||
QRect visualRect(QListView* theWrappedObject, const QModelIndex& index) const; | ||||
QRegion visualRegionForSelection(QListView* theWrappedObject, const QItemSelection& selection) const; | ||||
bool wordWrap(QListView* theWrappedObject) const; | ||||
florianlink
|
r110 | }; | ||
class PythonQtShell_QListWidget : public QListWidget | ||||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QListWidget(QWidget* parent = 0):QListWidget(parent),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r128 | virtual void actionEvent(QActionEvent* arg__1); | ||
virtual void changeEvent(QEvent* arg__1); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void commitData(QWidget* editor); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
virtual void currentChanged(const QModelIndex& current, const QModelIndex& previous); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight); | ||||
virtual int devType() const; | ||||
virtual void doItemsLayout(); | ||||
virtual void dragEnterEvent(QDragEnterEvent* event); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* e); | ||||
virtual void dragMoveEvent(QDragMoveEvent* e); | ||||
virtual void dropEvent(QDropEvent* event); | ||||
florianlink
|
r120 | virtual bool dropMimeData(int index, const QMimeData* data, Qt::DropAction action); | ||
florianlink
|
r128 | virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event); | ||
virtual void editorDestroyed(QObject* editor); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
florianlink
|
r99 | virtual bool event(QEvent* e); | ||
florianlink
|
r128 | virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||
virtual void focusInEvent(QFocusEvent* event); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* event); | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual int horizontalOffset() const; | ||||
virtual void horizontalScrollbarAction(int action); | ||||
virtual void horizontalScrollbarValueChanged(int value); | ||||
florianlink
|
r120 | virtual QModelIndex indexAt(const QPoint& p) const; | ||
florianlink
|
r128 | virtual void inputMethodEvent(QInputMethodEvent* event); | ||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const; | ||||
florianlink
|
r120 | virtual bool isIndexHidden(const QModelIndex& index) const; | ||
florianlink
|
r128 | virtual void keyPressEvent(QKeyEvent* event); | ||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void keyboardSearch(const QString& search); | ||||
virtual void languageChange(); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual QMimeData* mimeData(const QList<QListWidgetItem* > items) const; | ||||
virtual QStringList mimeTypes() const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* event); | ||||
virtual void mouseMoveEvent(QMouseEvent* e); | ||||
virtual void mousePressEvent(QMouseEvent* event); | ||||
virtual void mouseReleaseEvent(QMouseEvent* e); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* e); | ||||
florianlink
|
r110 | virtual void reset(); | ||
florianlink
|
r120 | virtual void resizeEvent(QResizeEvent* e); | ||
florianlink
|
r128 | virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end); | ||
virtual void rowsInserted(const QModelIndex& parent, int start, int end); | ||||
florianlink
|
r120 | virtual void scrollContentsBy(int dx, int dy); | ||
virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint); | ||||
florianlink
|
r128 | virtual void selectAll(); | ||
virtual QList<QModelIndex > selectedIndexes() const; | ||||
florianlink
|
r120 | virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected); | ||
florianlink
|
r128 | virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const; | ||
virtual void setRootIndex(const QModelIndex& index); | ||||
virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags command); | ||||
florianlink
|
r120 | virtual void setSelectionModel(QItemSelectionModel* selectionModel); | ||
florianlink
|
r128 | virtual void showEvent(QShowEvent* arg__1); | ||
virtual int sizeHintForColumn(int column) const; | ||||
florianlink
|
r120 | virtual int sizeHintForRow(int row) const; | ||
florianlink
|
r128 | virtual void startDrag(Qt::DropActions supportedActions); | ||
virtual Qt::DropActions supportedDropActions() const; | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual void timerEvent(QTimerEvent* e); | ||||
florianlink
|
r110 | virtual void updateEditorData(); | ||
florianlink
|
r120 | virtual void updateEditorGeometries(); | ||
florianlink
|
r128 | virtual void updateGeometries(); | ||
virtual int verticalOffset() const; | ||||
florianlink
|
r120 | virtual void verticalScrollbarAction(int action); | ||
virtual void verticalScrollbarValueChanged(int value); | ||||
florianlink
|
r128 | virtual QStyleOptionViewItem viewOptions() const; | ||
virtual bool viewportEvent(QEvent* event); | ||||
virtual QRect visualRect(const QModelIndex& index) const; | ||||
virtual QRegion visualRegionForSelection(const QItemSelection& selection) const; | ||||
florianlink
|
r99 | virtual void wheelEvent(QWheelEvent* arg__1); | ||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QListWidget : public QListWidget | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r128 | inline void promoted_dropEvent(QDropEvent* event) { QListWidget::dropEvent(event); } | ||
florianlink
|
r120 | inline bool promoted_dropMimeData(int index, const QMimeData* data, Qt::DropAction action) { return QListWidget::dropMimeData(index, data, action); } | ||
florianlink
|
r110 | inline bool promoted_event(QEvent* e) { return QListWidget::event(e); } | ||
florianlink
|
r128 | inline QStringList promoted_mimeTypes() const { return QListWidget::mimeTypes(); } | ||
florianlink
|
r110 | inline Qt::DropActions promoted_supportedDropActions() const { return QListWidget::supportedDropActions(); } | ||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QListWidget : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QListWidget* new_QListWidget(QWidget* parent = 0); | ||
void delete_QListWidget(QListWidget* obj) { delete obj; } | ||||
florianlink
|
r128 | void addItem(QListWidget* theWrappedObject, QListWidgetItem* item); | ||
void addItem(QListWidget* theWrappedObject, const QString& label); | ||||
void addItems(QListWidget* theWrappedObject, const QStringList& labels); | ||||
florianlink
|
r110 | void closePersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item); | ||
florianlink
|
r128 | int count(QListWidget* theWrappedObject) const; | ||
QListWidgetItem* currentItem(QListWidget* theWrappedObject) const; | ||||
florianlink
|
r110 | int currentRow(QListWidget* theWrappedObject) const; | ||
florianlink
|
r128 | void dropEvent(QListWidget* theWrappedObject, QDropEvent* event); | ||
bool dropMimeData(QListWidget* theWrappedObject, int index, const QMimeData* data, Qt::DropAction action); | ||||
void editItem(QListWidget* theWrappedObject, QListWidgetItem* item); | ||||
bool event(QListWidget* theWrappedObject, QEvent* e); | ||||
QList<QListWidgetItem* > findItems(QListWidget* theWrappedObject, const QString& text, Qt::MatchFlags flags) const; | ||||
florianlink
|
r110 | void insertItem(QListWidget* theWrappedObject, int row, QListWidgetItem* item); | ||
florianlink
|
r120 | void insertItem(QListWidget* theWrappedObject, int row, const QString& label); | ||
florianlink
|
r128 | void insertItems(QListWidget* theWrappedObject, int row, const QStringList& labels); | ||
florianlink
|
r110 | bool isSortingEnabled(QListWidget* theWrappedObject) const; | ||
florianlink
|
r128 | QListWidgetItem* item(QListWidget* theWrappedObject, int row) const; | ||
florianlink
|
r120 | QListWidgetItem* itemAt(QListWidget* theWrappedObject, const QPoint& p) const; | ||
florianlink
|
r128 | QListWidgetItem* itemAt(QListWidget* theWrappedObject, int x, int y) const; | ||
florianlink
|
r110 | QWidget* itemWidget(QListWidget* theWrappedObject, QListWidgetItem* item) const; | ||
florianlink
|
r128 | QStringList mimeTypes(QListWidget* theWrappedObject) const; | ||
florianlink
|
r110 | void openPersistentEditor(QListWidget* theWrappedObject, QListWidgetItem* item); | ||
florianlink
|
r128 | void removeItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item); | ||
florianlink
|
r110 | int row(QListWidget* theWrappedObject, const QListWidgetItem* item) const; | ||
florianlink
|
r128 | QList<QListWidgetItem* > selectedItems(QListWidget* theWrappedObject) const; | ||
void setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item); | ||||
void setCurrentItem(QListWidget* theWrappedObject, QListWidgetItem* item, QItemSelectionModel::SelectionFlags command); | ||||
void setCurrentRow(QListWidget* theWrappedObject, int row); | ||||
void setCurrentRow(QListWidget* theWrappedObject, int row, QItemSelectionModel::SelectionFlags command); | ||||
void setItemWidget(QListWidget* theWrappedObject, QListWidgetItem* item, QWidget* widget); | ||||
void setSortingEnabled(QListWidget* theWrappedObject, bool enable); | ||||
void sortItems(QListWidget* theWrappedObject, Qt::SortOrder order = Qt::AscendingOrder); | ||||
Qt::DropActions supportedDropActions(QListWidget* theWrappedObject) const; | ||||
QListWidgetItem* takeItem(QListWidget* theWrappedObject, int row); | ||||
QRect visualItemRect(QListWidget* theWrappedObject, const QListWidgetItem* item) const; | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QListWidgetItem : public QListWidgetItem | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QListWidgetItem(QListWidget* view = 0, int type = Type):QListWidgetItem(view, type),_wrapper(NULL) {}; | ||
PythonQtShell_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* view = 0, int type = Type):QListWidgetItem(icon, text, view, type),_wrapper(NULL) {}; | ||||
PythonQtShell_QListWidgetItem(const QString& text, QListWidget* view = 0, int type = Type):QListWidgetItem(text, view, type),_wrapper(NULL) {}; | ||||
florianlink
|
r99 | |||
florianlink
|
r110 | virtual QListWidgetItem* clone() const; | ||
virtual QVariant data(int role) const; | ||||
florianlink
|
r128 | virtual bool __lt__(const QListWidgetItem& other) const; | ||
virtual void read(QDataStream& in); | ||||
florianlink
|
r110 | virtual void setBackgroundColor(const QColor& color); | ||
virtual void setData(int role, const QVariant& value); | ||||
florianlink
|
r128 | virtual void write(QDataStream& out) const; | ||
florianlink
|
r99 | |||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r110 | class PythonQtPublicPromoter_QListWidgetItem : public QListWidgetItem | ||
{ public: | ||||
inline QListWidgetItem* promoted_clone() const { return QListWidgetItem::clone(); } | ||||
inline QVariant promoted_data(int role) const { return QListWidgetItem::data(role); } | ||||
inline void promoted_setData(int role, const QVariant& value) { QListWidgetItem::setData(role, value); } | ||||
}; | ||||
class PythonQtWrapper_QListWidgetItem : public QObject | ||||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
florianlink
|
r110 | Q_ENUMS(ItemType ) | ||
enum ItemType{ | ||||
Type = QListWidgetItem::Type, UserType = QListWidgetItem::UserType}; | ||||
florianlink
|
r99 | public slots: | ||
florianlink
|
r110 | QListWidgetItem* new_QListWidgetItem(QListWidget* view = 0, int type = Type); | ||
QListWidgetItem* new_QListWidgetItem(const QIcon& icon, const QString& text, QListWidget* view = 0, int type = Type); | ||||
QListWidgetItem* new_QListWidgetItem(const QString& text, QListWidget* view = 0, int type = Type); | ||||
void delete_QListWidgetItem(QListWidgetItem* obj) { delete obj; } | ||||
florianlink
|
r128 | QBrush background(QListWidgetItem* theWrappedObject) const; | ||
Qt::CheckState checkState(QListWidgetItem* theWrappedObject) const; | ||||
florianlink
|
r110 | QListWidgetItem* clone(QListWidgetItem* theWrappedObject) const; | ||
QVariant data(QListWidgetItem* theWrappedObject, int role) const; | ||||
florianlink
|
r128 | Qt::ItemFlags flags(QListWidgetItem* theWrappedObject) const; | ||
QFont font(QListWidgetItem* theWrappedObject) const; | ||||
florianlink
|
r110 | QBrush foreground(QListWidgetItem* theWrappedObject) const; | ||
florianlink
|
r128 | QIcon icon(QListWidgetItem* theWrappedObject) const; | ||
bool isHidden(QListWidgetItem* theWrappedObject) const; | ||||
bool isSelected(QListWidgetItem* theWrappedObject) const; | ||||
QListWidget* listWidget(QListWidgetItem* theWrappedObject) const; | ||||
void writeTo(QListWidgetItem* theWrappedObject, QDataStream& out); | ||||
void readFrom(QListWidgetItem* theWrappedObject, QDataStream& in); | ||||
florianlink
|
r110 | void setBackground(QListWidgetItem* theWrappedObject, const QBrush& brush); | ||
florianlink
|
r128 | void setCheckState(QListWidgetItem* theWrappedObject, Qt::CheckState state); | ||
void setData(QListWidgetItem* theWrappedObject, int role, const QVariant& value); | ||||
void setFlags(QListWidgetItem* theWrappedObject, Qt::ItemFlags flags); | ||||
void setFont(QListWidgetItem* theWrappedObject, const QFont& font); | ||||
void setForeground(QListWidgetItem* theWrappedObject, const QBrush& brush); | ||||
florianlink
|
r120 | void setHidden(QListWidgetItem* theWrappedObject, bool hide); | ||
florianlink
|
r128 | void setIcon(QListWidgetItem* theWrappedObject, const QIcon& icon); | ||
void setSelected(QListWidgetItem* theWrappedObject, bool select); | ||||
void setSizeHint(QListWidgetItem* theWrappedObject, const QSize& size); | ||||
void setStatusTip(QListWidgetItem* theWrappedObject, const QString& statusTip); | ||||
florianlink
|
r120 | void setText(QListWidgetItem* theWrappedObject, const QString& text); | ||
florianlink
|
r110 | void setTextAlignment(QListWidgetItem* theWrappedObject, int alignment); | ||
void setToolTip(QListWidgetItem* theWrappedObject, const QString& toolTip); | ||||
florianlink
|
r128 | void setWhatsThis(QListWidgetItem* theWrappedObject, const QString& whatsThis); | ||
QSize sizeHint(QListWidgetItem* theWrappedObject) const; | ||||
QString statusTip(QListWidgetItem* theWrappedObject) const; | ||||
QString text(QListWidgetItem* theWrappedObject) const; | ||||
florianlink
|
r120 | int textAlignment(QListWidgetItem* theWrappedObject) const; | ||
florianlink
|
r128 | QString toolTip(QListWidgetItem* theWrappedObject) const; | ||
int type(QListWidgetItem* theWrappedObject) const; | ||||
QString whatsThis(QListWidgetItem* theWrappedObject) const; | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtShell_QMainWindow : public QMainWindow | ||
florianlink
|
r99 | { | ||
public: | ||||
florianlink
|
r110 | PythonQtShell_QMainWindow(QWidget* parent = 0, Qt::WindowFlags flags = 0):QMainWindow(parent, flags),_wrapper(NULL) {}; | ||
florianlink
|
r99 | |||
florianlink
|
r128 | virtual void actionEvent(QActionEvent* arg__1); | ||
virtual void changeEvent(QEvent* arg__1); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
florianlink
|
r110 | virtual void contextMenuEvent(QContextMenuEvent* event); | ||
virtual QMenu* createPopupMenu(); | ||||
florianlink
|
r128 | virtual void customEvent(QEvent* arg__1); | ||
virtual int devType() const; | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
florianlink
|
r110 | virtual bool event(QEvent* event); | ||
florianlink
|
r128 | 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); | ||||
florianlink
|
r110 | virtual int heightForWidth(int arg__1) const; | ||
florianlink
|
r128 | virtual void hideEvent(QHideEvent* arg__1); | ||
florianlink
|
r120 | virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
florianlink
|
r128 | virtual void keyPressEvent(QKeyEvent* arg__1); | ||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void languageChange(); | ||||
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; | ||||
florianlink
|
r110 | virtual void paintEvent(QPaintEvent* arg__1); | ||
florianlink
|
r128 | virtual void resizeEvent(QResizeEvent* arg__1); | ||
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_QMainWindow : public QMainWindow | ||
florianlink
|
r99 | { public: | ||
florianlink
|
r110 | inline void promoted_contextMenuEvent(QContextMenuEvent* event) { QMainWindow::contextMenuEvent(event); } | ||
inline QMenu* promoted_createPopupMenu() { return QMainWindow::createPopupMenu(); } | ||||
inline bool promoted_event(QEvent* event) { return QMainWindow::event(event); } | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QMainWindow : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QMainWindow* new_QMainWindow(QWidget* parent = 0, Qt::WindowFlags flags = 0); | ||
void delete_QMainWindow(QMainWindow* obj) { delete obj; } | ||||
florianlink
|
r128 | void addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget); | ||
void addDockWidget(QMainWindow* theWrappedObject, Qt::DockWidgetArea area, QDockWidget* dockwidget, Qt::Orientation orientation); | ||||
florianlink
|
r120 | void addToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar); | ||
florianlink
|
r110 | void addToolBar(QMainWindow* theWrappedObject, Qt::ToolBarArea area, QToolBar* toolbar); | ||
florianlink
|
r128 | QToolBar* addToolBar(QMainWindow* theWrappedObject, const QString& title); | ||
void addToolBarBreak(QMainWindow* theWrappedObject, Qt::ToolBarArea area = Qt::TopToolBarArea); | ||||
QWidget* centralWidget(QMainWindow* theWrappedObject) const; | ||||
florianlink
|
r110 | void contextMenuEvent(QMainWindow* theWrappedObject, QContextMenuEvent* event); | ||
Qt::DockWidgetArea corner(QMainWindow* theWrappedObject, Qt::Corner corner) const; | ||||
florianlink
|
r128 | QMenu* createPopupMenu(QMainWindow* theWrappedObject); | ||
QMainWindow::DockOptions dockOptions(QMainWindow* theWrappedObject) const; | ||||
Qt::DockWidgetArea dockWidgetArea(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const; | ||||
bool documentMode(QMainWindow* theWrappedObject) const; | ||||
bool event(QMainWindow* theWrappedObject, QEvent* event); | ||||
florianlink
|
r120 | QSize iconSize(QMainWindow* theWrappedObject) const; | ||
florianlink
|
r128 | void insertToolBar(QMainWindow* theWrappedObject, QToolBar* before, QToolBar* toolbar); | ||
void insertToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before); | ||||
bool isAnimated(QMainWindow* theWrappedObject) const; | ||||
bool isDockNestingEnabled(QMainWindow* theWrappedObject) const; | ||||
bool isSeparator(QMainWindow* theWrappedObject, const QPoint& pos) const; | ||||
QMenuBar* menuBar(QMainWindow* theWrappedObject) const; | ||||
florianlink
|
r110 | QWidget* menuWidget(QMainWindow* theWrappedObject) const; | ||
florianlink
|
r128 | void removeDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget); | ||
florianlink
|
r120 | void removeToolBar(QMainWindow* theWrappedObject, QToolBar* toolbar); | ||
florianlink
|
r110 | void removeToolBarBreak(QMainWindow* theWrappedObject, QToolBar* before); | ||
florianlink
|
r128 | bool restoreDockWidget(QMainWindow* theWrappedObject, QDockWidget* dockwidget); | ||
bool restoreState(QMainWindow* theWrappedObject, const QByteArray& state, int version = 0); | ||||
QByteArray saveState(QMainWindow* theWrappedObject, int version = 0) const; | ||||
void setCentralWidget(QMainWindow* theWrappedObject, QWidget* widget); | ||||
void setCorner(QMainWindow* theWrappedObject, Qt::Corner corner, Qt::DockWidgetArea area); | ||||
florianlink
|
r110 | void setDockOptions(QMainWindow* theWrappedObject, QMainWindow::DockOptions options); | ||
florianlink
|
r120 | void setDocumentMode(QMainWindow* theWrappedObject, bool enabled); | ||
florianlink
|
r110 | void setIconSize(QMainWindow* theWrappedObject, const QSize& iconSize); | ||
florianlink
|
r128 | void setMenuBar(QMainWindow* theWrappedObject, QMenuBar* menubar); | ||
void setMenuWidget(QMainWindow* theWrappedObject, QWidget* menubar); | ||||
void setStatusBar(QMainWindow* theWrappedObject, QStatusBar* statusbar); | ||||
void setTabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetAreas areas, QTabWidget::TabPosition tabPosition); | ||||
void setTabShape(QMainWindow* theWrappedObject, QTabWidget::TabShape tabShape); | ||||
florianlink
|
r110 | void setToolButtonStyle(QMainWindow* theWrappedObject, Qt::ToolButtonStyle toolButtonStyle); | ||
florianlink
|
r128 | void setUnifiedTitleAndToolBarOnMac(QMainWindow* theWrappedObject, bool set); | ||
void splitDockWidget(QMainWindow* theWrappedObject, QDockWidget* after, QDockWidget* dockwidget, Qt::Orientation orientation); | ||||
QStatusBar* statusBar(QMainWindow* theWrappedObject) const; | ||||
QTabWidget::TabPosition tabPosition(QMainWindow* theWrappedObject, Qt::DockWidgetArea area) const; | ||||
QTabWidget::TabShape tabShape(QMainWindow* theWrappedObject) const; | ||||
QList<QDockWidget* > tabifiedDockWidgets(QMainWindow* theWrappedObject, QDockWidget* dockwidget) const; | ||||
void tabifyDockWidget(QMainWindow* theWrappedObject, QDockWidget* first, QDockWidget* second); | ||||
Qt::ToolBarArea toolBarArea(QMainWindow* theWrappedObject, QToolBar* toolbar) const; | ||||
bool toolBarBreak(QMainWindow* theWrappedObject, QToolBar* toolbar) const; | ||||
Qt::ToolButtonStyle toolButtonStyle(QMainWindow* theWrappedObject) const; | ||||
bool unifiedTitleAndToolBarOnMac(QMainWindow* theWrappedObject) const; | ||||
florianlink
|
r99 | }; | ||
florianlink
|
r110 | class PythonQtWrapper_QMargins : public QObject | ||
florianlink
|
r99 | { Q_OBJECT | ||
public: | ||||
public slots: | ||||
florianlink
|
r110 | QMargins* new_QMargins(); | ||
QMargins* new_QMargins(int left, int top, int right, int bottom); | ||||
QMargins* new_QMargins(const QMargins& other) { | ||||
QMargins* a = new QMargins(); | ||||
*((QMargins*)a) = other; | ||||
return a; } | ||||
void delete_QMargins(QMargins* obj) { delete obj; } | ||||
florianlink
|
r128 | int bottom(QMargins* theWrappedObject) const; | ||
florianlink
|
r120 | bool isNull(QMargins* theWrappedObject) const; | ||
florianlink
|
r128 | int left(QMargins* theWrappedObject) const; | ||
bool __eq__(QMargins* theWrappedObject, const QMargins& m2); | ||||
int right(QMargins* theWrappedObject) const; | ||||
florianlink
|
r110 | void setBottom(QMargins* theWrappedObject, int bottom); | ||
florianlink
|
r128 | void setLeft(QMargins* theWrappedObject, int left); | ||
florianlink
|
r120 | void setRight(QMargins* theWrappedObject, int right); | ||
void setTop(QMargins* theWrappedObject, int top); | ||||
florianlink
|
r128 | int top(QMargins* theWrappedObject) const; | ||
florianlink
|
r117 | QString py_toString(QMargins*); | ||
florianlink
|
r120 | bool __nonzero__(QMargins* obj) { return !obj->isNull(); } | ||
florianlink
|
r99 | }; | ||