- All Implemented Interfaces:
QtObjectInterface
,QGraphicsItem
Ellipse item that you can add to a QGraphicsScene
Java wrapper for Qt class QGraphicsEllipseItem
- Since:
- This class was introduced in Qt 4.2.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.qt.widgets.QGraphicsItem
QGraphicsItem.BlockedByModalPanelInfo, QGraphicsItem.CacheMode, QGraphicsItem.Extension, QGraphicsItem.GraphicsItemChange, QGraphicsItem.GraphicsItemFlag, QGraphicsItem.GraphicsItemFlags, QGraphicsItem.PanelModality
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQGraphicsEllipseItem(io.qt.widgets.QGraphicsItem)
withparent = null
.QGraphicsEllipseItem
(double x, double y, double w, double h) Overloaded constructor forQGraphicsEllipseItem(double, double, double, double, io.qt.widgets.QGraphicsItem)
withparent = null
.QGraphicsEllipseItem
(double x, double y, double w, double h, QGraphicsItem parent) QGraphicsEllipseItem
(QRect rect) Overloaded constructor forQGraphicsEllipseItem(io.qt.core.QRect, io.qt.widgets.QGraphicsItem)
withparent = null
.QGraphicsEllipseItem
(QRectF rect) Overloaded constructor forQGraphicsEllipseItem(io.qt.core.QRectF, io.qt.widgets.QGraphicsItem)
withparent = null
.QGraphicsEllipseItem
(QRectF rect, QGraphicsItem parent) QGraphicsEllipseItem
(QRect rect, QGraphicsItem parent) Overloaded constructor forQGraphicsEllipseItem(io.qt.core.QRectF, io.qt.widgets.QGraphicsItem)
.QGraphicsEllipseItem
(QGraphicsItem parent) -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected Object
SeeQGraphicsItem::
extension(QVariant)const boolean
isObscuredBy
(QGraphicsItem item) void
paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) final QRectF
rect()
protected void
setExtension
(QGraphicsItem.Extension extension, Object variant) SeeQGraphicsItem::
setExtension(QGraphicsItem::Extension, QVariant) final void
setRect
(double x, double y, double w, double h) final void
Overloaded function forsetRect(io.qt.core.QRectF)
.final void
final void
setSpanAngle
(int angle) final void
setStartAngle
(int angle) shape()
final int
final int
protected boolean
supportsExtension
(QGraphicsItem.Extension extension) SeeQGraphicsItem::
supportsExtension(QGraphicsItem::Extension)const Methods inherited from class io.qt.widgets.QAbstractGraphicsShapeItem
acceptDrops, acceptedMouseButtons, acceptHoverEvents, acceptTouchEvents, addToIndex, advance, boundingRegion, boundingRegionGranularity, brush, cacheMode, childItems, childrenBoundingRect, clearFocus, clipPath, collidesWithItem, collidesWithItem, collidesWithPath, collidesWithPath, collidingItems, collidingItems, commonAncestorItem, contains, contextMenuEvent, cursor, data, deviceTransform, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, effectiveOpacity, ensureVisible, ensureVisible, ensureVisible, ensureVisible, ensureVisible, ensureVisible, ensureVisible, ensureVisible, ensureVisible, ensureVisible, filtersChildEvents, flags, focusInEvent, focusItem, focusOutEvent, focusProxy, focusScopeItem, grabKeyboard, grabMouse, graphicsEffect, group, handlesChildEvents, hasCursor, hasFocus, hide, hoverEnterEvent, hoverLeaveEvent, hoverMoveEvent, inputMethodEvent, inputMethodHints, inputMethodQuery, installSceneEventFilter, isActive, isAncestorOf, isBlockedByModalPanel, isClipped, isEnabled, isObscured, isObscured, isObscured, isObscured, isPanel, isSelected, isUnderMouse, isVisible, isVisibleTo, isWidget, isWindow, itemChange, itemTransform, keyPressEvent, keyReleaseEvent, mapFromItem, mapFromItem, mapFromItem, mapFromItem, mapFromItem, mapFromItem, mapFromItem, mapFromItem, mapFromParent, mapFromParent, mapFromParent, mapFromParent, mapFromParent, mapFromParent, mapFromParent, mapFromParent, mapFromScene, mapFromScene, mapFromScene, mapFromScene, mapFromScene, mapFromScene, mapFromScene, mapFromScene, mapRectFromItem, mapRectFromItem, mapRectFromItem, mapRectFromParent, mapRectFromParent, mapRectFromParent, mapRectFromScene, mapRectFromScene, mapRectFromScene, mapRectToItem, mapRectToItem, mapRectToItem, mapRectToParent, mapRectToParent, mapRectToParent, mapRectToScene, mapRectToScene, mapRectToScene, mapToItem, mapToItem, mapToItem, mapToItem, mapToItem, mapToItem, mapToItem, mapToItem, mapToParent, mapToParent, mapToParent, mapToParent, mapToParent, mapToParent, mapToParent, mapToParent, mapToScene, mapToScene, mapToScene, mapToScene, mapToScene, mapToScene, mapToScene, mapToScene, mouseDoubleClickEvent, mouseMoveEvent, mousePressEvent, mouseReleaseEvent, moveBy, opacity, paint, panel, panelModality, parentItem, parentObject, parentWidget, pen, pos, prepareGeometryChange, removeFromIndex, removeSceneEventFilter, resetTransform, rotation, scale, scene, sceneBoundingRect, sceneEvent, sceneEventFilter, scenePos, sceneTransform, scroll, scroll, scroll, setAcceptDrops, setAcceptedMouseButtons, setAcceptedMouseButtons, setAcceptHoverEvents, setAcceptTouchEvents, setActive, setBoundingRegionGranularity, setBrush, setBrush, setBrush, setBrush, setBrush, setBrush, setBrush, setCacheMode, setCacheMode, setCursor, setCursor, setCursor, setData, setEnabled, setFiltersChildEvents, setFlag, setFlag, setFlags, setFlags, setFocus, setFocus, setFocusProxy, setGraphicsEffect, setGroup, setHandlesChildEvents, setInputMethodHints, setInputMethodHints, setOpacity, setPanelModality, setParentItem, setPen, setPen, setPen, setPos, setPos, setPos, setRotation, setScale, setSelected, setToolTip, setTransform, setTransform, setTransformations, setTransformOriginPoint, setTransformOriginPoint, setTransformOriginPoint, setVisible, setX, setY, setZValue, show, stackBefore, toGraphicsObject, toolTip, topLevelItem, topLevelWidget, transform, transformations, transformOriginPoint, ungrabKeyboard, ungrabMouse, unsetCursor, update, update, update, update, updateMicroFocus, wheelEvent, window, x, y, zValue
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Constructor Details
-
QGraphicsEllipseItem
- Parameters:
parent
-
-
QGraphicsEllipseItem
- Parameters:
rect
-parent
-
-
QGraphicsEllipseItem
- Parameters:
x
-y
-w
-h
-parent
-- Since:
- This function was introduced in Qt 4.3.
-
QGraphicsEllipseItem
public QGraphicsEllipseItem()Overloaded constructor for
QGraphicsEllipseItem(io.qt.widgets.QGraphicsItem)
withparent = null
. -
QGraphicsEllipseItem
Overloaded constructor for
QGraphicsEllipseItem(io.qt.core.QRectF, io.qt.widgets.QGraphicsItem)
withparent = null
. -
QGraphicsEllipseItem
Overloaded constructor for
QGraphicsEllipseItem(io.qt.core.QRect, io.qt.widgets.QGraphicsItem)
withparent = null
. -
QGraphicsEllipseItem
Overloaded constructor for
QGraphicsEllipseItem(io.qt.core.QRectF, io.qt.widgets.QGraphicsItem)
. -
QGraphicsEllipseItem
public QGraphicsEllipseItem(double x, double y, double w, double h) Overloaded constructor for
QGraphicsEllipseItem(double, double, double, double, io.qt.widgets.QGraphicsItem)
withparent = null
.
-
-
Method Details
-
rect
- Returns:
-
setRect
- Parameters:
rect
-
-
setRect
- Parameters:
x
-y
-w
-h
-
-
setSpanAngle
- Parameters:
angle
-
-
setStartAngle
- Parameters:
angle
-
-
spanAngle
- Returns:
-
startAngle
- Returns:
-
boundingRect
- Specified by:
boundingRect
in interfaceQGraphicsItem
- Specified by:
boundingRect
in classQAbstractGraphicsShapeItem
- Returns:
-
contains
- Specified by:
contains
in interfaceQGraphicsItem
- Overrides:
contains
in classQAbstractGraphicsShapeItem
- Parameters:
point
-- Returns:
-
extension
See
QGraphicsItem::
extension(QVariant)const - Overrides:
extension
in classQAbstractGraphicsShapeItem
- Parameters:
variant
-- Returns:
-
isObscuredBy
- Specified by:
isObscuredBy
in interfaceQGraphicsItem
- Overrides:
isObscuredBy
in classQAbstractGraphicsShapeItem
- Parameters:
item
-- Returns:
-
opaqueArea
- Specified by:
opaqueArea
in interfaceQGraphicsItem
- Overrides:
opaqueArea
in classQAbstractGraphicsShapeItem
- Returns:
-
paint
- Specified by:
paint
in interfaceQGraphicsItem
- Specified by:
paint
in classQAbstractGraphicsShapeItem
- Parameters:
painter
-option
-widget
-
-
setExtension
See
QGraphicsItem::
setExtension(QGraphicsItem::Extension, QVariant) - Overrides:
setExtension
in classQAbstractGraphicsShapeItem
- Parameters:
extension
-variant
-
-
shape
- Specified by:
shape
in interfaceQGraphicsItem
- Overrides:
shape
in classQAbstractGraphicsShapeItem
- Returns:
-
supportsExtension
See
QGraphicsItem::
supportsExtension(QGraphicsItem::Extension)const - Overrides:
supportsExtension
in classQAbstractGraphicsShapeItem
- Parameters:
extension
-- Returns:
-
setRect
Overloaded function for
setRect(io.qt.core.QRectF)
.
-