API reference - Class QGraphicsEllipseItemNotation used in Ruby API documentation Description: Binding of QGraphicsEllipseItem Class hierarchy: QGraphicsEllipseItem » QAbstractGraphicsShapeItem » QGraphicsItem
Public constructors
Public methods
Protected methods (static, non-static and constructors)
Deprecated methods (protected, public, static, non-static and constructors)
Detailed descriptionvoid _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. void addToIndexDescription: Method void QGraphicsEllipseItem::addToIndex() This method is protected and can only be called from inside a derived class. [virtual] void advance(int phase)Description: Virtual method void QGraphicsEllipseItem::advance(int phase) This method can be reimplemented in a derived class. [virtual,const] QRectF boundingRectDescription: Virtual method QRectF QGraphicsEllipseItem::boundingRect() This method can be reimplemented in a derived class. [virtual,const] bool collidesWithItem(const QGraphicsItem ptr other,const Qt_ItemSelectionMode mode)Description: Virtual method bool QGraphicsEllipseItem::collidesWithItem(const QGraphicsItem *other, Qt::ItemSelectionMode mode) This method can be reimplemented in a derived class. [virtual,const] bool collidesWithPath(const QPainterPath path,const Qt_ItemSelectionMode mode)Description: Virtual method bool QGraphicsEllipseItem::collidesWithPath(const QPainterPath &path, Qt::ItemSelectionMode mode) This method can be reimplemented in a derived class. [virtual,const] bool contains(const QPointF point)Description: Virtual method bool QGraphicsEllipseItem::contains(const QPointF &point) This method can be reimplemented in a derived class. [virtual] void contextMenuEvent(QGraphicsSceneContextMenuEvent ptr event)Description: Virtual method void QGraphicsEllipseItem::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 void destroyDescription: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead [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 dragEnterEvent(QGraphicsSceneDragDropEvent ptr event)Description: Virtual method void QGraphicsEllipseItem::dragEnterEvent(QGraphicsSceneDragDropEvent *event) This method can be reimplemented in a derived class. [virtual] void dragLeaveEvent(QGraphicsSceneDragDropEvent ptr event)Description: Virtual method void QGraphicsEllipseItem::dragLeaveEvent(QGraphicsSceneDragDropEvent *event) This method can be reimplemented in a derived class. [virtual] void dragMoveEvent(QGraphicsSceneDragDropEvent ptr event)Description: Virtual method void QGraphicsEllipseItem::dragMoveEvent(QGraphicsSceneDragDropEvent *event) This method can be reimplemented in a derived class. [virtual] void dropEvent(QGraphicsSceneDragDropEvent ptr event)Description: Virtual method void QGraphicsEllipseItem::dropEvent(QGraphicsSceneDragDropEvent *event) This method can be reimplemented in a derived class. [virtual,const] QVariant extension(const QVariant variant)Description: Virtual method QVariant QGraphicsEllipseItem::extension(const QVariant &variant) This method can be reimplemented in a derived class. [virtual] void focusInEvent(QFocusEvent ptr event)Description: Virtual method void QGraphicsEllipseItem::focusInEvent(QFocusEvent *event) This method can be reimplemented in a derived class. [virtual] void focusOutEvent(QFocusEvent ptr event)Description: Virtual method void QGraphicsEllipseItem::focusOutEvent(QFocusEvent *event) This method can be reimplemented in a derived class. [virtual] void hoverEnterEvent(QGraphicsSceneHoverEvent ptr event)Description: Virtual method void QGraphicsEllipseItem::hoverEnterEvent(QGraphicsSceneHoverEvent *event) This method can be reimplemented in a derived class. [virtual] void hoverLeaveEvent(QGraphicsSceneHoverEvent ptr event)Description: Virtual method void QGraphicsEllipseItem::hoverLeaveEvent(QGraphicsSceneHoverEvent *event) This method can be reimplemented in a derived class. [virtual] void hoverMoveEvent(QGraphicsSceneHoverEvent ptr event)Description: Virtual method void QGraphicsEllipseItem::hoverMoveEvent(QGraphicsSceneHoverEvent *event) This method can be reimplemented in a derived class. [virtual] void inputMethodEvent(QInputMethodEvent ptr event)Description: Virtual method void QGraphicsEllipseItem::inputMethodEvent(QInputMethodEvent *event) This method can be reimplemented in a derived class. [virtual,const] QVariant inputMethodQuery(const Qt_InputMethodQuery query)Description: Virtual method QVariant QGraphicsEllipseItem::inputMethodQuery(Qt::InputMethodQuery query) This method can be reimplemented in a derived class. [virtual,const] bool isObscuredBy(const QGraphicsItem ptr item)Description: Virtual method bool QGraphicsEllipseItem::isObscuredBy(const QGraphicsItem *item) This method can be reimplemented in a derived class. [const] bool isObscuredBy?(const QGraphicsItem ptr item)Description: Method bool QGraphicsEllipseItem::isObscuredBy(const QGraphicsItem *item) This is a reimplementation of QAbstractGraphicsShapeItem::isObscuredBy [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 [virtual] QVariant itemChange(const QGraphicsItem_GraphicsItemChange change,const QVariant value)Description: Virtual method QVariant QGraphicsEllipseItem::itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant &value) This method can be reimplemented in a derived class. [virtual] void keyPressEvent(QKeyEvent ptr event)Description: Virtual method void QGraphicsEllipseItem::keyPressEvent(QKeyEvent *event) This method can be reimplemented in a derived class. [virtual] void keyReleaseEvent(QKeyEvent ptr event)Description: Virtual method void QGraphicsEllipseItem::keyReleaseEvent(QKeyEvent *event) This method can be reimplemented in a derived class. [virtual] void mouseDoubleClickEvent(QGraphicsSceneMouseEvent ptr event)Description: Virtual method void QGraphicsEllipseItem::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event) This method can be reimplemented in a derived class. [virtual] void mouseMoveEvent(QGraphicsSceneMouseEvent ptr event)Description: Virtual method void QGraphicsEllipseItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event) This method can be reimplemented in a derived class. [virtual] void mousePressEvent(QGraphicsSceneMouseEvent ptr event)Description: Virtual method void QGraphicsEllipseItem::mousePressEvent(QGraphicsSceneMouseEvent *event) This method can be reimplemented in a derived class. [virtual] void mouseReleaseEvent(QGraphicsSceneMouseEvent ptr event)Description: Virtual method void QGraphicsEllipseItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) This method can be reimplemented in a derived class. [static] new QGraphicsEllipseItem new(QGraphicsItem ptr parent = 0,QGraphicsScene ptr scene = 0)Description: Constructor QGraphicsEllipseItem::QGraphicsEllipseItem(QGraphicsItem *parent, QGraphicsScene *scene) This method creates an object of class QGraphicsEllipseItem. Python specific notes:This method is the default initializer of the object [static] new QGraphicsEllipseItem new(const QRectF rect,QGraphicsItem ptr parent = 0,QGraphicsScene ptr scene = 0)Description: Constructor QGraphicsEllipseItem::QGraphicsEllipseItem(const QRectF &rect, QGraphicsItem *parent, QGraphicsScene *scene) This method creates an object of class QGraphicsEllipseItem. Python specific notes:This method is the default initializer of the object [static] new QGraphicsEllipseItem new(double x,double y,double w,double h,QGraphicsItem ptr parent = 0,QGraphicsScene ptr scene = 0)Description: Constructor QGraphicsEllipseItem::QGraphicsEllipseItem(double x, double y, double w, double h, QGraphicsItem *parent, QGraphicsScene *scene) This method creates an object of class QGraphicsEllipseItem. Python specific notes:This method is the default initializer of the object [virtual,const] QPainterPath opaqueAreaDescription: Virtual method QPainterPath QGraphicsEllipseItem::opaqueArea() This method can be reimplemented in a derived class. [virtual] void paint(QPainter ptr painter,const QStyleOptionGraphicsItem ptr option,QWidget ptr widget)Description: Virtual method void QGraphicsEllipseItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) This method can be reimplemented in a derived class. void prepareGeometryChangeDescription: Method void QGraphicsEllipseItem::prepareGeometryChange() This method is protected and can only be called from inside a derived class. [const] QRectF rectDescription: Method QRectF QGraphicsEllipseItem::rect() Python specific notes:The object exposes a readable attribute 'rect'. This is the getter. void rect=(const QRectF rect)Description: Method void QGraphicsEllipseItem::setRect(const QRectF &rect) Python specific notes:The object exposes a writable attribute 'rect'. This is the setter. void removeFromIndexDescription: Method void QGraphicsEllipseItem::removeFromIndex() This method is protected and can only be called from inside a derived class. [virtual] bool sceneEvent(QEvent ptr event)Description: Virtual method bool QGraphicsEllipseItem::sceneEvent(QEvent *event) This method can be reimplemented in a derived class. [virtual] bool sceneEventFilter(QGraphicsItem ptr watched,QEvent ptr event)Description: Virtual method bool QGraphicsEllipseItem::sceneEventFilter(QGraphicsItem *watched, QEvent *event) This method can be reimplemented in a derived class. [virtual] void setExtension(unsigned int extension,const QVariant variant)Description: Virtual method void QGraphicsEllipseItem::setExtension(QGraphicsItem::Extension extension, const QVariant &variant) This method can be reimplemented in a derived class. void setRect(const QRectF rect)Description: Method void QGraphicsEllipseItem::setRect(const QRectF &rect) Python specific notes:The object exposes a writable attribute 'rect'. This is the setter. void setRect(double x,double y,double w,double h)Description: Method void QGraphicsEllipseItem::setRect(double x, double y, double w, double h) void setSpanAngle(int angle)Description: Method void QGraphicsEllipseItem::setSpanAngle(int angle) Python specific notes:The object exposes a writable attribute 'spanAngle'. This is the setter. void setStartAngle(int angle)Description: Method void QGraphicsEllipseItem::setStartAngle(int angle) Python specific notes:The object exposes a writable attribute 'startAngle'. This is the setter. [virtual,const] QPainterPath shapeDescription: Virtual method QPainterPath QGraphicsEllipseItem::shape() This method can be reimplemented in a derived class. [const] int spanAngleDescription: Method int QGraphicsEllipseItem::spanAngle() Python specific notes:The object exposes a readable attribute 'spanAngle'. This is the getter. void spanAngle=(int angle)Description: Method void QGraphicsEllipseItem::setSpanAngle(int angle) Python specific notes:The object exposes a writable attribute 'spanAngle'. This is the setter. [const] int startAngleDescription: Method int QGraphicsEllipseItem::startAngle() Python specific notes:The object exposes a readable attribute 'startAngle'. This is the getter. void startAngle=(int angle)Description: Method void QGraphicsEllipseItem::setStartAngle(int angle) Python specific notes:The object exposes a writable attribute 'startAngle'. This is the setter. [virtual,const] bool supportsExtension(unsigned int extension)Description: Virtual method bool QGraphicsEllipseItem::supportsExtension(QGraphicsItem::Extension extension) This method can be reimplemented in a derived class. [virtual,const] int typeDescription: Virtual method int QGraphicsEllipseItem::type() This method can be reimplemented in a derived class. [virtual] void wheelEvent(QGraphicsSceneWheelEvent ptr event)Description: Virtual method void QGraphicsEllipseItem::wheelEvent(QGraphicsSceneWheelEvent *event) This method can be reimplemented in a derived class. |