##// 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_QAction.h
101 lines | 4.4 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QACTION_H
#define PYTHONQTWRAPPER_QACTION_H
#include <qaction.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 <QVariant>
#include <qaction.h>
#include <qactiongroup.h>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qfont.h>
#include <qicon.h>
#include <qkeysequence.h>
#include <qlist.h>
#include <qmenu.h>
#include <qobject.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_QAction : public QAction
{
public:
PythonQtShell_QAction(QObject* parent):QAction(parent),_wrapper(NULL) {};
PythonQtShell_QAction(const QIcon& icon, const QString& text, QObject* parent):QAction(icon, text, parent),_wrapper(NULL) {};
PythonQtShell_QAction(const QString& text, QObject* parent):QAction(text, 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 PythonQtPublicPromoter_QAction : public QAction
{ public:
florianlink
upgraded wrappers to current generator version...
r28 inline bool promoted_event(QEvent* arg__1) { return QAction::event(arg__1); }
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_QAction : public QObject
{ Q_OBJECT
public:
Q_ENUMS(ActionEvent )
enum ActionEvent{
Trigger = QAction::Trigger, Hover = QAction::Hover};
public slots:
QAction* new_QAction(QObject* parent);
QAction* new_QAction(const QIcon& icon, const QString& text, QObject* parent);
QAction* new_QAction(const QString& text, QObject* parent);
void delete_QAction(QAction* obj) { delete obj; }
florianlink
upgraded wrappers to current generator version...
r28 void setData(QAction* theWrappedObject, const QVariant& var);
florianlink
recreated wrappers to match current python qt version...
r73 QIcon icon(QAction* theWrappedObject) const;
void setShortcuts(QAction* theWrappedObject, const QList<QKeySequence >& shortcuts);
florianlink
upgraded wrappers to current generator version...
r28 QString whatsThis(QAction* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 void setIconText(QAction* theWrappedObject, const QString& text);
florianlink
upgraded wrappers to current generator version...
r28 bool isVisible(QAction* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 void setSeparator(QAction* theWrappedObject, bool b);
bool isEnabled(QAction* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setText(QAction* theWrappedObject, const QString& text);
QList<QKeySequence > shortcuts(QAction* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 QWidget* parentWidget(QAction* theWrappedObject) const;
void setWhatsThis(QAction* theWrappedObject, const QString& what);
void setIconVisibleInMenu(QAction* theWrappedObject, bool visible);
florianlink
upgraded wrappers to current generator version...
r28 QActionGroup* actionGroup(QAction* theWrappedObject) const;
void setMenuRole(QAction* theWrappedObject, QAction::MenuRole menuRole);
florianlink
recreated wrappers to match current python qt version...
r73 QString statusTip(QAction* theWrappedObject) const;
void setShortcutContext(QAction* theWrappedObject, Qt::ShortcutContext context);
florianlink
upgraded wrappers to current generator version...
r28 QString iconText(QAction* theWrappedObject) const;
void setAutoRepeat(QAction* theWrappedObject, bool arg__1);
florianlink
recreated wrappers to match current python qt version...
r73 bool isChecked(QAction* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setStatusTip(QAction* theWrappedObject, const QString& statusTip);
florianlink
recreated wrappers to match current python qt version...
r73 bool showStatusText(QAction* theWrappedObject, QWidget* widget = 0);
florianlink
upgraded wrappers to current generator version...
r28 QVariant data(QAction* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 void setFont(QAction* theWrappedObject, const QFont& font);
void setShortcuts(QAction* theWrappedObject, QKeySequence::StandardKey arg__1);
florianlink
upgraded wrappers to current generator version...
r28 bool isSeparator(QAction* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 bool autoRepeat(QAction* theWrappedObject) const;
void setActionGroup(QAction* theWrappedObject, QActionGroup* group);
QFont font(QAction* theWrappedObject) const;
void setToolTip(QAction* theWrappedObject, const QString& tip);
void setShortcut(QAction* theWrappedObject, const QKeySequence& shortcut);
void activate(QAction* theWrappedObject, QAction::ActionEvent event);
QAction::MenuRole menuRole(QAction* theWrappedObject) const;
bool event(QAction* theWrappedObject, QEvent* arg__1);
Qt::ShortcutContext shortcutContext(QAction* theWrappedObject) const;
void setMenu(QAction* theWrappedObject, QMenu* menu);
QString toolTip(QAction* theWrappedObject) const;
QKeySequence shortcut(QAction* theWrappedObject) const;
bool isCheckable(QAction* theWrappedObject) const;
QString text(QAction* theWrappedObject) const;
QList<QWidget* > associatedWidgets(QAction* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setIcon(QAction* theWrappedObject, const QIcon& icon);
florianlink
recreated wrappers to match current python qt version...
r73 QMenu* menu(QAction* theWrappedObject) const;
void setCheckable(QAction* theWrappedObject, bool arg__1);
bool isIconVisibleInMenu(QAction* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QACTION_H