##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QPushButton.h
58 lines | 1.8 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QPUSHBUTTON_H
#define PYTHONQTWRAPPER_QPUSHBUTTON_H
#include <qpushbutton.h>
#include <QObject>
#include <QVariant>
#include <qaction.h>
#include <qbitmap.h>
#include <qbuttongroup.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 <qmenu.h>
#include <qobject.h>
#include <qpaintdevice.h>
#include <qpaintengine.h>
#include <qpainter.h>
#include <qpalette.h>
#include <qpoint.h>
#include <qpushbutton.h>
#include <qrect.h>
#include <qregion.h>
#include <qsize.h>
#include <qsizepolicy.h>
#include <qstyle.h>
#include <qstyleoption.h>
#include <qwidget.h>
class PythonQtWrapper_QPushButton : public QObject
{ Q_OBJECT
public:
public slots:
QPushButton* new_QPushButton(QWidget* parent = 0);
QPushButton* new_QPushButton(const QIcon& icon, const QString& text, QWidget* parent = 0);
QPushButton* new_QPushButton(const QString& text, QWidget* parent = 0);
void delete_QPushButton(QPushButton* obj) { delete obj; }
bool autoDefault(QPushButton* theWrappedObject) const;
bool isDefault(QPushButton* theWrappedObject) const;
bool isFlat(QPushButton* theWrappedObject) const;
QMenu* menu(QPushButton* theWrappedObject) const;
QSize minimumSizeHint(QPushButton* theWrappedObject) const;
void setAutoDefault(QPushButton* theWrappedObject, bool arg__1);
void setDefault(QPushButton* theWrappedObject, bool arg__1);
void setFlat(QPushButton* theWrappedObject, bool arg__1);
void setMenu(QPushButton* theWrappedObject, QMenu* menu);
QSize sizeHint(QPushButton* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QPUSHBUTTON_H