##// END OF EJS Templates
added PyLauncher example...
added PyLauncher example added hadError() to scripting console added addSysPath() git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@50 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r14:59f352c6d9fb
Show More
PythonQtWrapper_QMenu.h
77 lines | 3.0 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QMENU_H
#define PYTHONQTWRAPPER_QMENU_H
#include <qmenu.h>
#include <QObject>
#include <QVariant>
#include <qaction.h>
#include <qbitmap.h>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qcursor.h>
#include <qevent.h>
#include <qfont.h>
#include <qicon.h>
#include <qinputcontext.h>
#include <qkeysequence.h>
#include <qlayout.h>
#include <qlist.h>
#include <qlocale.h>
#include <qmenu.h>
#include <qobject.h>
#include <qpaintdevice.h>
#include <qpaintengine.h>
#include <qpainter.h>
#include <qpalette.h>
#include <qpoint.h>
#include <qrect.h>
#include <qregion.h>
#include <qsize.h>
#include <qsizepolicy.h>
#include <qstyle.h>
#include <qstyleoption.h>
#include <qwidget.h>
class PythonQtWrapper_QMenu : public QObject
{ Q_OBJECT
public:
public slots:
QMenu* new_QMenu(QWidget* parent = 0);
QMenu* new_QMenu(const QString& title, QWidget* parent = 0);
void delete_QMenu(QMenu* obj) { delete obj; }
QAction* actionAt(QMenu* theWrappedObject, const QPoint& arg__1) const;
QRect actionGeometry(QMenu* theWrappedObject, QAction* arg__1) const;
QAction* activeAction(QMenu* theWrappedObject) const;
QAction* addAction(QMenu* theWrappedObject, const QIcon& icon, const QString& text);
QAction* addAction(QMenu* theWrappedObject, const QString& text);
QAction* addMenu(QMenu* theWrappedObject, QMenu* menu);
QMenu* addMenu(QMenu* theWrappedObject, const QIcon& icon, const QString& title);
QMenu* addMenu(QMenu* theWrappedObject, const QString& title);
QAction* addSeparator(QMenu* theWrappedObject);
void clear(QMenu* theWrappedObject);
QAction* defaultAction(QMenu* theWrappedObject) const;
QAction* exec(QMenu* theWrappedObject);
QAction* static_QMenu_exec(QList<QAction* > actions, const QPoint& pos, QAction* at = 0);
QAction* exec(QMenu* theWrappedObject, const QPoint& pos, QAction* at = 0);
void hideTearOffMenu(QMenu* theWrappedObject);
QIcon icon(QMenu* theWrappedObject) const;
QAction* insertMenu(QMenu* theWrappedObject, QAction* before, QMenu* menu);
QAction* insertSeparator(QMenu* theWrappedObject, QAction* before);
bool isEmpty(QMenu* theWrappedObject) const;
bool isTearOffEnabled(QMenu* theWrappedObject) const;
bool isTearOffMenuVisible(QMenu* theWrappedObject) const;
QAction* menuAction(QMenu* theWrappedObject) const;
void popup(QMenu* theWrappedObject, const QPoint& pos, QAction* at = 0);
bool separatorsCollapsible(QMenu* theWrappedObject) const;
void setActiveAction(QMenu* theWrappedObject, QAction* act);
void setDefaultAction(QMenu* theWrappedObject, QAction* arg__1);
void setIcon(QMenu* theWrappedObject, const QIcon& icon);
void setSeparatorsCollapsible(QMenu* theWrappedObject, bool collapse);
void setTearOffEnabled(QMenu* theWrappedObject, bool arg__1);
void setTitle(QMenu* theWrappedObject, const QString& title);
QSize sizeHint(QMenu* theWrappedObject) const;
QString title(QMenu* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QMENU_H