PythonQtWrapper_QProgressDialog.h
126 lines
| 5.2 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QPROGRESSDIALOG_H | ||
#define PYTHONQTWRAPPER_QPROGRESSDIALOG_H | ||||
#include <qprogressdialog.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qaction.h> | ||||
#include <qbitmap.h> | ||||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qcursor.h> | ||||
#include <qevent.h> | ||||
#include <qfont.h> | ||||
#include <qicon.h> | ||||
#include <qinputcontext.h> | ||||
#include <qkeysequence.h> | ||||
#include <qlabel.h> | ||||
#include <qlayout.h> | ||||
#include <qlist.h> | ||||
#include <qlocale.h> | ||||
#include <qobject.h> | ||||
#include <qpaintdevice.h> | ||||
#include <qpaintengine.h> | ||||
#include <qpainter.h> | ||||
#include <qpalette.h> | ||||
#include <qpoint.h> | ||||
#include <qprogressbar.h> | ||||
#include <qprogressdialog.h> | ||||
#include <qpushbutton.h> | ||||
#include <qrect.h> | ||||
#include <qregion.h> | ||||
#include <qsize.h> | ||||
#include <qsizepolicy.h> | ||||
#include <qstyle.h> | ||||
#include <qwidget.h> | ||||
florianlink
|
r24 | class PythonQtShell_QProgressDialog : public QProgressDialog | ||
{ | ||||
public: | ||||
PythonQtShell_QProgressDialog(QWidget* parent = 0, Qt::WindowFlags f = 0):QProgressDialog(parent, f),_wrapper(NULL) {}; | ||||
PythonQtShell_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent = 0, Qt::WindowFlags f = 0):QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, f),_wrapper(NULL) {}; | ||||
virtual void accept(); | ||||
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 arg__1); | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* arg__1); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void focusInEvent(QFocusEvent* arg__1); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* arg__1); | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
virtual void keyPressEvent(QKeyEvent* arg__1); | ||||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void languageChange(); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
virtual void mouseMoveEvent(QMouseEvent* arg__1); | ||||
virtual void mousePressEvent(QMouseEvent* arg__1); | ||||
virtual void mouseReleaseEvent(QMouseEvent* arg__1); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* arg__1); | ||||
virtual void reject(); | ||||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
virtual void showEvent(QShowEvent* e); | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
virtual void wheelEvent(QWheelEvent* arg__1); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_QProgressDialog : public QProgressDialog | ||||
{ public: | ||||
florianlink
|
r28 | inline void promoted_closeEvent(QCloseEvent* arg__1) { QProgressDialog::closeEvent(arg__1); } | ||
inline void promoted_changeEvent(QEvent* arg__1) { QProgressDialog::changeEvent(arg__1); } | ||||
inline void promoted_showEvent(QShowEvent* e) { QProgressDialog::showEvent(e); } | ||||
inline void promoted_resizeEvent(QResizeEvent* arg__1) { QProgressDialog::resizeEvent(arg__1); } | ||||
florianlink
|
r24 | }; | ||
florianlink
|
r13 | class PythonQtWrapper_QProgressDialog : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QProgressDialog* new_QProgressDialog(QWidget* parent = 0, Qt::WindowFlags f = 0); | ||||
QProgressDialog* new_QProgressDialog(const QString& labelText, const QString& cancelButtonText, int minimum, int maximum, QWidget* parent = 0, Qt::WindowFlags f = 0); | ||||
void delete_QProgressDialog(QProgressDialog* obj) { delete obj; } | ||||
int maximum(QProgressDialog* theWrappedObject) const; | ||||
int value(QProgressDialog* theWrappedObject) const; | ||||
florianlink
|
r24 | int minimumDuration(QProgressDialog* theWrappedObject) const; | ||
florianlink
|
r28 | void setBar(QProgressDialog* theWrappedObject, QProgressBar* bar); | ||
florianlink
|
r24 | void closeEvent(QProgressDialog* theWrappedObject, QCloseEvent* arg__1); | ||
florianlink
|
r28 | void changeEvent(QProgressDialog* theWrappedObject, QEvent* arg__1); | ||
QSize sizeHint(QProgressDialog* theWrappedObject) const; | ||||
bool autoClose(QProgressDialog* theWrappedObject) const; | ||||
void setAutoClose(QProgressDialog* theWrappedObject, bool b); | ||||
florianlink
|
r24 | int minimum(QProgressDialog* theWrappedObject) const; | ||
QString labelText(QProgressDialog* theWrappedObject) const; | ||||
florianlink
|
r28 | void setCancelButton(QProgressDialog* theWrappedObject, QPushButton* button); | ||
bool autoReset(QProgressDialog* theWrappedObject) const; | ||||
florianlink
|
r24 | void showEvent(QProgressDialog* theWrappedObject, QShowEvent* e); | ||
florianlink
|
r28 | void resizeEvent(QProgressDialog* theWrappedObject, QResizeEvent* arg__1); | ||
void setLabel(QProgressDialog* theWrappedObject, QLabel* label); | ||||
bool wasCanceled(QProgressDialog* theWrappedObject) const; | ||||
void setAutoReset(QProgressDialog* theWrappedObject, bool b); | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QPROGRESSDIALOG_H | ||||