##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
Show More
PythonQtWrapper_QMessageBox.h
162 lines | 10.2 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QMESSAGEBOX_H
#define PYTHONQTWRAPPER_QMESSAGEBOX_H
#include <qmessagebox.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QPixmap>
#include <QVariant>
#include <qabstractbutton.h>
#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 <qlayout.h>
#include <qlist.h>
#include <qlocale.h>
#include <qmessagebox.h>
#include <qobject.h>
#include <qpaintdevice.h>
#include <qpaintengine.h>
#include <qpainter.h>
#include <qpalette.h>
#include <qpixmap.h>
#include <qpoint.h>
#include <qpushbutton.h>
#include <qrect.h>
#include <qregion.h>
#include <qsize.h>
#include <qsizepolicy.h>
#include <qstyle.h>
#include <qwidget.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QMessageBox : public QMessageBox
{
public:
PythonQtShell_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::NoButton, QWidget* parent = 0, Qt::WindowFlags f = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint):QMessageBox(icon, title, text, buttons, parent, f),_wrapper(NULL) {};
PythonQtShell_QMessageBox(QWidget* parent = 0):QMessageBox(parent),_wrapper(NULL) {};
virtual void accept();
virtual void actionEvent(QActionEvent* arg__1);
virtual void changeEvent(QEvent* event);
virtual void childEvent(QChildEvent* arg__1);
virtual void closeEvent(QCloseEvent* event);
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* 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);
virtual void inputMethodEvent(QInputMethodEvent* arg__1);
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const;
virtual void keyPressEvent(QKeyEvent* event);
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* event);
virtual void showEvent(QShowEvent* event);
virtual void tabletEvent(QTabletEvent* arg__1);
virtual void timerEvent(QTimerEvent* arg__1);
virtual void wheelEvent(QWheelEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QMessageBox : public QMessageBox
{ public:
florianlink
upgraded wrappers to current generator version...
r28 inline void promoted_showEvent(QShowEvent* event) { QMessageBox::showEvent(event); }
inline bool promoted_event(QEvent* e) { return QMessageBox::event(e); }
inline void promoted_closeEvent(QCloseEvent* event) { QMessageBox::closeEvent(event); }
florianlink
recreated wrappers to match current python qt version...
r73 inline void promoted_changeEvent(QEvent* event) { QMessageBox::changeEvent(event); }
florianlink
upgraded wrappers to current generator version...
r28 inline void promoted_keyPressEvent(QKeyEvent* event) { QMessageBox::keyPressEvent(event); }
florianlink
recreated wrappers to match current python qt version...
r73 inline void promoted_resizeEvent(QResizeEvent* event) { QMessageBox::resizeEvent(event); }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 };
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QMessageBox : public QObject
{ Q_OBJECT
public:
Q_ENUMS(ButtonRole StandardButton )
florianlink
recreated wrappers to match current python qt version...
r73 Q_FLAGS(StandardButtons )
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 enum ButtonRole{
InvalidRole = QMessageBox::InvalidRole, AcceptRole = QMessageBox::AcceptRole, RejectRole = QMessageBox::RejectRole, DestructiveRole = QMessageBox::DestructiveRole, ActionRole = QMessageBox::ActionRole, HelpRole = QMessageBox::HelpRole, YesRole = QMessageBox::YesRole, NoRole = QMessageBox::NoRole, ResetRole = QMessageBox::ResetRole, ApplyRole = QMessageBox::ApplyRole, NRoles = QMessageBox::NRoles};
enum StandardButton{
NoButton = QMessageBox::NoButton, Ok = QMessageBox::Ok, Save = QMessageBox::Save, SaveAll = QMessageBox::SaveAll, Open = QMessageBox::Open, Yes = QMessageBox::Yes, YesToAll = QMessageBox::YesToAll, No = QMessageBox::No, NoToAll = QMessageBox::NoToAll, Abort = QMessageBox::Abort, Retry = QMessageBox::Retry, Ignore = QMessageBox::Ignore, Close = QMessageBox::Close, Cancel = QMessageBox::Cancel, Discard = QMessageBox::Discard, Help = QMessageBox::Help, Apply = QMessageBox::Apply, Reset = QMessageBox::Reset, RestoreDefaults = QMessageBox::RestoreDefaults, FirstButton = QMessageBox::FirstButton, LastButton = QMessageBox::LastButton, YesAll = QMessageBox::YesAll, NoAll = QMessageBox::NoAll, Default = QMessageBox::Default, Escape = QMessageBox::Escape, FlagMask = QMessageBox::FlagMask, ButtonMask = QMessageBox::ButtonMask};
florianlink
recreated wrappers to match current python qt version...
r73 Q_DECLARE_FLAGS(StandardButtons, StandardButton)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 public slots:
QMessageBox* new_QMessageBox(QMessageBox::Icon icon, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::NoButton, QWidget* parent = 0, Qt::WindowFlags f = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint);
QMessageBox* new_QMessageBox(QWidget* parent = 0);
void delete_QMessageBox(QMessageBox* obj) { delete obj; }
florianlink
recreated wrappers to match current python qt version...
r73 QMessageBox::StandardButton static_QMessageBox_information(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton);
int static_QMessageBox_question(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1);
void setIconPixmap(QMessageBox* theWrappedObject, const QPixmap& pixmap);
void showEvent(QMessageBox* theWrappedObject, QShowEvent* event);
void static_QMessageBox_about(QWidget* parent, const QString& title, const QString& text);
QSize sizeHint(QMessageBox* theWrappedObject) const;
QString text(QMessageBox* theWrappedObject) const;
void setTextFormat(QMessageBox* theWrappedObject, Qt::TextFormat format);
bool event(QMessageBox* theWrappedObject, QEvent* e);
void closeEvent(QMessageBox* theWrappedObject, QCloseEvent* event);
void setDefaultButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button);
void setEscapeButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button);
void addButton(QMessageBox* theWrappedObject, QAbstractButton* button, QMessageBox::ButtonRole role);
void setStandardButtons(QMessageBox* theWrappedObject, QMessageBox::StandardButtons buttons);
void changeEvent(QMessageBox* theWrappedObject, QEvent* event);
void setDetailedText(QMessageBox* theWrappedObject, const QString& text);
florianlink
upgraded wrappers to current generator version...
r28 QPushButton* addButton(QMessageBox* theWrappedObject, QMessageBox::StandardButton button);
florianlink
recreated wrappers to match current python qt version...
r73 void setDefaultButton(QMessageBox* theWrappedObject, QPushButton* button);
void setText(QMessageBox* theWrappedObject, const QString& text);
QMessageBox::StandardButton static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton);
void static_QMessageBox_aboutQt(QWidget* parent, const QString& title = QString());
QPushButton* defaultButton(QMessageBox* theWrappedObject) const;
QMessageBox::StandardButton standardButton(QMessageBox* theWrappedObject, QAbstractButton* button) const;
florianlink
upgraded wrappers to current generator version...
r28 QAbstractButton* button(QMessageBox* theWrappedObject, QMessageBox::StandardButton which) const;
florianlink
recreated wrappers to match current python qt version...
r73 QMessageBox::StandardButton static_QMessageBox_question(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton);
florianlink
upgraded wrappers to current generator version...
r28 QAbstractButton* escapeButton(QMessageBox* theWrappedObject) const;
QString informativeText(QMessageBox* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 void keyPressEvent(QMessageBox* theWrappedObject, QKeyEvent* event);
florianlink
upgraded wrappers to current generator version...
r28 int static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1);
QAbstractButton* clickedButton(QMessageBox* theWrappedObject) const;
Qt::TextFormat textFormat(QMessageBox* theWrappedObject) const;
QMessageBox::Icon icon(QMessageBox* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 QMessageBox::StandardButton static_QMessageBox_information(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1 = QMessageBox::NoButton);
florianlink
upgraded wrappers to current generator version...
r28 void setEscapeButton(QMessageBox* theWrappedObject, QAbstractButton* button);
void setIcon(QMessageBox* theWrappedObject, QMessageBox::Icon arg__1);
florianlink
recreated wrappers to match current python qt version...
r73 QString detailedText(QMessageBox* theWrappedObject) const;
QPixmap iconPixmap(QMessageBox* theWrappedObject) const;
void removeButton(QMessageBox* theWrappedObject, QAbstractButton* button);
void setInformativeText(QMessageBox* theWrappedObject, const QString& text);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QMessageBox::StandardButton static_QMessageBox_warning(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 int static_QMessageBox_critical(QWidget* parent, const QString& title, const QString& text, QMessageBox::StandardButton button0, QMessageBox::StandardButton button1);
florianlink
upgraded wrappers to current generator version...
r28 void resizeEvent(QMessageBox* theWrappedObject, QResizeEvent* event);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QMessageBox::StandardButtons standardButtons(QMessageBox* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 QPushButton* addButton(QMessageBox* theWrappedObject, const QString& text, QMessageBox::ButtonRole role);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QMESSAGEBOX_H