java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.widgets.QAbstractGraphicsShapeItem
io.qt.widgets.QGraphicsEllipseItem
- All Implemented Interfaces:
QtObjectInterface
,QGraphicsItem
public class QGraphicsEllipseItem extends QAbstractGraphicsShapeItem
Ellipse item that you can add to a QGraphicsScene
Java wrapper for Qt class QGraphicsEllipseItem
-
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.Impl, QGraphicsItem.MemberAccess, QGraphicsItem.PanelModality
-
Constructor Summary
Constructors Modifier Constructor Description QGraphicsEllipseItem()
Overloaded 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(QRectF rect)
Overloaded constructor forQGraphicsEllipseItem(io.qt.core.QRectF, io.qt.widgets.QGraphicsItem)
withparent = null
.QGraphicsEllipseItem(QRectF rect, QGraphicsItem parent)
protected
QGraphicsEllipseItem(QtObject.QPrivateConstructor p)
Constructor for internal use only.QGraphicsEllipseItem(QGraphicsItem parent)
-
Method Summary
Modifier and Type Method Description QRectF
boundingRect()
boolean
contains(QPointF point)
protected Object
extension(Object variant)
boolean
isObscuredBy(QGraphicsItem item)
QPainterPath
opaqueArea()
void
paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)
QRectF
rect()
protected void
setExtension(QGraphicsItem.Extension extension, Object variant)
void
setRect(double x, double y, double w, double h)
void
setRect(QRectF rect)
void
setSpanAngle(int angle)
void
setStartAngle(int angle)
QPainterPath
shape()
int
spanAngle()
int
startAngle()
protected boolean
supportsExtension(QGraphicsItem.Extension extension)
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, contextMenuEvent, cursor, data, deviceTransform, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, effectiveOpacity, 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, isPanel, isSelected, isUnderMouse, isVisible, isVisibleTo, isWidget, isWindow, itemChange, itemTransform, keyPressEvent, keyReleaseEvent, mapFromItem, mapFromItem, mapFromItem, mapFromItem, mapFromItem, mapFromItem, mapFromParent, mapFromParent, mapFromParent, mapFromParent, mapFromParent, mapFromParent, mapFromScene, mapFromScene, mapFromScene, mapFromScene, mapFromScene, mapFromScene, mapRectFromItem, mapRectFromItem, mapRectFromParent, mapRectFromParent, mapRectFromScene, mapRectFromScene, mapRectToItem, mapRectToItem, mapRectToParent, mapRectToParent, mapRectToScene, mapRectToScene, mapToItem, mapToItem, mapToItem, mapToItem, mapToItem, mapToItem, mapToParent, mapToParent, mapToParent, mapToParent, mapToParent, mapToParent, 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, setAcceptDrops, setAcceptedMouseButtons, setAcceptedMouseButtons, setAcceptHoverEvents, setAcceptTouchEvents, setActive, setBoundingRegionGranularity, setBrush, setCacheMode, setCacheMode, setCursor, setData, setEnabled, setFiltersChildEvents, setFlag, setFlag, setFlags, setFlags, setFocus, setFocus, setFocusProxy, setGraphicsEffect, setGroup, setHandlesChildEvents, setInputMethodHints, setInputMethodHints, setOpacity, setPanelModality, setParentItem, setPen, setPos, setPos, setRotation, setScale, setSelected, setToolTip, setTransform, setTransform, setTransformations, setTransformOriginPoint, setTransformOriginPoint, setVisible, setX, setY, setZValue, show, stackBefore, toGraphicsObject, toolTip, topLevelItem, topLevelWidget, transform, transformations, transformOriginPoint, ungrabKeyboard, ungrabMouse, unsetCursor, update, update, update, updateMicroFocus, wheelEvent, window, x, y, zValue
-
Constructor Details
-
QGraphicsEllipseItem
public QGraphicsEllipseItem()Overloaded constructor for
QGraphicsEllipseItem(io.qt.widgets.QGraphicsItem)
withparent = null
. -
QGraphicsEllipseItem
-
QGraphicsEllipseItem
Overloaded constructor for
QGraphicsEllipseItem(io.qt.core.QRectF, io.qt.widgets.QGraphicsItem)
withparent = null
. -
QGraphicsEllipseItem
-
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
. -
QGraphicsEllipseItem
-
QGraphicsEllipseItem
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
rect
-
setRect
-
setRect
-
setSpanAngle
-
setStartAngle
-
spanAngle
-
startAngle
-
boundingRect
- Specified by:
boundingRect
in interfaceQGraphicsItem
- Specified by:
boundingRect
in classQAbstractGraphicsShapeItem
-
contains
- Specified by:
contains
in interfaceQGraphicsItem
- Overrides:
contains
in classQAbstractGraphicsShapeItem
-
extension
- Overrides:
extension
in classQAbstractGraphicsShapeItem
-
isObscuredBy
- Specified by:
isObscuredBy
in interfaceQGraphicsItem
- Overrides:
isObscuredBy
in classQAbstractGraphicsShapeItem
-
opaqueArea
- Specified by:
opaqueArea
in interfaceQGraphicsItem
- Overrides:
opaqueArea
in classQAbstractGraphicsShapeItem
-
paint
@QtUninvokable public void paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)- Specified by:
paint
in interfaceQGraphicsItem
- Specified by:
paint
in classQAbstractGraphicsShapeItem
-
setExtension
- Overrides:
setExtension
in classQAbstractGraphicsShapeItem
-
shape
- Specified by:
shape
in interfaceQGraphicsItem
- Overrides:
shape
in classQAbstractGraphicsShapeItem
-
supportsExtension
- Overrides:
supportsExtension
in classQAbstractGraphicsShapeItem
-