##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

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