PythonQtWrapper_QMenuBar.h
148 lines
| 6.8 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QMENUBAR_H | ||
#define PYTHONQTWRAPPER_QMENUBAR_H | ||||
#include <qmenubar.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #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 <qmenubar.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> | ||||
florianlink
|
r24 | class PythonQtShell_QMenuBar : public QMenuBar | ||
{ | ||||
public: | ||||
PythonQtShell_QMenuBar(QWidget* parent = 0):QMenuBar(parent),_wrapper(NULL) {}; | ||||
virtual void actionEvent(QActionEvent* arg__1); | ||||
virtual void changeEvent(QEvent* arg__1); | ||||
virtual void childEvent(QChildEvent* arg__1); | ||||
virtual void closeEvent(QCloseEvent* arg__1); | ||||
virtual void contextMenuEvent(QContextMenuEvent* arg__1); | ||||
virtual void customEvent(QEvent* arg__1); | ||||
virtual int devType() const; | ||||
virtual void dragEnterEvent(QDragEnterEvent* arg__1); | ||||
virtual void dragLeaveEvent(QDragLeaveEvent* arg__1); | ||||
virtual void dragMoveEvent(QDragMoveEvent* arg__1); | ||||
virtual void dropEvent(QDropEvent* arg__1); | ||||
virtual void enterEvent(QEvent* arg__1); | ||||
virtual bool event(QEvent* arg__1); | ||||
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2); | ||||
virtual void focusInEvent(QFocusEvent* arg__1); | ||||
virtual bool focusNextPrevChild(bool next); | ||||
virtual void focusOutEvent(QFocusEvent* arg__1); | ||||
virtual int heightForWidth(int arg__1) const; | ||||
virtual void hideEvent(QHideEvent* arg__1); | ||||
virtual void inputMethodEvent(QInputMethodEvent* arg__1); | ||||
virtual QVariant inputMethodQuery(Qt::InputMethodQuery arg__1) const; | ||||
virtual void keyPressEvent(QKeyEvent* arg__1); | ||||
virtual void keyReleaseEvent(QKeyEvent* arg__1); | ||||
virtual void languageChange(); | ||||
virtual void leaveEvent(QEvent* arg__1); | ||||
virtual int metric(QPaintDevice::PaintDeviceMetric arg__1) const; | ||||
virtual void mouseDoubleClickEvent(QMouseEvent* arg__1); | ||||
virtual void mouseMoveEvent(QMouseEvent* arg__1); | ||||
virtual void mousePressEvent(QMouseEvent* arg__1); | ||||
virtual void mouseReleaseEvent(QMouseEvent* arg__1); | ||||
virtual void moveEvent(QMoveEvent* arg__1); | ||||
virtual QPaintEngine* paintEngine() const; | ||||
virtual void paintEvent(QPaintEvent* arg__1); | ||||
virtual void resizeEvent(QResizeEvent* arg__1); | ||||
virtual void setVisible(bool visible); | ||||
virtual void showEvent(QShowEvent* arg__1); | ||||
virtual void tabletEvent(QTabletEvent* arg__1); | ||||
virtual void timerEvent(QTimerEvent* arg__1); | ||||
virtual void wheelEvent(QWheelEvent* arg__1); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
class PythonQtPublicPromoter_QMenuBar : public QMenuBar | ||||
{ public: | ||||
florianlink
|
r28 | inline void promoted_timerEvent(QTimerEvent* arg__1) { QMenuBar::timerEvent(arg__1); } | ||
florianlink
|
r73 | inline void promoted_mouseReleaseEvent(QMouseEvent* arg__1) { QMenuBar::mouseReleaseEvent(arg__1); } | ||
florianlink
|
r28 | inline void promoted_mouseMoveEvent(QMouseEvent* arg__1) { QMenuBar::mouseMoveEvent(arg__1); } | ||
inline int promoted_heightForWidth(int arg__1) const { return QMenuBar::heightForWidth(arg__1); } | ||||
florianlink
|
r73 | inline void promoted_setVisible(bool visible) { QMenuBar::setVisible(visible); } | ||
florianlink
|
r28 | inline void promoted_changeEvent(QEvent* arg__1) { QMenuBar::changeEvent(arg__1); } | ||
florianlink
|
r73 | inline void promoted_focusInEvent(QFocusEvent* arg__1) { QMenuBar::focusInEvent(arg__1); } | ||
inline void promoted_resizeEvent(QResizeEvent* arg__1) { QMenuBar::resizeEvent(arg__1); } | ||||
inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QMenuBar::eventFilter(arg__1, arg__2); } | ||||
inline void promoted_focusOutEvent(QFocusEvent* arg__1) { QMenuBar::focusOutEvent(arg__1); } | ||||
inline void promoted_actionEvent(QActionEvent* arg__1) { QMenuBar::actionEvent(arg__1); } | ||||
inline void promoted_keyPressEvent(QKeyEvent* arg__1) { QMenuBar::keyPressEvent(arg__1); } | ||||
inline void promoted_paintEvent(QPaintEvent* arg__1) { QMenuBar::paintEvent(arg__1); } | ||||
florianlink
|
r28 | inline bool promoted_event(QEvent* arg__1) { return QMenuBar::event(arg__1); } | ||
florianlink
|
r73 | inline void promoted_leaveEvent(QEvent* arg__1) { QMenuBar::leaveEvent(arg__1); } | ||
inline void promoted_mousePressEvent(QMouseEvent* arg__1) { QMenuBar::mousePressEvent(arg__1); } | ||||
florianlink
|
r24 | }; | ||
florianlink
|
r13 | class PythonQtWrapper_QMenuBar : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QMenuBar* new_QMenuBar(QWidget* parent = 0); | ||||
void delete_QMenuBar(QMenuBar* obj) { delete obj; } | ||||
florianlink
|
r73 | void timerEvent(QMenuBar* theWrappedObject, QTimerEvent* arg__1); | ||
void mouseReleaseEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1); | ||||
QMenu* addMenu(QMenuBar* theWrappedObject, const QString& title); | ||||
QAction* addSeparator(QMenuBar* theWrappedObject); | ||||
void mouseMoveEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1); | ||||
QSize sizeHint(QMenuBar* theWrappedObject) const; | ||||
void setActiveAction(QMenuBar* theWrappedObject, QAction* action); | ||||
int heightForWidth(QMenuBar* theWrappedObject, int arg__1) const; | ||||
QAction* insertSeparator(QMenuBar* theWrappedObject, QAction* before); | ||||
void setDefaultUp(QMenuBar* theWrappedObject, bool arg__1); | ||||
QAction* addMenu(QMenuBar* theWrappedObject, QMenu* menu); | ||||
void setCornerWidget(QMenuBar* theWrappedObject, QWidget* w, Qt::Corner corner = Qt::TopRightCorner); | ||||
void changeEvent(QMenuBar* theWrappedObject, QEvent* arg__1); | ||||
florianlink
|
r28 | QAction* actionAt(QMenuBar* theWrappedObject, const QPoint& arg__1) const; | ||
florianlink
|
r73 | QRect actionGeometry(QMenuBar* theWrappedObject, QAction* arg__1) const; | ||
QSize minimumSizeHint(QMenuBar* theWrappedObject) const; | ||||
florianlink
|
r28 | QMenu* addMenu(QMenuBar* theWrappedObject, const QIcon& icon, const QString& title); | ||
void focusInEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1); | ||||
florianlink
|
r73 | void resizeEvent(QMenuBar* theWrappedObject, QResizeEvent* arg__1); | ||
QAction* activeAction(QMenuBar* theWrappedObject) const; | ||||
florianlink
|
r28 | void clear(QMenuBar* theWrappedObject); | ||
florianlink
|
r73 | bool eventFilter(QMenuBar* theWrappedObject, QObject* arg__1, QEvent* arg__2); | ||
void focusOutEvent(QMenuBar* theWrappedObject, QFocusEvent* arg__1); | ||||
bool isDefaultUp(QMenuBar* theWrappedObject) const; | ||||
florianlink
|
r28 | QWidget* cornerWidget(QMenuBar* theWrappedObject, Qt::Corner corner = Qt::TopRightCorner) const; | ||
QAction* insertMenu(QMenuBar* theWrappedObject, QAction* before, QMenu* menu); | ||||
florianlink
|
r73 | QAction* addAction(QMenuBar* theWrappedObject, const QString& text); | ||
florianlink
|
r28 | void actionEvent(QMenuBar* theWrappedObject, QActionEvent* arg__1); | ||
void keyPressEvent(QMenuBar* theWrappedObject, QKeyEvent* arg__1); | ||||
florianlink
|
r73 | void paintEvent(QMenuBar* theWrappedObject, QPaintEvent* arg__1); | ||
florianlink
|
r24 | bool event(QMenuBar* theWrappedObject, QEvent* arg__1); | ||
florianlink
|
r73 | void leaveEvent(QMenuBar* theWrappedObject, QEvent* arg__1); | ||
void mousePressEvent(QMenuBar* theWrappedObject, QMouseEvent* arg__1); | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QMENUBAR_H | ||||