##// 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:

r24:f543ed746063
r34:5daedfb035c8
Show More
PythonQtWrapper_QContextMenuEvent.h
43 lines | 2.0 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QContextMenuEvent.h
#ifndef PYTHONQTWRAPPER_QCONTEXTMENUEVENT_H
#define PYTHONQTWRAPPER_QCONTEXTMENUEVENT_H
#include <qevent.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qpoint.h>
class PythonQtShell_QContextMenuEvent : public QContextMenuEvent
{
public:
PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos):QContextMenuEvent(reason, pos),_wrapper(NULL) {};
PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos):QContextMenuEvent(reason, pos, globalPos),_wrapper(NULL) {};
PythonQtShell_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers):QContextMenuEvent(reason, pos, globalPos, modifiers),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QContextMenuEvent : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Reason )
enum Reason{
Mouse = QContextMenuEvent::Mouse, Keyboard = QContextMenuEvent::Keyboard, Other = QContextMenuEvent::Other};
public slots:
QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos);
QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos);
QContextMenuEvent* new_QContextMenuEvent(QContextMenuEvent::Reason reason, const QPoint& pos, const QPoint& globalPos, Qt::KeyboardModifiers modifiers);
void delete_QContextMenuEvent(QContextMenuEvent* obj) { delete obj; }
const QPoint& globalPos(QContextMenuEvent* theWrappedObject) const;
int globalX(QContextMenuEvent* theWrappedObject) const;
int globalY(QContextMenuEvent* theWrappedObject) const;
int y(QContextMenuEvent* theWrappedObject) const;
QContextMenuEvent::Reason reason(QContextMenuEvent* theWrappedObject) const;
int x(QContextMenuEvent* theWrappedObject) const;
const QPoint& pos(QContextMenuEvent* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QCONTEXTMENUEVENT_H