##// 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_QGraphicsWidget.h
221 lines | 13.8 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QGraphicsWidget.h
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QGRAPHICSWIDGET_H
#define PYTHONQTWRAPPER_QGRAPHICSWIDGET_H
#include <qgraphicswidget.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 <qbytearray.h>
#include <qcoreevent.h>
#include <qcursor.h>
#include <qevent.h>
#include <qfont.h>
#include <qgraphicsitem.h>
#include <qgraphicslayout.h>
#include <qgraphicslayoutitem.h>
#include <qgraphicsscene.h>
#include <qgraphicssceneevent.h>
#include <qgraphicswidget.h>
#include <qlist.h>
#include <qobject.h>
#include <qpainter.h>
#include <qpainterpath.h>
#include <qpalette.h>
#include <qpoint.h>
#include <qpolygon.h>
#include <qrect.h>
#include <qregion.h>
#include <qsize.h>
#include <qsizepolicy.h>
#include <qstyle.h>
#include <qstyleoption.h>
#include <qtransform.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_QGraphicsWidget : public QGraphicsWidget
{
public:
PythonQtShell_QGraphicsWidget(QGraphicsItem* parent = 0, Qt::WindowFlags wFlags = 0):QGraphicsWidget(parent, wFlags),_wrapper(NULL) {};
virtual void advance(int phase);
virtual QRectF boundingRect() const;
virtual void changeEvent(QEvent* event);
virtual void childEvent(QChildEvent* arg__1);
virtual void closeEvent(QCloseEvent* event);
virtual bool collidesWithItem(const QGraphicsItem* other, Qt::ItemSelectionMode mode) const;
virtual bool collidesWithPath(const QPainterPath& path, Qt::ItemSelectionMode mode) const;
virtual bool contains(const QPointF& point) const;
virtual void contextMenuEvent(QGraphicsSceneContextMenuEvent* event);
virtual void customEvent(QEvent* arg__1);
virtual void dragEnterEvent(QGraphicsSceneDragDropEvent* event);
virtual void dragLeaveEvent(QGraphicsSceneDragDropEvent* event);
virtual void dragMoveEvent(QGraphicsSceneDragDropEvent* event);
virtual void dropEvent(QGraphicsSceneDragDropEvent* event);
virtual bool event(QEvent* event);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual QVariant extension(const QVariant& variant) const;
virtual void focusInEvent(QFocusEvent* event);
virtual bool focusNextPrevChild(bool next);
virtual void focusOutEvent(QFocusEvent* event);
virtual void getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const;
virtual void grabKeyboardEvent(QEvent* event);
virtual void grabMouseEvent(QEvent* event);
virtual void hideEvent(QHideEvent* event);
virtual void hoverEnterEvent(QGraphicsSceneHoverEvent* event);
virtual void hoverLeaveEvent(QGraphicsSceneHoverEvent* event);
virtual void hoverMoveEvent(QGraphicsSceneHoverEvent* event);
virtual void initStyleOption(QStyleOption* option) const;
virtual void inputMethodEvent(QInputMethodEvent* event);
virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const;
virtual bool isObscuredBy(const QGraphicsItem* item) const;
virtual QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value);
virtual void keyPressEvent(QKeyEvent* event);
virtual void keyReleaseEvent(QKeyEvent* event);
virtual void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event);
virtual void mouseMoveEvent(QGraphicsSceneMouseEvent* event);
virtual void mousePressEvent(QGraphicsSceneMouseEvent* event);
virtual void mouseReleaseEvent(QGraphicsSceneMouseEvent* event);
virtual void moveEvent(QGraphicsSceneMoveEvent* event);
virtual QPainterPath opaqueArea() const;
virtual void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0);
virtual void paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0);
virtual void polishEvent();
virtual QVariant propertyChange(const QString& propertyName, const QVariant& value);
virtual void resizeEvent(QGraphicsSceneResizeEvent* event);
virtual bool sceneEvent(QEvent* event);
virtual bool sceneEventFilter(QGraphicsItem* watched, QEvent* event);
virtual void setExtension(QGraphicsItem::Extension extension, const QVariant& variant);
virtual void setGeometry(const QRectF& rect);
virtual QPainterPath shape() const;
virtual void showEvent(QShowEvent* event);
virtual QSizeF sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const;
virtual bool supportsExtension(QGraphicsItem::Extension extension) const;
virtual void timerEvent(QTimerEvent* arg__1);
virtual int type() const;
virtual void ungrabKeyboardEvent(QEvent* event);
virtual void ungrabMouseEvent(QEvent* event);
virtual void updateGeometry();
virtual void wheelEvent(QGraphicsSceneWheelEvent* event);
virtual bool windowFrameEvent(QEvent* e);
virtual Qt::WindowFrameSection windowFrameSectionAt(const QPointF& pos) const;
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QGraphicsWidget : public QGraphicsWidget
{ public:
florianlink
upgraded wrappers to current generator version...
r28 inline void promoted_polishEvent() { QGraphicsWidget::polishEvent(); }
inline void promoted_getContentsMargins(qreal* left, qreal* top, qreal* right, qreal* bottom) const { QGraphicsWidget::getContentsMargins(left, top, right, bottom); }
inline bool promoted_focusNextPrevChild(bool next) { return QGraphicsWidget::focusNextPrevChild(next); }
inline QVariant promoted_propertyChange(const QString& propertyName, const QVariant& value) { return QGraphicsWidget::propertyChange(propertyName, value); }
inline bool promoted_windowFrameEvent(QEvent* e) { return QGraphicsWidget::windowFrameEvent(e); }
inline void promoted_ungrabKeyboardEvent(QEvent* event) { QGraphicsWidget::ungrabKeyboardEvent(event); }
inline void promoted_grabKeyboardEvent(QEvent* event) { QGraphicsWidget::grabKeyboardEvent(event); }
inline void promoted_resizeEvent(QGraphicsSceneResizeEvent* event) { QGraphicsWidget::resizeEvent(event); }
inline void promoted_showEvent(QShowEvent* event) { QGraphicsWidget::showEvent(event); }
inline int promoted_type() const { return QGraphicsWidget::type(); }
inline bool promoted_sceneEvent(QEvent* event) { return QGraphicsWidget::sceneEvent(event); }
inline void promoted_ungrabMouseEvent(QEvent* event) { QGraphicsWidget::ungrabMouseEvent(event); }
inline Qt::WindowFrameSection promoted_windowFrameSectionAt(const QPointF& pos) const { return QGraphicsWidget::windowFrameSectionAt(pos); }
inline void promoted_hideEvent(QHideEvent* event) { QGraphicsWidget::hideEvent(event); }
inline void promoted_moveEvent(QGraphicsSceneMoveEvent* event) { QGraphicsWidget::moveEvent(event); }
inline QRectF promoted_boundingRect() const { return QGraphicsWidget::boundingRect(); }
inline void promoted_grabMouseEvent(QEvent* event) { QGraphicsWidget::grabMouseEvent(event); }
inline void promoted_closeEvent(QCloseEvent* event) { QGraphicsWidget::closeEvent(event); }
inline void promoted_hoverMoveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsWidget::hoverMoveEvent(event); }
inline void promoted_hoverLeaveEvent(QGraphicsSceneHoverEvent* event) { QGraphicsWidget::hoverLeaveEvent(event); }
inline void promoted_changeEvent(QEvent* event) { QGraphicsWidget::changeEvent(event); }
inline void promoted_initStyleOption(QStyleOption* option) const { QGraphicsWidget::initStyleOption(option); }
inline bool promoted_event(QEvent* event) { return QGraphicsWidget::event(event); }
inline void promoted_focusInEvent(QFocusEvent* event) { QGraphicsWidget::focusInEvent(event); }
inline void promoted_paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0) { QGraphicsWidget::paint(painter, option, widget); }
inline QSizeF promoted_sizeHint(Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const { return QGraphicsWidget::sizeHint(which, constraint); }
inline QVariant promoted_itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant& value) { return QGraphicsWidget::itemChange(change, value); }
inline void promoted_focusOutEvent(QFocusEvent* event) { QGraphicsWidget::focusOutEvent(event); }
inline QPainterPath promoted_shape() const { return QGraphicsWidget::shape(); }
inline void promoted_paintWindowFrame(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0) { QGraphicsWidget::paintWindowFrame(painter, option, widget); }
inline void promoted_updateGeometry() { QGraphicsWidget::updateGeometry(); }
inline void promoted_setGeometry(const QRectF& rect) { QGraphicsWidget::setGeometry(rect); }
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_QGraphicsWidget : public QObject
{ Q_OBJECT
public:
Q_ENUMS(enum_1 )
enum enum_1{
Type = QGraphicsWidget::Type};
public slots:
QGraphicsWidget* new_QGraphicsWidget(QGraphicsItem* parent = 0, Qt::WindowFlags wFlags = 0);
void delete_QGraphicsWidget(QGraphicsWidget* obj) { delete obj; }
florianlink
upgraded wrappers to current generator version...
r28 void setGeometry(QGraphicsWidget* theWrappedObject, qreal x, qreal y, qreal w, qreal h);
void polishEvent(QGraphicsWidget* theWrappedObject);
QGraphicsLayout* layout(QGraphicsWidget* theWrappedObject) const;
void getContentsMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setWindowTitle(QGraphicsWidget* theWrappedObject, const QString& title);
florianlink
upgraded wrappers to current generator version...
r28 bool focusNextPrevChild(QGraphicsWidget* theWrappedObject, bool next);
QRectF windowFrameRect(QGraphicsWidget* theWrappedObject) const;
QVariant propertyChange(QGraphicsWidget* theWrappedObject, const QString& propertyName, const QVariant& value);
QPalette palette(QGraphicsWidget* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool windowFrameEvent(QGraphicsWidget* theWrappedObject, QEvent* e);
florianlink
upgraded wrappers to current generator version...
r28 void ungrabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event);
void setStyle(QGraphicsWidget* theWrappedObject, QStyle* style);
Qt::LayoutDirection layoutDirection(QGraphicsWidget* theWrappedObject) const;
void grabKeyboardEvent(QGraphicsWidget* theWrappedObject, QEvent* event);
void resizeEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneResizeEvent* event);
void setLayout(QGraphicsWidget* theWrappedObject, QGraphicsLayout* layout);
QFont font(QGraphicsWidget* theWrappedObject) const;
void setFocusPolicy(QGraphicsWidget* theWrappedObject, Qt::FocusPolicy policy);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void static_QGraphicsWidget_setTabOrder(QGraphicsWidget* first, QGraphicsWidget* second);
florianlink
upgraded wrappers to current generator version...
r28 bool testAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute) const;
void getWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal* left, qreal* top, qreal* right, qreal* bottom) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void showEvent(QGraphicsWidget* theWrappedObject, QShowEvent* event);
void unsetWindowFrameMargins(QGraphicsWidget* theWrappedObject);
florianlink
upgraded wrappers to current generator version...
r28 int type(QGraphicsWidget* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void resize(QGraphicsWidget* theWrappedObject, qreal w, qreal h);
florianlink
upgraded wrappers to current generator version...
r28 bool sceneEvent(QGraphicsWidget* theWrappedObject, QEvent* event);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void ungrabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event);
florianlink
upgraded wrappers to current generator version...
r28 Qt::WindowFrameSection windowFrameSectionAt(QGraphicsWidget* theWrappedObject, const QPointF& pos) const;
void hideEvent(QGraphicsWidget* theWrappedObject, QHideEvent* event);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void setPalette(QGraphicsWidget* theWrappedObject, const QPalette& palette);
florianlink
upgraded wrappers to current generator version...
r28 void moveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneMoveEvent* event);
void setWindowFrameMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QRectF boundingRect(QGraphicsWidget* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 Qt::WindowType windowType(QGraphicsWidget* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void grabMouseEvent(QGraphicsWidget* theWrappedObject, QEvent* event);
florianlink
upgraded wrappers to current generator version...
r28 void closeEvent(QGraphicsWidget* theWrappedObject, QCloseEvent* event);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void hoverMoveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event);
florianlink
upgraded wrappers to current generator version...
r28 void unsetLayoutDirection(QGraphicsWidget* theWrappedObject);
Qt::WindowFlags windowFlags(QGraphicsWidget* theWrappedObject) const;
void hoverLeaveEvent(QGraphicsWidget* theWrappedObject, QGraphicsSceneHoverEvent* event);
void changeEvent(QGraphicsWidget* theWrappedObject, QEvent* event);
QRectF rect(QGraphicsWidget* theWrappedObject) const;
Qt::FocusPolicy focusPolicy(QGraphicsWidget* theWrappedObject) const;
void initStyleOption(QGraphicsWidget* theWrappedObject, QStyleOption* option) const;
void setAttribute(QGraphicsWidget* theWrappedObject, Qt::WidgetAttribute attribute, bool on = true);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool event(QGraphicsWidget* theWrappedObject, QEvent* event);
florianlink
upgraded wrappers to current generator version...
r28 QGraphicsWidget* focusWidget(QGraphicsWidget* theWrappedObject) const;
void setWindowFlags(QGraphicsWidget* theWrappedObject, Qt::WindowFlags wFlags);
QString windowTitle(QGraphicsWidget* theWrappedObject) const;
void focusInEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event);
void adjustSize(QGraphicsWidget* theWrappedObject);
QRectF windowFrameGeometry(QGraphicsWidget* theWrappedObject) const;
void paint(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QStyle* style(QGraphicsWidget* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void resize(QGraphicsWidget* theWrappedObject, const QSizeF& size);
QSizeF size(QGraphicsWidget* theWrappedObject) const;
QSizeF sizeHint(QGraphicsWidget* theWrappedObject, Qt::SizeHint which, const QSizeF& constraint = QSizeF()) const;
void setFont(QGraphicsWidget* theWrappedObject, const QFont& font);
void setContentsMargins(QGraphicsWidget* theWrappedObject, qreal left, qreal top, qreal right, qreal bottom);
QVariant itemChange(QGraphicsWidget* theWrappedObject, QGraphicsItem::GraphicsItemChange change, const QVariant& value);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void focusOutEvent(QGraphicsWidget* theWrappedObject, QFocusEvent* event);
florianlink
upgraded wrappers to current generator version...
r28 bool isActiveWindow(QGraphicsWidget* theWrappedObject) const;
QPainterPath shape(QGraphicsWidget* theWrappedObject) const;
void setLayoutDirection(QGraphicsWidget* theWrappedObject, Qt::LayoutDirection direction);
void paintWindowFrame(QGraphicsWidget* theWrappedObject, QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = 0);
void updateGeometry(QGraphicsWidget* theWrappedObject);
void setGeometry(QGraphicsWidget* theWrappedObject, const QRectF& rect);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QGRAPHICSWIDGET_H