NAME
Qt::Gui::QGraphicsItem
PUBLIC METHODS
- QGraphicsItem(QGraphicsItem * parent, QGraphicsScene * scene)
- QGraphicsItem(QGraphicsItem * parent, QGraphicsScene * scene = 0)
- QGraphicsItem(QGraphicsItem * parent = 0, QGraphicsScene * scene = 0)
- ~QGraphicsItem()
- bool acceptDrops()
- bool acceptHoverEvents()
- bool acceptTouchEvents()
- QFlags<Qt::MouseButton> acceptedMouseButtons()
- bool acceptsHoverEvents()
- void advance(int phase)
- QRectF boundingRect()
- QRegion boundingRegion(const QTransform & itemToDeviceTransform)
- qreal boundingRegionGranularity()
- QGraphicsItem::CacheMode cacheMode()
- QRectF childrenBoundingRect()
- void clearFocus()
- QPainterPath clipPath()
- bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode)
- bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape)
- bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode)
- bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape)
- QGraphicsItem * commonAncestorItem(const QGraphicsItem * other)
- bool contains(const QPointF & point)
- QCursor cursor()
- QVariant data(int key)
- QTransform deviceTransform(const QTransform & viewportTransform)
- qreal effectiveOpacity()
- void ensureVisible(const QRectF & rect, int xmargin, int ymargin)
- void ensureVisible(const QRectF & rect, int xmargin, int ymargin = 50)
- void ensureVisible(const QRectF & rect, int xmargin = 50, int ymargin = 50)
- void ensureVisible(const QRectF & rect = QRectF(), int xmargin = 50, int ymargin = 50)
- void ensureVisible(qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin)
- void ensureVisible(qreal x, qreal y, qreal w, qreal h, int xmargin, int ymargin = 50)
- void ensureVisible(qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50)
- bool filtersChildEvents()
- QFlags<QGraphicsItem::GraphicsItemFlag> flags()
- QGraphicsItem * focusItem()
- QGraphicsItem * focusProxy()
- QGraphicsItem * focusScopeItem()
- void grabKeyboard()
- void grabMouse()
- QGraphicsEffect * graphicsEffect()
- QGraphicsItemGroup * group()
- bool handlesChildEvents()
- bool hasCursor()
- bool hasFocus()
- void hide()
- QFlags<Qt::InputMethodHint> inputMethodHints()
- void installSceneEventFilter(QGraphicsItem * filterItem)
- bool isActive()
- bool isAncestorOf(const QGraphicsItem * child)
- bool isBlockedByModalPanel(QGraphicsItem ** blockingPanel)
- bool isBlockedByModalPanel(QGraphicsItem ** blockingPanel = 0)
- bool isClipped()
- bool isEnabled()
- bool isObscured()
- bool isObscured(const QRectF & rect)
- bool isObscured(qreal x, qreal y, qreal w, qreal h)
- bool isObscuredBy(const QGraphicsItem * item)
- bool isPanel()
- bool isSelected()
- bool isUnderMouse()
- bool isVisible()
- bool isVisibleTo(const QGraphicsItem * parent)
- bool isWidget()
- bool isWindow()
- QTransform itemTransform(const QGraphicsItem * other, bool * ok)
- QTransform itemTransform(const QGraphicsItem * other, bool * ok = 0)
- QPointF mapFromItem(const QGraphicsItem * item, const QPointF & point)
- QPolygonF mapFromItem(const QGraphicsItem * item, const QRectF & rect)
- QPolygonF mapFromItem(const QGraphicsItem * item, const QPolygonF & polygon)
- QPainterPath mapFromItem(const QGraphicsItem * item, const QPainterPath & path)
- QPointF mapFromItem(const QGraphicsItem * item, qreal x, qreal y)
- QPolygonF mapFromItem(const QGraphicsItem * item, qreal x, qreal y, qreal w, qreal h)
- QPointF mapFromParent(const QPointF & point)
- QPolygonF mapFromParent(const QRectF & rect)
- QPolygonF mapFromParent(const QPolygonF & polygon)
- QPainterPath mapFromParent(const QPainterPath & path)
- QPointF mapFromParent(qreal x, qreal y)
- QPolygonF mapFromParent(qreal x, qreal y, qreal w, qreal h)
- QPointF mapFromScene(const QPointF & point)
- QPolygonF mapFromScene(const QRectF & rect)
- QPolygonF mapFromScene(const QPolygonF & polygon)
- QPainterPath mapFromScene(const QPainterPath & path)
- QPointF mapFromScene(qreal x, qreal y)
- QPolygonF mapFromScene(qreal x, qreal y, qreal w, qreal h)
- QRectF mapRectFromItem(const QGraphicsItem * item, const QRectF & rect)
- QRectF mapRectFromItem(const QGraphicsItem * item, qreal x, qreal y, qreal w, qreal h)
- QRectF mapRectFromParent(const QRectF & rect)
- QRectF mapRectFromParent(qreal x, qreal y, qreal w, qreal h)
- QRectF mapRectFromScene(const QRectF & rect)
- QRectF mapRectFromScene(qreal x, qreal y, qreal w, qreal h)
- QRectF mapRectToItem(const QGraphicsItem * item, const QRectF & rect)
- QRectF mapRectToItem(const QGraphicsItem * item, qreal x, qreal y, qreal w, qreal h)
- QRectF mapRectToParent(const QRectF & rect)
- QRectF mapRectToParent(qreal x, qreal y, qreal w, qreal h)
- QRectF mapRectToScene(const QRectF & rect)
- QRectF mapRectToScene(qreal x, qreal y, qreal w, qreal h)
- QPointF mapToItem(const QGraphicsItem * item, const QPointF & point)
- QPolygonF mapToItem(const QGraphicsItem * item, const QRectF & rect)
- QPolygonF mapToItem(const QGraphicsItem * item, const QPolygonF & polygon)
- QPainterPath mapToItem(const QGraphicsItem * item, const QPainterPath & path)
- QPointF mapToItem(const QGraphicsItem * item, qreal x, qreal y)
- QPolygonF mapToItem(const QGraphicsItem * item, qreal x, qreal y, qreal w, qreal h)
- QPointF mapToParent(const QPointF & point)
- QPolygonF mapToParent(const QRectF & rect)
- QPolygonF mapToParent(const QPolygonF & polygon)
- QPainterPath mapToParent(const QPainterPath & path)
- QPointF mapToParent(qreal x, qreal y)
- QPolygonF mapToParent(qreal x, qreal y, qreal w, qreal h)
- QPointF mapToScene(const QPointF & point)
- QPolygonF mapToScene(const QRectF & rect)
- QPolygonF mapToScene(const QPolygonF & polygon)
- QPainterPath mapToScene(const QPainterPath & path)
- QPointF mapToScene(qreal x, qreal y)
- QPolygonF mapToScene(qreal x, qreal y, qreal w, qreal h)
- QMatrix matrix()
- void moveBy(qreal dx, qreal dy)
- qreal opacity()
- QPainterPath opaqueArea()
- void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget)
- void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0)
- QGraphicsItem * panel()
- QGraphicsItem::PanelModality panelModality()
- QGraphicsItem * parentItem()
- QGraphicsObject * parentObject()
- QGraphicsWidget * parentWidget()
- QPointF pos()
- void removeSceneEventFilter(QGraphicsItem * filterItem)
- void resetMatrix()
- void resetTransform()
- void rotate(qreal angle)
- qreal rotation()
- qreal scale()
- void scale(qreal sx, qreal sy)
- QGraphicsScene * scene()
- QRectF sceneBoundingRect()
- QMatrix sceneMatrix()
- QPointF scenePos()
- QTransform sceneTransform()
- void scroll(qreal dx, qreal dy, const QRectF & rect)
- void scroll(qreal dx, qreal dy, const QRectF & rect = QRectF())
- void setAcceptDrops(bool on)
- void setAcceptHoverEvents(bool enabled)
- void setAcceptTouchEvents(bool enabled)
- void setAcceptsHoverEvents(bool enabled)
- void setActive(bool active)
- void setBoundingRegionGranularity(qreal granularity)
- void setCacheMode(QGraphicsItem::CacheMode mode, const QSize & cacheSize)
- void setCacheMode(QGraphicsItem::CacheMode mode, const QSize & cacheSize = QSize())
- void setCursor(const QCursor & cursor)
- void setData(int key, const QVariant & value)
- void setEnabled(bool enabled)
- void setFiltersChildEvents(bool enabled)
- void setFlag(QGraphicsItem::GraphicsItemFlag flag, bool enabled)
- void setFlag(QGraphicsItem::GraphicsItemFlag flag, bool enabled = true)
- void setFlags(QFlags<QGraphicsItem::GraphicsItemFlag> flags)
- void setFocus(Qt::FocusReason focusReason)
- void setFocus(Qt::FocusReason focusReason = Qt::OtherFocusReason)
- void setFocusProxy(QGraphicsItem * item)
- void setGraphicsEffect(QGraphicsEffect * effect)
- void setGroup(QGraphicsItemGroup * group)
- void setHandlesChildEvents(bool enabled)
- void setInputMethodHints(QFlags<Qt::InputMethodHint> hints)
- void setMatrix(const QMatrix & matrix, bool combine)
- void setMatrix(const QMatrix & matrix, bool combine = false)
- void setOpacity(qreal opacity)
- void setPanelModality(QGraphicsItem::PanelModality panelModality)
- void setParentItem(QGraphicsItem * parent)
- void setPos(const QPointF & pos)
- void setPos(qreal x, qreal y)
- void setRotation(qreal angle)
- void setScale(qreal scale)
- void setSelected(bool selected)
- void setToolTip(const QString & toolTip)
- void setTransform(const QTransform & matrix, bool combine)
- void setTransform(const QTransform & matrix, bool combine = false)
- void setTransformOriginPoint(const QPointF & origin)
- void setTransformOriginPoint(qreal ax, qreal ay)
- void setVisible(bool visible)
- void setX(qreal x)
- void setY(qreal y)
- void setZValue(qreal z)
- QPainterPath shape()
- void shear(qreal sh, qreal sv)
- void show()
- void stackBefore(const QGraphicsItem * sibling)
- QGraphicsObject * toGraphicsObject()
- const QGraphicsObject * toGraphicsObject()
- QString toolTip()
- QGraphicsItem * topLevelItem()
- QGraphicsWidget * topLevelWidget()
- QTransform transform()
- QPointF transformOriginPoint()
- void translate(qreal dx, qreal dy)
- int type()
- void ungrabKeyboard()
- void ungrabMouse()
- void unsetCursor()
- void update(const QRectF & rect)
- void update(const QRectF & rect = QRectF())
- void update(qreal x, qreal y, qreal width, qreal height)
- QGraphicsWidget * window()
- qreal x()
- qreal y()
- qreal zValue()
ENUM VALUES
- ItemIsMovable
- ItemIsSelectable
- ItemIsFocusable
- ItemClipsToShape
- ItemClipsChildrenToShape
- ItemIgnoresTransformations
- ItemIgnoresParentOpacity
- ItemDoesntPropagateOpacityToChildren
- ItemStacksBehindParent
- ItemUsesExtendedStyleOption
- ItemHasNoContents
- ItemSendsGeometryChanges
- ItemAcceptsInputMethod
- ItemNegativeZStacksBehindParent
- ItemIsPanel
- ItemIsFocusScope
- ItemSendsScenePositionChanges
- ItemStopsClickFocusPropagation
- ItemPositionChange
- ItemMatrixChange
- ItemVisibleChange
- ItemEnabledChange
- ItemSelectedChange
- ItemParentChange
- ItemChildAddedChange
- ItemChildRemovedChange
- ItemTransformChange
- ItemPositionHasChanged
- ItemTransformHasChanged
- ItemSceneChange
- ItemVisibleHasChanged
- ItemEnabledHasChanged
- ItemSelectedHasChanged
- ItemParentHasChanged
- ItemSceneHasChanged
- ItemCursorChange
- ItemCursorHasChanged
- ItemToolTipChange
- ItemToolTipHasChanged
- ItemFlagsChange
- ItemFlagsHaveChanged
- ItemZValueChange
- ItemZValueHasChanged
- ItemOpacityChange
- ItemOpacityHasChanged
- ItemScenePositionHasChanged
- ItemRotationChange
- ItemRotationHasChanged
- ItemScaleChange
- ItemScaleHasChanged
- ItemTransformOriginPointChange
- ItemTransformOriginPointHasChanged
- NoCache
- ItemCoordinateCache
- DeviceCoordinateCache
- NonModal
- PanelModal
- SceneModal
- Type
- UserType
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2011 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.