##// 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_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 setToolTip(QAction* theWrappedObject, const QString& tip);
QIcon icon(QAction* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 Qt::ShortcutContext shortcutContext(QAction* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setData(QAction* theWrappedObject, const QVariant& var);
QFont font(QAction* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool isEnabled(QAction* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QKeySequence shortcut(QAction* theWrappedObject) const;
void setFont(QAction* theWrappedObject, const QFont& font);
QMenu* menu(QAction* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool autoRepeat(QAction* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 bool showStatusText(QAction* theWrappedObject, QWidget* widget = 0);
QString whatsThis(QAction* theWrappedObject) const;
bool isVisible(QAction* theWrappedObject) const;
QAction::MenuRole menuRole(QAction* theWrappedObject) const;
QString text(QAction* theWrappedObject) const;
void setWhatsThis(QAction* theWrappedObject, const QString& what);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setActionGroup(QAction* theWrappedObject, QActionGroup* group);
florianlink
upgraded wrappers to current generator version...
r28 void setCheckable(QAction* theWrappedObject, bool arg__1);
void setText(QAction* theWrappedObject, const QString& text);
bool isChecked(QAction* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void setShortcuts(QAction* theWrappedObject, QKeySequence::StandardKey arg__1);
florianlink
upgraded wrappers to current generator version...
r28 void setIconText(QAction* theWrappedObject, const QString& text);
QList<QKeySequence > shortcuts(QAction* theWrappedObject) const;
void setShortcuts(QAction* theWrappedObject, const QList<QKeySequence >& shortcuts);
void setShortcut(QAction* theWrappedObject, const QKeySequence& shortcut);
QString toolTip(QAction* theWrappedObject) const;
QString statusTip(QAction* theWrappedObject) const;
QActionGroup* actionGroup(QAction* theWrappedObject) const;
void setMenu(QAction* theWrappedObject, QMenu* menu);
void setMenuRole(QAction* theWrappedObject, QAction::MenuRole menuRole);
QString iconText(QAction* theWrappedObject) const;
void setAutoRepeat(QAction* theWrappedObject, bool arg__1);
bool isCheckable(QAction* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setShortcutContext(QAction* theWrappedObject, Qt::ShortcutContext context);
florianlink
upgraded wrappers to current generator version...
r28 void setIconVisibleInMenu(QAction* theWrappedObject, bool visible);
void activate(QAction* theWrappedObject, QAction::ActionEvent event);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool event(QAction* theWrappedObject, QEvent* arg__1);
QList<QWidget* > associatedWidgets(QAction* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setStatusTip(QAction* theWrappedObject, const QString& statusTip);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool isIconVisibleInMenu(QAction* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QVariant data(QAction* theWrappedObject) const;
bool isSeparator(QAction* theWrappedObject) const;
QWidget* parentWidget(QAction* theWrappedObject) const;
void setSeparator(QAction* theWrappedObject, bool b);
void setIcon(QAction* theWrappedObject, const QIcon& icon);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QACTION_H