PythonQtWrapper_QActionGroup.h
49 lines
| 1.6 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QACTIONGROUP_H | ||
#define PYTHONQTWRAPPER_QACTIONGROUP_H | ||||
#include <qactiongroup.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qaction.h> | ||||
#include <qactiongroup.h> | ||||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qicon.h> | ||||
#include <qlist.h> | ||||
#include <qobject.h> | ||||
florianlink
|
r24 | class PythonQtShell_QActionGroup : public QActionGroup | ||
{ | ||||
public: | ||||
PythonQtShell_QActionGroup(QObject* parent):QActionGroup(parent),_wrapper(NULL) {}; | ||||
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); | ||||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QActionGroup : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QActionGroup* new_QActionGroup(QObject* parent); | ||||
void delete_QActionGroup(QActionGroup* obj) { delete obj; } | ||||
florianlink
|
r28 | QAction* checkedAction(QActionGroup* theWrappedObject) const; | ||
florianlink
|
r24 | QAction* addAction(QActionGroup* theWrappedObject, QAction* a); | ||
QAction* addAction(QActionGroup* theWrappedObject, const QString& text); | ||||
bool isEnabled(QActionGroup* theWrappedObject) const; | ||||
florianlink
|
r73 | bool isExclusive(QActionGroup* theWrappedObject) const; | ||
bool isVisible(QActionGroup* theWrappedObject) const; | ||||
florianlink
|
r28 | QList<QAction* > actions(QActionGroup* theWrappedObject) const; | ||
florianlink
|
r73 | QAction* addAction(QActionGroup* theWrappedObject, const QIcon& icon, const QString& text); | ||
void removeAction(QActionGroup* theWrappedObject, QAction* a); | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QACTIONGROUP_H | ||||