##// 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_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;
QAction* addAction(QActionGroup* theWrappedObject, QAction* a);
QAction* addAction(QActionGroup* theWrappedObject, const QString& text);
bool isEnabled(QActionGroup* theWrappedObject) const;
bool isExclusive(QActionGroup* theWrappedObject) const;
bool isVisible(QActionGroup* theWrappedObject) const;
QList<QAction* > actions(QActionGroup* theWrappedObject) const;
QAction* addAction(QActionGroup* theWrappedObject, const QIcon& icon, const QString& text);
void removeAction(QActionGroup* theWrappedObject, QAction* a);
};
#endif // PYTHONQTWRAPPER_QACTIONGROUP_H