API reference - Class QGraphicsSceneNotation used in Ruby API documentation Description: Binding of QGraphicsScene Class hierarchy: QGraphicsScene » QObject Sub-classes: ItemIndexMethod, SceneLayer
Public constructors
Public methods
Public static methods and constants
Protected methods (static, non-static and constructors)
Deprecated methods (protected, public, static, non-static and constructors)
Detailed description[static,const] new QGraphicsScene_SceneLayer ptr AllLayersDescription: Enum constant QGraphicsScene::AllLayers [static,const] new QGraphicsScene_SceneLayer ptr BackgroundLayerDescription: Enum constant QGraphicsScene::BackgroundLayer [static,const] new QGraphicsScene_ItemIndexMethod ptr BspTreeIndexDescription: Enum constant QGraphicsScene::BspTreeIndex [static,const] new QGraphicsScene_SceneLayer ptr ForegroundLayerDescription: Enum constant QGraphicsScene::ForegroundLayer [static,const] new QGraphicsScene_SceneLayer ptr ItemLayerDescription: Enum constant QGraphicsScene::ItemLayer [static,const] new QGraphicsScene_ItemIndexMethod ptr NoIndexDescription: Enum constant QGraphicsScene::NoIndex void _createDescription: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. void _destroyDescription: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. [const] bool _destroyed?Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. [const] bool _is_const_object?Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. void _manageDescription: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. void _unmanageDescription: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. [const] QGraphicsItem ptr activePanelDescription: Method QGraphicsItem *QGraphicsScene::activePanel() Python specific notes:The object exposes a readable attribute 'activePanel'. This is the getter. void activePanel=(QGraphicsItem ptr item)Description: Method void QGraphicsScene::setActivePanel(QGraphicsItem *item) Python specific notes:The object exposes a writable attribute 'activePanel'. This is the setter. [const] QGraphicsWidget ptr activeWindowDescription: Method QGraphicsWidget *QGraphicsScene::activeWindow() Python specific notes:The object exposes a readable attribute 'activeWindow'. This is the getter. void activeWindow=(QGraphicsWidget ptr widget)Description: Method void QGraphicsScene::setActiveWindow(QGraphicsWidget *widget) Python specific notes:The object exposes a writable attribute 'activeWindow'. This is the setter. QGraphicsEllipseItem ptr addEllipse(const QRectF rect,const QPen pen = QPen(),const QBrush brush = QBrush())Description: Method QGraphicsEllipseItem *QGraphicsScene::addEllipse(const QRectF &rect, const QPen &pen, const QBrush &brush) QGraphicsEllipseItem ptr addEllipse(double x,double y,double w,double h,const QPen pen = QPen(),const QBrush brush = QBrush())Description: Method QGraphicsEllipseItem *QGraphicsScene::addEllipse(double x, double y, double w, double h, const QPen &pen, const QBrush &brush) void addItem(QGraphicsItem ptr item)Description: Method void QGraphicsScene::addItem(QGraphicsItem *item) QGraphicsLineItem ptr addLine(const QLineF line,const QPen pen = QPen())Description: Method QGraphicsLineItem *QGraphicsScene::addLine(const QLineF &line, const QPen &pen) QGraphicsLineItem ptr addLine(double x1,double y1,double x2,double y2,const QPen pen = QPen())Description: Method QGraphicsLineItem *QGraphicsScene::addLine(double x1, double y1, double x2, double y2, const QPen &pen) QGraphicsPathItem ptr addPath(const QPainterPath path,const QPen pen = QPen(),const QBrush brush = QBrush())Description: Method QGraphicsPathItem *QGraphicsScene::addPath(const QPainterPath &path, const QPen &pen, const QBrush &brush) QGraphicsPixmapItem ptr addPixmap(const QPixmap pixmap)Description: Method QGraphicsPixmapItem *QGraphicsScene::addPixmap(const QPixmap &pixmap) QGraphicsPolygonItem ptr addPolygon(const QPolygonF polygon,const QPen pen = QPen(),const QBrush brush = QBrush())Description: Method QGraphicsPolygonItem *QGraphicsScene::addPolygon(const QPolygonF &polygon, const QPen &pen, const QBrush &brush) QGraphicsRectItem ptr addRect(const QRectF rect,const QPen pen = QPen(),const QBrush brush = QBrush())Description: Method QGraphicsRectItem *QGraphicsScene::addRect(const QRectF &rect, const QPen &pen, const QBrush &brush) QGraphicsRectItem ptr addRect(double x,double y,double w,double h,const QPen pen = QPen(),const QBrush brush = QBrush())Description: Method QGraphicsRectItem *QGraphicsScene::addRect(double x, double y, double w, double h, const QPen &pen, const QBrush &brush) QGraphicsSimpleTextItem ptr addSimpleText(string text,const QFont font = QFont())Description: Method QGraphicsSimpleTextItem *QGraphicsScene::addSimpleText(const QString &text, const QFont &font) QGraphicsTextItem ptr addText(string text,const QFont font = QFont())Description: Method QGraphicsTextItem *QGraphicsScene::addText(const QString &text, const QFont &font) QGraphicsProxyWidget ptr addWidget(QWidget ptr widget,const Qt_QFlags_WindowType wFlags = 0)Description: Method QGraphicsProxyWidget *QGraphicsScene::addWidget(QWidget *widget, QFlags<Qt::WindowType> wFlags) void advanceDescription: Method void QGraphicsScene::advance() [const] QBrush backgroundBrushDescription: Method QBrush QGraphicsScene::backgroundBrush() Python specific notes:The object exposes a readable attribute 'backgroundBrush'. This is the getter. void backgroundBrush=(const QBrush brush)Description: Method void QGraphicsScene::setBackgroundBrush(const QBrush &brush) Python specific notes:The object exposes a writable attribute 'backgroundBrush'. This is the setter. [const] int bspTreeDepthDescription: Method int QGraphicsScene::bspTreeDepth() Python specific notes:The object exposes a readable attribute 'bspTreeDepth'. This is the getter. void bspTreeDepth=(int depth)Description: Method void QGraphicsScene::setBspTreeDepth(int depth) Python specific notes:The object exposes a writable attribute 'bspTreeDepth'. This is the setter. [event] void changed(QRectF[] region)Description: Signal declaration for QGraphicsScene::changed(const QList<QRectF> ®ion) You can bind a procedure to this signal. [virtual] void childEvent(QChildEvent ptr arg1)Description: Virtual method void QGraphicsScene::childEvent(QChildEvent *) This method can be reimplemented in a derived class. void clearDescription: Method void QGraphicsScene::clear() void clearFocusDescription: Method void QGraphicsScene::clearFocus() void clearSelectionDescription: Method void QGraphicsScene::clearSelection() [const] QGraphicsItem ptr[] collidingItems(const QGraphicsItem ptr item,const Qt_ItemSelectionMode mode = Qt::IntersectsItemShape)Description: Method QList<QGraphicsItem *> QGraphicsScene::collidingItems(const QGraphicsItem *item, Qt::ItemSelectionMode mode) [virtual] void contextMenuEvent(QGraphicsSceneContextMenuEvent ptr event)Description: Virtual method void QGraphicsScene::contextMenuEvent(QGraphicsSceneContextMenuEvent *event) This method can be reimplemented in a derived class. void createDescription: Ensures the C++ object is created Use of this method is deprecated. Use _create instead QGraphicsItemGroup ptr createItemGroup(QGraphicsItem ptr[] items)Description: Method QGraphicsItemGroup *QGraphicsScene::createItemGroup(const QList<QGraphicsItem *> &items) [virtual] void customEvent(QEvent ptr arg1)Description: Virtual method void QGraphicsScene::customEvent(QEvent *) This method can be reimplemented in a derived class. void destroyDescription: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead void destroyItemGroup(QGraphicsItemGroup ptr group)Description: Method void QGraphicsScene::destroyItemGroup(QGraphicsItemGroup *group) [event] void destroyed(QObject ptr arg1)Description: Signal declaration for QGraphicsScene::destroyed(QObject *) You can bind a procedure to this signal. [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead [virtual] void disconnectNotify(string signal)Description: Virtual method void QGraphicsScene::disconnectNotify(const char *signal) This method can be reimplemented in a derived class. [virtual] void dragEnterEvent(QGraphicsSceneDragDropEvent ptr event)Description: Virtual method void QGraphicsScene::dragEnterEvent(QGraphicsSceneDragDropEvent *event) This method can be reimplemented in a derived class. [virtual] void dragLeaveEvent(QGraphicsSceneDragDropEvent ptr event)Description: Virtual method void QGraphicsScene::dragLeaveEvent(QGraphicsSceneDragDropEvent *event) This method can be reimplemented in a derived class. [virtual] void dragMoveEvent(QGraphicsSceneDragDropEvent ptr event)Description: Virtual method void QGraphicsScene::dragMoveEvent(QGraphicsSceneDragDropEvent *event) This method can be reimplemented in a derived class. [virtual] void drawBackground(QPainter ptr painter,const QRectF rect)Description: Virtual method void QGraphicsScene::drawBackground(QPainter *painter, const QRectF &rect) This method can be reimplemented in a derived class. [virtual] void drawForeground(QPainter ptr painter,const QRectF rect)Description: Virtual method void QGraphicsScene::drawForeground(QPainter *painter, const QRectF &rect) This method can be reimplemented in a derived class. [virtual] void dropEvent(QGraphicsSceneDragDropEvent ptr event)Description: Virtual method void QGraphicsScene::dropEvent(QGraphicsSceneDragDropEvent *event) This method can be reimplemented in a derived class. [virtual] bool event(QEvent ptr event)Description: Virtual method bool QGraphicsScene::event(QEvent *event) This method can be reimplemented in a derived class. [virtual] bool eventFilter(QObject ptr watched,QEvent ptr event)Description: Virtual method bool QGraphicsScene::eventFilter(QObject *watched, QEvent *event) This method can be reimplemented in a derived class. [virtual] void focusInEvent(QFocusEvent ptr event)Description: Virtual method void QGraphicsScene::focusInEvent(QFocusEvent *event) This method can be reimplemented in a derived class. [const] QGraphicsItem ptr focusItemDescription: Method QGraphicsItem *QGraphicsScene::focusItem() Python specific notes:The object exposes a readable attribute 'focusItem'. This is the getter. bool focusNextPrevChild(bool next)Description: Method bool QGraphicsScene::focusNextPrevChild(bool next) This method is protected and can only be called from inside a derived class. [virtual] void focusOutEvent(QFocusEvent ptr event)Description: Virtual method void QGraphicsScene::focusOutEvent(QFocusEvent *event) This method can be reimplemented in a derived class. [const] QFont fontDescription: Method QFont QGraphicsScene::font() Python specific notes:The object exposes a readable attribute 'font'. This is the getter. void font=(const QFont font)Description: Method void QGraphicsScene::setFont(const QFont &font) Python specific notes:The object exposes a writable attribute 'font'. This is the setter. [const] QBrush foregroundBrushDescription: Method QBrush QGraphicsScene::foregroundBrush() Python specific notes:The object exposes a readable attribute 'foregroundBrush'. This is the getter. void foregroundBrush=(const QBrush brush)Description: Method void QGraphicsScene::setForegroundBrush(const QBrush &brush) Python specific notes:The object exposes a writable attribute 'foregroundBrush'. This is the setter. [const] bool hasFocusDescription: Method bool QGraphicsScene::hasFocus() [const] double heightDescription: Method double QGraphicsScene::height() [virtual] void helpEvent(QGraphicsSceneHelpEvent ptr event)Description: Virtual method void QGraphicsScene::helpEvent(QGraphicsSceneHelpEvent *event) This method can be reimplemented in a derived class. [virtual] void inputMethodEvent(QInputMethodEvent ptr event)Description: Virtual method void QGraphicsScene::inputMethodEvent(QInputMethodEvent *event) This method can be reimplemented in a derived class. [virtual,const] QVariant inputMethodQuery(const Qt_InputMethodQuery query)Description: Virtual method QVariant QGraphicsScene::inputMethodQuery(Qt::InputMethodQuery query) This method can be reimplemented in a derived class. void invalidate(double x,double y,double w,double h,const QGraphicsScene_QFlags_SceneLayer layers = QGraphicsScene::AllLayers)Description: Method void QGraphicsScene::invalidate(double x, double y, double w, double h, QFlags<QGraphicsScene::SceneLayer> layers) void invalidate(const QRectF rect = QRectF(),const QGraphicsScene_QFlags_SceneLayer layers = QGraphicsScene::AllLayers)Description: Method void QGraphicsScene::invalidate(const QRectF &rect, QFlags<QGraphicsScene::SceneLayer> layers) [const] bool isActive?Description: Method bool QGraphicsScene::isActive() [const] bool isSortCacheEnabled?Description: Method bool QGraphicsScene::isSortCacheEnabled() Python specific notes:The object exposes a readable attribute 'sortCacheEnabled'. This is the getter. [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead [const] QGraphicsItem ptr itemAt(const QPointF pos)Description: Method QGraphicsItem *QGraphicsScene::itemAt(const QPointF &pos) [const] QGraphicsItem ptr itemAt(const QPointF pos,const QTransform deviceTransform)Description: Method QGraphicsItem *QGraphicsScene::itemAt(const QPointF &pos, const QTransform &deviceTransform) [const] QGraphicsItem ptr itemAt(double x,double y)Description: Method QGraphicsItem *QGraphicsScene::itemAt(double x, double y) [const] QGraphicsItem ptr itemAt(double x,double y,const QTransform deviceTransform)Description: Method QGraphicsItem *QGraphicsScene::itemAt(double x, double y, const QTransform &deviceTransform) [const] QGraphicsScene_ItemIndexMethod itemIndexMethodDescription: Method QGraphicsScene::ItemIndexMethod QGraphicsScene::itemIndexMethod() Python specific notes:The object exposes a readable attribute 'itemIndexMethod'. This is the getter. void itemIndexMethod=(const QGraphicsScene_ItemIndexMethod method)Description: Method void QGraphicsScene::setItemIndexMethod(QGraphicsScene::ItemIndexMethod method) Python specific notes:The object exposes a writable attribute 'itemIndexMethod'. This is the setter. [const] QGraphicsItem ptr[] itemsDescription: Method QList<QGraphicsItem *> QGraphicsScene::items() [const] QGraphicsItem ptr[] items(const Qt_SortOrder order)Description: Method QList<QGraphicsItem *> QGraphicsScene::items(Qt::SortOrder order) [const] QGraphicsItem ptr[] items(const QPointF pos,const Qt_ItemSelectionMode mode,const Qt_SortOrder order,const QTransform deviceTransform = QTransform())Description: Method QList<QGraphicsItem *> QGraphicsScene::items(const QPointF &pos, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform &deviceTransform) [const] QGraphicsItem ptr[] items(const QRectF rect,const Qt_ItemSelectionMode mode,const Qt_SortOrder order,const QTransform deviceTransform = QTransform())Description: Method QList<QGraphicsItem *> QGraphicsScene::items(const QRectF &rect, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform &deviceTransform) [const] QGraphicsItem ptr[] items(const QPolygonF polygon,const Qt_ItemSelectionMode mode,const Qt_SortOrder order,const QTransform deviceTransform = QTransform())Description: Method QList<QGraphicsItem *> QGraphicsScene::items(const QPolygonF &polygon, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform &deviceTransform) [const] QGraphicsItem ptr[] items(const QPainterPath path,const Qt_ItemSelectionMode mode,const Qt_SortOrder order,const QTransform deviceTransform = QTransform())Description: Method QList<QGraphicsItem *> QGraphicsScene::items(const QPainterPath &path, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform &deviceTransform) [const] QGraphicsItem ptr[] items(const QPointF pos)Description: Method QList<QGraphicsItem *> QGraphicsScene::items(const QPointF &pos) [const] QGraphicsItem ptr[] items(const QRectF rect,const Qt_ItemSelectionMode mode = Qt::IntersectsItemShape)Description: Method QList<QGraphicsItem *> QGraphicsScene::items(const QRectF &rect, Qt::ItemSelectionMode mode) [const] QGraphicsItem ptr[] items(const QPolygonF polygon,const Qt_ItemSelectionMode mode = Qt::IntersectsItemShape)Description: Method QList<QGraphicsItem *> QGraphicsScene::items(const QPolygonF &polygon, Qt::ItemSelectionMode mode) [const] QGraphicsItem ptr[] items(const QPainterPath path,const Qt_ItemSelectionMode mode = Qt::IntersectsItemShape)Description: Method QList<QGraphicsItem *> QGraphicsScene::items(const QPainterPath &path, Qt::ItemSelectionMode mode) [const] QGraphicsItem ptr[] items(double x,double y,double w,double h,const Qt_ItemSelectionMode mode = Qt::IntersectsItemShape)Description: Method QList<QGraphicsItem *> QGraphicsScene::items(double x, double y, double w, double h, Qt::ItemSelectionMode mode) [const] QGraphicsItem ptr[] items(double x,double y,double w,double h,const Qt_ItemSelectionMode mode,const Qt_SortOrder order,const QTransform deviceTransform = QTransform())Description: Method QList<QGraphicsItem *> QGraphicsScene::items(double x, double y, double w, double h, Qt::ItemSelectionMode mode, Qt::SortOrder order, const QTransform &deviceTransform) [const] QRectF itemsBoundingRectDescription: Method QRectF QGraphicsScene::itemsBoundingRect() [virtual] void keyPressEvent(QKeyEvent ptr event)Description: Virtual method void QGraphicsScene::keyPressEvent(QKeyEvent *event) This method can be reimplemented in a derived class. [virtual] void keyReleaseEvent(QKeyEvent ptr event)Description: Virtual method void QGraphicsScene::keyReleaseEvent(QKeyEvent *event) This method can be reimplemented in a derived class. [virtual] void mouseDoubleClickEvent(QGraphicsSceneMouseEvent ptr event)Description: Virtual method void QGraphicsScene::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event) This method can be reimplemented in a derived class. [const] QGraphicsItem ptr mouseGrabberItemDescription: Method QGraphicsItem *QGraphicsScene::mouseGrabberItem() [virtual] void mouseMoveEvent(QGraphicsSceneMouseEvent ptr event)Description: Virtual method void QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent *event) This method can be reimplemented in a derived class. [virtual] void mousePressEvent(QGraphicsSceneMouseEvent ptr event)Description: Virtual method void QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent *event) This method can be reimplemented in a derived class. [virtual] void mouseReleaseEvent(QGraphicsSceneMouseEvent ptr event)Description: Virtual method void QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) This method can be reimplemented in a derived class. [static] new QGraphicsScene new(QObject ptr parent = 0)Description: Constructor QGraphicsScene::QGraphicsScene(QObject *parent) This method creates an object of class QGraphicsScene. Python specific notes:This method is the default initializer of the object [static] new QGraphicsScene new(const QRectF sceneRect,QObject ptr parent = 0)Description: Constructor QGraphicsScene::QGraphicsScene(const QRectF &sceneRect, QObject *parent) This method creates an object of class QGraphicsScene. Python specific notes:This method is the default initializer of the object [static] new QGraphicsScene new(double x,double y,double width,double height,QObject ptr parent = 0)Description: Constructor QGraphicsScene::QGraphicsScene(double x, double y, double width, double height, QObject *parent) This method creates an object of class QGraphicsScene. Python specific notes:This method is the default initializer of the object [const] QPalette paletteDescription: Method QPalette QGraphicsScene::palette() Python specific notes:The object exposes a readable attribute 'palette'. This is the getter. void palette=(const QPalette palette)Description: Method void QGraphicsScene::setPalette(const QPalette &palette) Python specific notes:The object exposes a writable attribute 'palette'. This is the setter. [const] int receivers(string signal)Description: Method int QGraphicsScene::receivers(const char *signal) This method is protected and can only be called from inside a derived class. void removeItem(QGraphicsItem ptr item)Description: Method void QGraphicsScene::removeItem(QGraphicsItem *item) void render(QPainter ptr painter,const QRectF target = QRectF(),const QRectF source = QRectF(),const Qt_AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio)Description: Method void QGraphicsScene::render(QPainter *painter, const QRectF &target, const QRectF &source, Qt::AspectRatioMode aspectRatioMode) [const] QRectF sceneRectDescription: Method QRectF QGraphicsScene::sceneRect() Python specific notes:The object exposes a readable attribute 'sceneRect'. This is the getter. void sceneRect=(const QRectF rect)Description: Method void QGraphicsScene::setSceneRect(const QRectF &rect) Python specific notes:The object exposes a writable attribute 'sceneRect'. This is the setter. [event] void sceneRectChanged(const QRectF rect)Description: Signal declaration for QGraphicsScene::sceneRectChanged(const QRectF &rect) You can bind a procedure to this signal. [const] QGraphicsItem ptr[] selectedItemsDescription: Method QList<QGraphicsItem *> QGraphicsScene::selectedItems() [const] QPainterPath selectionAreaDescription: Method QPainterPath QGraphicsScene::selectionArea() Python specific notes:The object exposes a readable attribute 'selectionArea'. This is the getter. void selectionArea=(const QPainterPath path)Description: Method void QGraphicsScene::setSelectionArea(const QPainterPath &path) Python specific notes:The object exposes a writable attribute 'selectionArea'. This is the setter. [event] void selectionChangedDescription: Signal declaration for QGraphicsScene::selectionChanged() You can bind a procedure to this signal. bool sendEvent(QGraphicsItem ptr item,QEvent ptr event)Description: Method bool QGraphicsScene::sendEvent(QGraphicsItem *item, QEvent *event) [const] QObject ptr senderDescription: Method QObject *QGraphicsScene::sender() This method is protected and can only be called from inside a derived class. void setActivePanel(QGraphicsItem ptr item)Description: Method void QGraphicsScene::setActivePanel(QGraphicsItem *item) Python specific notes:The object exposes a writable attribute 'activePanel'. This is the setter. void setActiveWindow(QGraphicsWidget ptr widget)Description: Method void QGraphicsScene::setActiveWindow(QGraphicsWidget *widget) Python specific notes:The object exposes a writable attribute 'activeWindow'. This is the setter. void setBackgroundBrush(const QBrush brush)Description: Method void QGraphicsScene::setBackgroundBrush(const QBrush &brush) Python specific notes:The object exposes a writable attribute 'backgroundBrush'. This is the setter. void setBspTreeDepth(int depth)Description: Method void QGraphicsScene::setBspTreeDepth(int depth) Python specific notes:The object exposes a writable attribute 'bspTreeDepth'. This is the setter. void setFocus(const Qt_FocusReason focusReason = Qt::OtherFocusReason)Description: Method void QGraphicsScene::setFocus(Qt::FocusReason focusReason) void setFocusItem(QGraphicsItem ptr item,const Qt_FocusReason focusReason = Qt::OtherFocusReason)Description: Method void QGraphicsScene::setFocusItem(QGraphicsItem *item, Qt::FocusReason focusReason) void setFont(const QFont font)Description: Method void QGraphicsScene::setFont(const QFont &font) Python specific notes:The object exposes a writable attribute 'font'. This is the setter. void setForegroundBrush(const QBrush brush)Description: Method void QGraphicsScene::setForegroundBrush(const QBrush &brush) Python specific notes:The object exposes a writable attribute 'foregroundBrush'. This is the setter. void setItemIndexMethod(const QGraphicsScene_ItemIndexMethod method)Description: Method void QGraphicsScene::setItemIndexMethod(QGraphicsScene::ItemIndexMethod method) Python specific notes:The object exposes a writable attribute 'itemIndexMethod'. This is the setter. void setPalette(const QPalette palette)Description: Method void QGraphicsScene::setPalette(const QPalette &palette) Python specific notes:The object exposes a writable attribute 'palette'. This is the setter. void setSceneRect(const QRectF rect)Description: Method void QGraphicsScene::setSceneRect(const QRectF &rect) Python specific notes:The object exposes a writable attribute 'sceneRect'. This is the setter. void setSceneRect(double x,double y,double w,double h)Description: Method void QGraphicsScene::setSceneRect(double x, double y, double w, double h) void setSelectionArea(const QPainterPath path)Description: Method void QGraphicsScene::setSelectionArea(const QPainterPath &path) Python specific notes:The object exposes a writable attribute 'selectionArea'. This is the setter. void setSelectionArea(const QPainterPath path,const QTransform deviceTransform)Description: Method void QGraphicsScene::setSelectionArea(const QPainterPath &path, const QTransform &deviceTransform) void setSelectionArea(const QPainterPath path,const Qt_ItemSelectionMode mode)Description: Method void QGraphicsScene::setSelectionArea(const QPainterPath &path, Qt::ItemSelectionMode mode) void setSelectionArea(const QPainterPath path,const Qt_ItemSelectionMode mode,const QTransform deviceTransform)Description: Method void QGraphicsScene::setSelectionArea(const QPainterPath &path, Qt::ItemSelectionMode mode, const QTransform &deviceTransform) void setSortCacheEnabled(bool enabled)Description: Method void QGraphicsScene::setSortCacheEnabled(bool enabled) Python specific notes:The object exposes a writable attribute 'sortCacheEnabled'. This is the setter. void setStickyFocus(bool enabled)Description: Method void QGraphicsScene::setStickyFocus(bool enabled) Python specific notes:The object exposes a writable attribute 'stickyFocus'. This is the setter. void setStyle(QStyle ptr style)Description: Method void QGraphicsScene::setStyle(QStyle *style) Python specific notes:The object exposes a writable attribute 'style'. This is the setter. [const] bool sortCacheEnabledDescription: Method bool QGraphicsScene::isSortCacheEnabled() Python specific notes:The object exposes a readable attribute 'sortCacheEnabled'. This is the getter. void sortCacheEnabled=(bool enabled)Description: Method void QGraphicsScene::setSortCacheEnabled(bool enabled) Python specific notes:The object exposes a writable attribute 'sortCacheEnabled'. This is the setter. [static] QMetaObject staticMetaObjectDescription: Obtains the static MetaObject for this class. [const] bool stickyFocusDescription: Method bool QGraphicsScene::stickyFocus() Python specific notes:The object exposes a readable attribute 'stickyFocus'. This is the getter. void stickyFocus=(bool enabled)Description: Method void QGraphicsScene::setStickyFocus(bool enabled) Python specific notes:The object exposes a writable attribute 'stickyFocus'. This is the setter. [const] QStyle ptr styleDescription: Method QStyle *QGraphicsScene::style() Python specific notes:The object exposes a readable attribute 'style'. This is the getter. void style=(QStyle ptr style)Description: Method void QGraphicsScene::setStyle(QStyle *style) Python specific notes:The object exposes a writable attribute 'style'. This is the setter. [virtual] void timerEvent(QTimerEvent ptr arg1)Description: Virtual method void QGraphicsScene::timerEvent(QTimerEvent *) This method can be reimplemented in a derived class. [static] string tr(string s,string c = 0)Description: Static method QString QGraphicsScene::tr(const char *s, const char *c) This method is static and can be called without an instance. [static] string tr(string s,string c,int n)Description: Static method QString QGraphicsScene::tr(const char *s, const char *c, int n) This method is static and can be called without an instance. [static] string trUtf8(string s,string c = 0)Description: Static method QString QGraphicsScene::trUtf8(const char *s, const char *c) This method is static and can be called without an instance. [static] string trUtf8(string s,string c,int n)Description: Static method QString QGraphicsScene::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. void update(double x,double y,double w,double h)Description: Method void QGraphicsScene::update(double x, double y, double w, double h) void update(const QRectF rect = QRectF())Description: Method void QGraphicsScene::update(const QRectF &rect) [const] QGraphicsView ptr[] viewsDescription: Method QList<QGraphicsView *> QGraphicsScene::views() [virtual] void wheelEvent(QGraphicsSceneWheelEvent ptr event)Description: Virtual method void QGraphicsScene::wheelEvent(QGraphicsSceneWheelEvent *event) This method can be reimplemented in a derived class. [const] double widthDescription: Method double QGraphicsScene::width() |