- All Superinterfaces:
QtObjectInterface
- All Known Implementing Classes:
QAbstractGraphicsShapeItem
,QChart
,QGraphicsEllipseItem
,QGraphicsItemGroup
,QGraphicsLineItem
,QGraphicsObject
,QGraphicsPathItem
,QGraphicsPixmapItem
,QGraphicsPolygonItem
,QGraphicsProxyWidget
,QGraphicsRectItem
,QGraphicsSimpleTextItem
,QGraphicsSvgItem
,QGraphicsTextItem
,QGraphicsVideoItem
,QGraphicsWidget
,QLegend
,QPolarChart
The base class for all graphical items in a QGraphicsScene
Java wrapper for Qt class QGraphicsItem
Following functions are protected in the Qt interface, all implementations of this interface may implement these function:
@QtUninvokable
protected final void addToIndex(){
QGraphicsItem.MemberAccess.of(this).addToIndex();
}
@QtUninvokable
protected final void prepareGeometryChange(){
QGraphicsItem.MemberAccess.of(this).prepareGeometryChange();
}
@QtUninvokable
protected final void removeFromIndex(){
QGraphicsItem.MemberAccess.of(this).removeFromIndex();
}
@QtUninvokable
protected final void updateMicroFocus(){
QGraphicsItem.MemberAccess.of(this).updateMicroFocus();
}
@QtUninvokable
protected void contextMenuEvent(io.qt.widgets.@Nullable QGraphicsSceneContextMenuEvent event){
QGraphicsItem.MemberAccess.of(this).contextMenuEvent(event);
}
@QtUninvokable
protected void dragEnterEvent(io.qt.widgets.@Nullable QGraphicsSceneDragDropEvent event){
QGraphicsItem.MemberAccess.of(this).dragEnterEvent(event);
}
@QtUninvokable
protected void dragLeaveEvent(io.qt.widgets.@Nullable QGraphicsSceneDragDropEvent event){
QGraphicsItem.MemberAccess.of(this).dragLeaveEvent(event);
}
@QtUninvokable
protected void dragMoveEvent(io.qt.widgets.@Nullable QGraphicsSceneDragDropEvent event){
QGraphicsItem.MemberAccess.of(this).dragMoveEvent(event);
}
@QtUninvokable
protected void dropEvent(io.qt.widgets.@Nullable QGraphicsSceneDragDropEvent event){
QGraphicsItem.MemberAccess.of(this).dropEvent(event);
}
@QtUninvokable
protected java.lang.Object extension(java.lang.Object variant){
return QGraphicsItem.MemberAccess.of(this).extension(variant);
}
@QtUninvokable
protected void focusInEvent(io.qt.gui.@Nullable QFocusEvent event){
QGraphicsItem.MemberAccess.of(this).focusInEvent(event);
}
@QtUninvokable
protected void focusOutEvent(io.qt.gui.@Nullable QFocusEvent event){
QGraphicsItem.MemberAccess.of(this).focusOutEvent(event);
}
@QtUninvokable
protected void hoverEnterEvent(io.qt.widgets.@Nullable QGraphicsSceneHoverEvent event){
QGraphicsItem.MemberAccess.of(this).hoverEnterEvent(event);
}
@QtUninvokable
protected void hoverLeaveEvent(io.qt.widgets.@Nullable QGraphicsSceneHoverEvent event){
QGraphicsItem.MemberAccess.of(this).hoverLeaveEvent(event);
}
@QtUninvokable
protected void hoverMoveEvent(io.qt.widgets.@Nullable QGraphicsSceneHoverEvent event){
QGraphicsItem.MemberAccess.of(this).hoverMoveEvent(event);
}
@QtUninvokable
protected void inputMethodEvent(io.qt.gui.@Nullable QInputMethodEvent event){
QGraphicsItem.MemberAccess.of(this).inputMethodEvent(event);
}
@QtUninvokable
protected java.lang.Object inputMethodQuery(io.qt.core.Qt.@NonNull InputMethodQuery query){
return QGraphicsItem.MemberAccess.of(this).inputMethodQuery(query);
}
@QtUninvokable
protected java.lang.Object itemChange(io.qt.widgets.QGraphicsItem.@NonNull GraphicsItemChange change, java.lang.Object value){
return QGraphicsItem.MemberAccess.of(this).itemChange(change, value);
}
@QtUninvokable
protected void keyPressEvent(io.qt.gui.@Nullable QKeyEvent event){
QGraphicsItem.MemberAccess.of(this).keyPressEvent(event);
}
@QtUninvokable
protected void keyReleaseEvent(io.qt.gui.@Nullable QKeyEvent event){
QGraphicsItem.MemberAccess.of(this).keyReleaseEvent(event);
}
@QtUninvokable
protected void mouseDoubleClickEvent(io.qt.widgets.@Nullable QGraphicsSceneMouseEvent event){
QGraphicsItem.MemberAccess.of(this).mouseDoubleClickEvent(event);
}
@QtUninvokable
protected void mouseMoveEvent(io.qt.widgets.@Nullable QGraphicsSceneMouseEvent event){
QGraphicsItem.MemberAccess.of(this).mouseMoveEvent(event);
}
@QtUninvokable
protected void mousePressEvent(io.qt.widgets.@Nullable QGraphicsSceneMouseEvent event){
QGraphicsItem.MemberAccess.of(this).mousePressEvent(event);
}
@QtUninvokable
protected void mouseReleaseEvent(io.qt.widgets.@Nullable QGraphicsSceneMouseEvent event){
QGraphicsItem.MemberAccess.of(this).mouseReleaseEvent(event);
}
@QtUninvokable
protected boolean sceneEvent(io.qt.core.@Nullable QEvent event){
return QGraphicsItem.MemberAccess.of(this).sceneEvent(event);
}
@QtUninvokable
protected boolean sceneEventFilter(io.qt.widgets.@Nullable QGraphicsItem watched, io.qt.core.@Nullable QEvent event){
return QGraphicsItem.MemberAccess.of(this).sceneEventFilter(watched, event);
}
@QtUninvokable
protected void setExtension(io.qt.widgets.QGraphicsItem.@NonNull Extension extension, java.lang.Object variant){
QGraphicsItem.MemberAccess.of(this).setExtension(extension, variant);
}
@QtUninvokable
protected boolean supportsExtension(io.qt.widgets.QGraphicsItem.@NonNull Extension extension){
return QGraphicsItem.MemberAccess.of(this).supportsExtension(extension);
}
@QtUninvokable
protected void wheelEvent(io.qt.widgets.@Nullable QGraphicsSceneWheelEvent event){
QGraphicsItem.MemberAccess.of(this).wheelEvent(event);
}
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Result class forQGraphicsItem::isBlockedByModalPanel(QGraphicsItem**)const
.static enum
Java wrapper for Qt enumQGraphicsItem::CacheMode
static enum
Java wrapper for Qt enumQGraphicsItem::Extension
static enum
Java wrapper for Qt enumQGraphicsItem::GraphicsItemChange
static enum
Java wrapper for Qt enumQGraphicsItem::GraphicsItemFlag
static final class
QFlags
type for enumQGraphicsItem.GraphicsItemFlag
static enum
Java wrapper for Qt enumQGraphicsItem::PanelModality
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
default Qt.MouseButtons
default boolean
default boolean
default void
advance
(int phase) default QRegion
boundingRegion
(QTransform itemToDeviceTransform) default double
default QGraphicsItem.CacheMode
default QList<QGraphicsItem>
default QRectF
default void
default QPainterPath
clipPath()
default boolean
collidesWithItem
(QGraphicsItem other) Overloaded function forcollidesWithItem(io.qt.widgets.QGraphicsItem, io.qt.core.Qt.ItemSelectionMode)
withmode = io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape
.default boolean
collidesWithItem
(QGraphicsItem other, Qt.ItemSelectionMode mode) default boolean
collidesWithPath
(QPainterPath path) Overloaded function forcollidesWithPath(io.qt.gui.QPainterPath, io.qt.core.Qt.ItemSelectionMode)
withmode = io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape
.default boolean
collidesWithPath
(QPainterPath path, Qt.ItemSelectionMode mode) default QList<QGraphicsItem>
Overloaded function forcollidingItems(io.qt.core.Qt.ItemSelectionMode)
withmode = io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape
.default QList<QGraphicsItem>
default QGraphicsItem
commonAncestorItem
(QGraphicsItem other) default boolean
Overloaded function forcontains(io.qt.core.QPointF)
.default boolean
default QCursor
cursor()
default Object
data
(int key) default QTransform
deviceTransform
(QTransform viewportTransform) default double
default void
Overloaded function forensureVisible(io.qt.core.QRectF, int, int)
default void
ensureVisible
(double x, double y, double w, double h) Overloaded function forensureVisible(double, double, double, double, int, int)
default void
ensureVisible
(double x, double y, double w, double h, int xmargin) Overloaded function forensureVisible(double, double, double, double, int, int)
withymargin = 50
.default void
ensureVisible
(double x, double y, double w, double h, int xmargin, int ymargin) default void
ensureVisible
(QRect rect) Overloaded function forensureVisible(io.qt.core.QRect, int, int)
default void
ensureVisible
(QRectF rect) Overloaded function forensureVisible(io.qt.core.QRectF, int, int)
default void
ensureVisible
(QRectF rect, int xmargin) Overloaded function forensureVisible(io.qt.core.QRectF, int, int)
withymargin = 50
.default void
ensureVisible
(QRectF rect, int xmargin, int ymargin) default void
ensureVisible
(QRect rect, int xmargin) Overloaded function forensureVisible(io.qt.core.QRect, int, int)
withymargin = 50
.default void
ensureVisible
(QRect rect, int xmargin, int ymargin) Overloaded function forensureVisible(io.qt.core.QRectF, int, int)
.default boolean
default QGraphicsItem.GraphicsItemFlags
flags()
default QGraphicsItem
default QGraphicsItem
default QGraphicsItem
SeeQGraphicsItem::
focusScopeItem()const default void
default void
default QGraphicsEffect
default QGraphicsItemGroup
group()
default boolean
SeeQGraphicsItem::
handlesChildEvents()const default boolean
default boolean
hasFocus()
default void
hide()
default Qt.InputMethodHints
default void
installSceneEventFilter
(QGraphicsItem filterItem) default boolean
isActive()
default boolean
isAncestorOf
(QGraphicsItem child) default boolean
default boolean
default boolean
Overloaded function forisObscured(io.qt.core.QRectF)
withrect = new io.qt.core.QRectF()
.default boolean
isObscured
(double x, double y, double w, double h) default boolean
isObscured
(QRect rect) Overloaded function forisObscured(io.qt.core.QRectF)
.default boolean
isObscured
(QRectF rect) default boolean
isObscuredBy
(QGraphicsItem item) default boolean
isPanel()
default boolean
default boolean
default boolean
default boolean
isVisibleTo
(QGraphicsItem parent) default boolean
isWidget()
default boolean
isWindow()
default QTransform
itemTransform
(QGraphicsItem other) default QPointF
mapFromItem
(QGraphicsItem item, double x, double y) default QPolygonF
mapFromItem
(QGraphicsItem item, double x, double y, double w, double h) default QPointF
mapFromItem
(QGraphicsItem item, QPoint point) Overloaded function formapFromItem(io.qt.widgets.QGraphicsItem, io.qt.core.QPointF)
.default QPointF
mapFromItem
(QGraphicsItem item, QPointF point) default QPolygonF
mapFromItem
(QGraphicsItem item, QRect rect) Overloaded function formapFromItem(io.qt.widgets.QGraphicsItem, io.qt.core.QRectF)
.default QPolygonF
mapFromItem
(QGraphicsItem item, QRectF rect) default QPainterPath
mapFromItem
(QGraphicsItem item, QPainterPath path) default QPolygonF
mapFromItem
(QGraphicsItem item, QPolygonF polygon) default QPointF
mapFromParent
(double x, double y) default QPolygonF
mapFromParent
(double x, double y, double w, double h) default QPointF
mapFromParent
(QPoint point) Overloaded function formapFromParent(io.qt.core.QPointF)
.default QPointF
mapFromParent
(QPointF point) default QPolygonF
mapFromParent
(QRect rect) Overloaded function formapFromParent(io.qt.core.QRectF)
.default QPolygonF
mapFromParent
(QRectF rect) default QPainterPath
mapFromParent
(QPainterPath path) default QPolygonF
mapFromParent
(QPolygonF polygon) default QPointF
mapFromScene
(double x, double y) default QPolygonF
mapFromScene
(double x, double y, double w, double h) default QPointF
mapFromScene
(QPoint point) Overloaded function formapFromScene(io.qt.core.QPointF)
.default QPointF
mapFromScene
(QPointF point) default QPolygonF
mapFromScene
(QRect rect) Overloaded function formapFromScene(io.qt.core.QRectF)
.default QPolygonF
mapFromScene
(QRectF rect) default QPainterPath
mapFromScene
(QPainterPath path) default QPolygonF
mapFromScene
(QPolygonF polygon) default QRectF
mapRectFromItem
(QGraphicsItem item, double x, double y, double w, double h) default QRectF
mapRectFromItem
(QGraphicsItem item, QRect rect) Overloaded function formapRectFromItem(io.qt.widgets.QGraphicsItem, io.qt.core.QRectF)
.default QRectF
mapRectFromItem
(QGraphicsItem item, QRectF rect) default QRectF
mapRectFromParent
(double x, double y, double w, double h) default QRectF
mapRectFromParent
(QRect rect) Overloaded function formapRectFromParent(io.qt.core.QRectF)
.default QRectF
mapRectFromParent
(QRectF rect) default QRectF
mapRectFromScene
(double x, double y, double w, double h) default QRectF
mapRectFromScene
(QRect rect) Overloaded function formapRectFromScene(io.qt.core.QRectF)
.default QRectF
mapRectFromScene
(QRectF rect) default QRectF
mapRectToItem
(QGraphicsItem item, double x, double y, double w, double h) default QRectF
mapRectToItem
(QGraphicsItem item, QRect rect) Overloaded function formapRectToItem(io.qt.widgets.QGraphicsItem, io.qt.core.QRectF)
.default QRectF
mapRectToItem
(QGraphicsItem item, QRectF rect) default QRectF
mapRectToParent
(double x, double y, double w, double h) default QRectF
mapRectToParent
(QRect rect) Overloaded function formapRectToParent(io.qt.core.QRectF)
.default QRectF
mapRectToParent
(QRectF rect) default QRectF
mapRectToScene
(double x, double y, double w, double h) default QRectF
mapRectToScene
(QRect rect) Overloaded function formapRectToScene(io.qt.core.QRectF)
.default QRectF
mapRectToScene
(QRectF rect) default QPointF
mapToItem
(QGraphicsItem item, double x, double y) default QPolygonF
mapToItem
(QGraphicsItem item, double x, double y, double w, double h) default QPointF
mapToItem
(QGraphicsItem item, QPoint point) Overloaded function formapToItem(io.qt.widgets.QGraphicsItem, io.qt.core.QPointF)
.default QPointF
mapToItem
(QGraphicsItem item, QPointF point) default QPolygonF
mapToItem
(QGraphicsItem item, QRect rect) Overloaded function formapToItem(io.qt.widgets.QGraphicsItem, io.qt.core.QRectF)
.default QPolygonF
mapToItem
(QGraphicsItem item, QRectF rect) default QPainterPath
mapToItem
(QGraphicsItem item, QPainterPath path) default QPolygonF
mapToItem
(QGraphicsItem item, QPolygonF polygon) default QPointF
mapToParent
(double x, double y) default QPolygonF
mapToParent
(double x, double y, double w, double h) default QPointF
mapToParent
(QPoint point) Overloaded function formapToParent(io.qt.core.QPointF)
.default QPointF
mapToParent
(QPointF point) default QPolygonF
mapToParent
(QRect rect) Overloaded function formapToParent(io.qt.core.QRectF)
.default QPolygonF
mapToParent
(QRectF rect) default QPainterPath
mapToParent
(QPainterPath path) default QPolygonF
mapToParent
(QPolygonF polygon) default QPointF
mapToScene
(double x, double y) default QPolygonF
mapToScene
(double x, double y, double w, double h) default QPointF
mapToScene
(QPoint point) Overloaded function formapToScene(io.qt.core.QPointF)
.default QPointF
mapToScene
(QPointF point) default QPolygonF
mapToScene
(QRect rect) Overloaded function formapToScene(io.qt.core.QRectF)
.default QPolygonF
mapToScene
(QRectF rect) default QPainterPath
mapToScene
(QPainterPath path) default QPolygonF
mapToScene
(QPolygonF polygon) default void
moveBy
(double dx, double dy) default double
opacity()
default QPainterPath
default void
paint
(QPainter painter, QStyleOptionGraphicsItem option) Overloaded function forpaint(io.qt.gui.QPainter, io.qt.widgets.QStyleOptionGraphicsItem, io.qt.widgets.QWidget)
withwidget = null
.void
paint
(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget) default QGraphicsItem
panel()
default QGraphicsItem.PanelModality
default QGraphicsItem
default QGraphicsObject
default QGraphicsWidget
default QPointF
pos()
default void
removeSceneEventFilter
(QGraphicsItem filterItem) default void
default double
rotation()
default double
scale()
default QGraphicsScene
scene()
default QRectF
default QPointF
scenePos()
default QTransform
default void
scroll
(double dx, double dy) Overloaded function forscroll(double, double, io.qt.core.QRectF)
withrect = new io.qt.core.QRectF()
.default void
Overloaded function forscroll(double, double, io.qt.core.QRectF)
.default void
default void
setAcceptDrops
(boolean on) default void
setAcceptedMouseButtons
(Qt.MouseButton ... buttons) Overloaded function forsetAcceptedMouseButtons(io.qt.core.Qt.MouseButtons)
.default void
setAcceptedMouseButtons
(Qt.MouseButtons buttons) default void
setAcceptHoverEvents
(boolean enabled) default void
setAcceptTouchEvents
(boolean enabled) default void
setActive
(boolean active) default void
setBoundingRegionGranularity
(double granularity) default void
Overloaded function forsetCacheMode(io.qt.widgets.QGraphicsItem.CacheMode, io.qt.core.QSize)
withcacheSize = new io.qt.core.QSize()
.default void
setCacheMode
(QGraphicsItem.CacheMode mode, QSize cacheSize) default void
setCursor
(Qt.CursorShape cursor) Overloaded function forsetCursor(io.qt.gui.QCursor)
.default void
default void
default void
setEnabled
(boolean enabled) default void
setFiltersChildEvents
(boolean enabled) default void
Overloaded function forsetFlag(io.qt.widgets.QGraphicsItem.GraphicsItemFlag, boolean)
withenabled = true
.default void
setFlag
(QGraphicsItem.GraphicsItemFlag flag, boolean enabled) default void
setFlags
(QGraphicsItem.GraphicsItemFlag ... flags) Overloaded function forsetFlags(io.qt.widgets.QGraphicsItem.GraphicsItemFlags)
.default void
default void
setFocus()
Overloaded function forsetFocus(io.qt.core.Qt.FocusReason)
withfocusReason = io.qt.core.Qt.FocusReason.OtherFocusReason
.default void
setFocus
(Qt.FocusReason focusReason) default void
setFocusProxy
(QGraphicsItem item) default void
setGraphicsEffect
(QGraphicsEffect effect) default void
setGroup
(QGraphicsItemGroup group) default void
setHandlesChildEvents
(boolean enabled) SeeQGraphicsItem::
setHandlesChildEvents(bool) default void
setInputMethodHints
(Qt.InputMethodHint ... hints) Overloaded function forsetInputMethodHints(io.qt.core.Qt.InputMethodHints)
.default void
default void
setOpacity
(double opacity) default void
setPanelModality
(QGraphicsItem.PanelModality panelModality) default void
setParentItem
(QGraphicsItem parent) default void
setPos
(double x, double y) default void
Overloaded function forsetPos(io.qt.core.QPointF)
.default void
default void
setRotation
(double angle) default void
setScale
(double scale) default void
setSelected
(boolean selected) default void
setToolTip
(String toolTip) default void
setTransform
(QTransform matrix) Overloaded function forsetTransform(io.qt.gui.QTransform, boolean)
withcombine = false
.default void
setTransform
(QTransform matrix, boolean combine) default void
setTransformations
(Collection<? extends QGraphicsTransform> transformations) default void
setTransformOriginPoint
(double ax, double ay) default void
setTransformOriginPoint
(QPoint origin) Overloaded function forsetTransformOriginPoint(io.qt.core.QPointF)
.default void
setTransformOriginPoint
(QPointF origin) default void
setVisible
(boolean visible) default void
setX
(double x) default void
setY
(double y) default void
setZValue
(double z) default QPainterPath
shape()
default void
show()
default void
stackBefore
(QGraphicsItem sibling) default QGraphicsObject
default String
toolTip()
default QGraphicsItem
default QGraphicsWidget
default QTransform
default QList<QGraphicsTransform>
default QPointF
default void
default void
default void
default void
update()
Overloaded function forupdate(io.qt.core.QRectF)
withrect = new io.qt.core.QRectF()
.default void
update
(double x, double y, double width, double height) default void
Overloaded function forupdate(io.qt.core.QRectF)
.default void
default QGraphicsWidget
window()
default double
x()
default double
y()
default double
zValue()
Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Method Details
-
acceptDrops
- Returns:
-
acceptHoverEvents
- Returns:
-
acceptTouchEvents
- Returns:
-
acceptedMouseButtons
- Returns:
-
boundingRegion
- Parameters:
itemToDeviceTransform
-- Returns:
-
boundingRegionGranularity
- Returns:
-
cacheMode
- Returns:
-
childItems
- Returns:
-
childrenBoundingRect
- Returns:
-
clearFocus
-
clipPath
- Returns:
-
collidingItems
@QtDeclaredFinal @QtUninvokable default QList<QGraphicsItem> collidingItems(Qt.ItemSelectionMode mode) - Parameters:
mode
-- Returns:
-
commonAncestorItem
- Parameters:
other
-- Returns:
-
cursor
- Returns:
-
data
- Parameters:
key
-- Returns:
-
deviceTransform
- Parameters:
viewportTransform
-- Returns:
-
effectiveOpacity
- Returns:
-
ensureVisible
- Parameters:
rect
-xmargin
-ymargin
-
-
ensureVisible
@QtDeclaredFinal @QtUninvokable default void ensureVisible(double x, double y, double w, double h, int xmargin, int ymargin) - Parameters:
x
-y
-w
-h
-xmargin
-ymargin
-
-
filtersChildEvents
- Returns:
-
flags
- Returns:
-
focusItem
- Returns:
-
focusProxy
- Returns:
-
focusScopeItem
See
QGraphicsItem::
focusScopeItem()const - Returns:
-
grabKeyboard
-
grabMouse
-
graphicsEffect
- Returns:
-
group
- Returns:
-
handlesChildEvents
See
QGraphicsItem::
handlesChildEvents()const - Returns:
-
hasCursor
- Returns:
-
hasFocus
- Returns:
-
hide
-
inputMethodHints
- Returns:
-
installSceneEventFilter
- Parameters:
filterItem
-
-
isActive
- Returns:
-
isAncestorOf
- Parameters:
child
-- Returns:
-
isBlockedByModalPanel
@QtDeclaredFinal @QtUninvokable default QGraphicsItem.BlockedByModalPanelInfo isBlockedByModalPanel()- Returns:
-
isClipped
- Returns:
-
isEnabled
- Returns:
-
isObscured
- Parameters:
rect
-- Returns:
-
isObscured
- Parameters:
x
-y
-w
-h
-- Returns:
-
isPanel
- Returns:
-
isSelected
- Returns:
-
isUnderMouse
- Returns:
-
isVisible
- Returns:
-
isVisibleTo
- Parameters:
parent
-- Returns:
-
isWidget
- Returns:
-
isWindow
- Returns:
-
itemTransform
- Parameters:
other
-- Returns:
-
mapFromItem
@QtDeclaredFinal @QtUninvokable default QPainterPath mapFromItem(QGraphicsItem item, QPainterPath path) - Parameters:
item
-path
-- Returns:
-
mapFromItem
- Parameters:
item
-point
-- Returns:
-
mapFromItem
@QtDeclaredFinal @QtUninvokable default QPolygonF mapFromItem(QGraphicsItem item, QPolygonF polygon) - Parameters:
item
-polygon
-- Returns:
-
mapFromItem
- Parameters:
item
-rect
-- Returns:
-
mapFromItem
- Parameters:
item
-x
-y
-- Returns:
-
mapFromItem
@QtDeclaredFinal @QtUninvokable default QPolygonF mapFromItem(QGraphicsItem item, double x, double y, double w, double h) - Parameters:
item
-x
-y
-w
-h
-- Returns:
-
mapFromParent
- Parameters:
path
-- Returns:
-
mapFromParent
- Parameters:
point
-- Returns:
-
mapFromParent
- Parameters:
polygon
-- Returns:
-
mapFromParent
- Parameters:
rect
-- Returns:
-
mapFromParent
- Parameters:
x
-y
-- Returns:
-
mapFromParent
@QtDeclaredFinal @QtUninvokable default QPolygonF mapFromParent(double x, double y, double w, double h) - Parameters:
x
-y
-w
-h
-- Returns:
-
mapFromScene
- Parameters:
path
-- Returns:
-
mapFromScene
- Parameters:
point
-- Returns:
-
mapFromScene
- Parameters:
polygon
-- Returns:
-
mapFromScene
- Parameters:
rect
-- Returns:
-
mapFromScene
- Parameters:
x
-y
-- Returns:
-
mapFromScene
@QtDeclaredFinal @QtUninvokable default QPolygonF mapFromScene(double x, double y, double w, double h) - Parameters:
x
-y
-w
-h
-- Returns:
-
mapRectFromItem
- Parameters:
item
-rect
-- Returns:
-
mapRectFromItem
@QtDeclaredFinal @QtUninvokable default QRectF mapRectFromItem(QGraphicsItem item, double x, double y, double w, double h) - Parameters:
item
-x
-y
-w
-h
-- Returns:
-
mapRectFromParent
- Parameters:
rect
-- Returns:
-
mapRectFromParent
@QtDeclaredFinal @QtUninvokable default QRectF mapRectFromParent(double x, double y, double w, double h) - Parameters:
x
-y
-w
-h
-- Returns:
-
mapRectFromScene
- Parameters:
rect
-- Returns:
-
mapRectFromScene
@QtDeclaredFinal @QtUninvokable default QRectF mapRectFromScene(double x, double y, double w, double h) - Parameters:
x
-y
-w
-h
-- Returns:
-
mapRectToItem
- Parameters:
item
-rect
-- Returns:
-
mapRectToItem
@QtDeclaredFinal @QtUninvokable default QRectF mapRectToItem(QGraphicsItem item, double x, double y, double w, double h) - Parameters:
item
-x
-y
-w
-h
-- Returns:
-
mapRectToParent
- Parameters:
rect
-- Returns:
-
mapRectToParent
@QtDeclaredFinal @QtUninvokable default QRectF mapRectToParent(double x, double y, double w, double h) - Parameters:
x
-y
-w
-h
-- Returns:
-
mapRectToScene
- Parameters:
rect
-- Returns:
-
mapRectToScene
@QtDeclaredFinal @QtUninvokable default QRectF mapRectToScene(double x, double y, double w, double h) - Parameters:
x
-y
-w
-h
-- Returns:
-
mapToItem
@QtDeclaredFinal @QtUninvokable default QPainterPath mapToItem(QGraphicsItem item, QPainterPath path) - Parameters:
item
-path
-- Returns:
-
mapToItem
- Parameters:
item
-point
-- Returns:
-
mapToItem
- Parameters:
item
-polygon
-- Returns:
-
mapToItem
- Parameters:
item
-rect
-- Returns:
-
mapToItem
- Parameters:
item
-x
-y
-- Returns:
-
mapToItem
@QtDeclaredFinal @QtUninvokable default QPolygonF mapToItem(QGraphicsItem item, double x, double y, double w, double h) - Parameters:
item
-x
-y
-w
-h
-- Returns:
-
mapToParent
- Parameters:
path
-- Returns:
-
mapToParent
- Parameters:
point
-- Returns:
-
mapToParent
- Parameters:
polygon
-- Returns:
-
mapToParent
- Parameters:
rect
-- Returns:
-
mapToParent
- Parameters:
x
-y
-- Returns:
-
mapToParent
@QtDeclaredFinal @QtUninvokable default QPolygonF mapToParent(double x, double y, double w, double h) - Parameters:
x
-y
-w
-h
-- Returns:
-
mapToScene
- Parameters:
path
-- Returns:
-
mapToScene
- Parameters:
point
-- Returns:
-
mapToScene
- Parameters:
polygon
-- Returns:
-
mapToScene
- Parameters:
rect
-- Returns:
-
mapToScene
- Parameters:
x
-y
-- Returns:
-
mapToScene
@QtDeclaredFinal @QtUninvokable default QPolygonF mapToScene(double x, double y, double w, double h) - Parameters:
x
-y
-w
-h
-- Returns:
-
moveBy
- Parameters:
dx
-dy
-
-
opacity
- Returns:
-
panel
- Returns:
-
panelModality
- Returns:
-
parentItem
- Returns:
-
parentObject
- Returns:
-
parentWidget
- Returns:
-
pos
- Returns:
-
removeSceneEventFilter
- Parameters:
filterItem
-
-
resetTransform
-
rotation
- Returns:
-
scale
- Returns:
-
scene
- Returns:
-
sceneBoundingRect
- Returns:
-
scenePos
- Returns:
-
sceneTransform
- Returns:
-
scroll
- Parameters:
dx
-dy
-rect
-
-
setAcceptDrops
- Parameters:
on
-
-
setAcceptHoverEvents
- Parameters:
enabled
-
-
setAcceptTouchEvents
- Parameters:
enabled
-
-
setAcceptedMouseButtons
- Parameters:
buttons
-
-
setActive
- Parameters:
active
-
-
setBoundingRegionGranularity
- Parameters:
granularity
-
-
setCacheMode
@QtDeclaredFinal @QtUninvokable default void setCacheMode(QGraphicsItem.CacheMode mode, QSize cacheSize) - Parameters:
mode
-cacheSize
-
-
setCursor
- Parameters:
cursor
-
-
setData
- Parameters:
key
-value
-
-
setEnabled
- Parameters:
enabled
-
-
setFiltersChildEvents
- Parameters:
enabled
-
-
setFlag
@QtDeclaredFinal @QtUninvokable default void setFlag(QGraphicsItem.GraphicsItemFlag flag, boolean enabled) - Parameters:
flag
-enabled
-
-
setFlags
- Parameters:
flags
-
-
setFocus
- Parameters:
focusReason
-
-
setFocusProxy
- Parameters:
item
-
-
setGraphicsEffect
- Parameters:
effect
-
-
setGroup
- Parameters:
group
-
-
setHandlesChildEvents
See
QGraphicsItem::
setHandlesChildEvents(bool) - Parameters:
enabled
-
-
setInputMethodHints
- Parameters:
hints
-
-
setOpacity
- Parameters:
opacity
-
-
setPanelModality
@QtDeclaredFinal @QtUninvokable default void setPanelModality(QGraphicsItem.PanelModality panelModality) - Parameters:
panelModality
-
-
setParentItem
- Parameters:
parent
-
-
setPos
- Parameters:
pos
-
-
setPos
- Parameters:
x
-y
-
-
setRotation
- Parameters:
angle
-
-
setScale
- Parameters:
scale
-
-
setSelected
- Parameters:
selected
-
-
setToolTip
- Parameters:
toolTip
-
-
setTransform
- Parameters:
matrix
-combine
-
-
setTransformOriginPoint
- Parameters:
origin
-
-
setTransformOriginPoint
- Parameters:
ax
-ay
-
-
setTransformations
@QtDeclaredFinal @QtUninvokable default void setTransformations(Collection<? extends QGraphicsTransform> transformations) - Parameters:
transformations
-
-
setVisible
- Parameters:
visible
-
-
setX
- Parameters:
x
-
-
setY
- Parameters:
y
-
-
setZValue
- Parameters:
z
-
-
show
-
stackBefore
- Parameters:
sibling
-
-
toGraphicsObject
- Returns:
-
toolTip
- Returns:
-
topLevelItem
- Returns:
-
topLevelWidget
- Returns:
-
transform
- Returns:
-
transformOriginPoint
- Returns:
-
transformations
- Returns:
-
ungrabKeyboard
-
ungrabMouse
-
unsetCursor
-
update
- Parameters:
rect
-
-
update
@QtDeclaredFinal @QtUninvokable default void update(double x, double y, double width, double height) - Parameters:
x
-y
-width
-height
-
-
window
- Returns:
-
x
- Returns:
-
y
- Returns:
-
zValue
- Returns:
-
advance
- Parameters:
phase
-
-
boundingRect
- Returns:
-
collidesWithItem
- Parameters:
other
-mode
-- Returns:
-
collidesWithPath
- Parameters:
path
-mode
-- Returns:
-
contains
- Parameters:
point
-- Returns:
-
isObscuredBy
- Parameters:
item
-- Returns:
-
opaqueArea
- Returns:
-
paint
- Parameters:
painter
-option
-widget
-
-
shape
- Returns:
-
collidingItems
Overloaded function for
collidingItems(io.qt.core.Qt.ItemSelectionMode)
withmode = io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape
. -
ensureVisible
Overloaded function for
ensureVisible(io.qt.core.QRectF, int, int)
withymargin = 50
. -
ensureVisible
-
ensureVisible
Overloaded function for
ensureVisible(io.qt.core.QRectF, int, int)
with:
rect = new io.qt.core.QRectF()
xmargin = 50
ymargin = 50
-
ensureVisible
Overloaded function for
ensureVisible(io.qt.core.QRect, int, int)
withymargin = 50
. -
ensureVisible
-
ensureVisible
Overloaded function for
ensureVisible(io.qt.core.QRectF, int, int)
. -
ensureVisible
@QtDeclaredFinal @QtUninvokable default void ensureVisible(double x, double y, double w, double h, int xmargin) Overloaded function for
ensureVisible(double, double, double, double, int, int)
withymargin = 50
. -
ensureVisible
Overloaded function for
ensureVisible(double, double, double, double, int, int)
with:
xmargin = 50
ymargin = 50
-
isObscured
Overloaded function for
isObscured(io.qt.core.QRectF)
withrect = new io.qt.core.QRectF()
. -
isObscured
Overloaded function for
isObscured(io.qt.core.QRectF)
. -
mapFromItem
Overloaded function for
mapFromItem(io.qt.widgets.QGraphicsItem, io.qt.core.QPointF)
. -
mapFromItem
Overloaded function for
mapFromItem(io.qt.widgets.QGraphicsItem, io.qt.core.QRectF)
. -
mapFromParent
Overloaded function for
mapFromParent(io.qt.core.QPointF)
. -
mapFromParent
Overloaded function for
mapFromParent(io.qt.core.QRectF)
. -
mapFromScene
Overloaded function for
mapFromScene(io.qt.core.QPointF)
. -
mapFromScene
Overloaded function for
mapFromScene(io.qt.core.QRectF)
. -
mapRectFromItem
Overloaded function for
mapRectFromItem(io.qt.widgets.QGraphicsItem, io.qt.core.QRectF)
. -
mapRectFromParent
Overloaded function for
mapRectFromParent(io.qt.core.QRectF)
. -
mapRectFromScene
Overloaded function for
mapRectFromScene(io.qt.core.QRectF)
. -
mapRectToItem
Overloaded function for
mapRectToItem(io.qt.widgets.QGraphicsItem, io.qt.core.QRectF)
. -
mapRectToParent
Overloaded function for
mapRectToParent(io.qt.core.QRectF)
. -
mapRectToScene
Overloaded function for
mapRectToScene(io.qt.core.QRectF)
. -
mapToItem
Overloaded function for
mapToItem(io.qt.widgets.QGraphicsItem, io.qt.core.QPointF)
. -
mapToItem
Overloaded function for
mapToItem(io.qt.widgets.QGraphicsItem, io.qt.core.QRectF)
. -
mapToParent
Overloaded function for
mapToParent(io.qt.core.QPointF)
. -
mapToParent
Overloaded function for
mapToParent(io.qt.core.QRectF)
. -
mapToScene
Overloaded function for
mapToScene(io.qt.core.QPointF)
. -
mapToScene
Overloaded function for
mapToScene(io.qt.core.QRectF)
. -
scroll
Overloaded function for
scroll(double, double, io.qt.core.QRectF)
withrect = new io.qt.core.QRectF()
. -
scroll
Overloaded function for
scroll(double, double, io.qt.core.QRectF)
. -
setAcceptedMouseButtons
Overloaded function for
setAcceptedMouseButtons(io.qt.core.Qt.MouseButtons)
. -
setCacheMode
Overloaded function for
setCacheMode(io.qt.widgets.QGraphicsItem.CacheMode, io.qt.core.QSize)
withcacheSize = new io.qt.core.QSize()
. -
setCursor
Overloaded function for
setCursor(io.qt.gui.QCursor)
. -
setFlag
Overloaded function for
setFlag(io.qt.widgets.QGraphicsItem.GraphicsItemFlag, boolean)
withenabled = true
. -
setFlags
Overloaded function for
setFlags(io.qt.widgets.QGraphicsItem.GraphicsItemFlags)
. -
setFocus
Overloaded function for
setFocus(io.qt.core.Qt.FocusReason)
withfocusReason = io.qt.core.Qt.FocusReason.OtherFocusReason
. -
setInputMethodHints
Overloaded function for
setInputMethodHints(io.qt.core.Qt.InputMethodHints)
. -
setPos
Overloaded function for
setPos(io.qt.core.QPointF)
. -
setTransform
Overloaded function for
setTransform(io.qt.gui.QTransform, boolean)
withcombine = false
. -
setTransformOriginPoint
Overloaded function for
setTransformOriginPoint(io.qt.core.QPointF)
. -
update
Overloaded function for
update(io.qt.core.QRectF)
withrect = new io.qt.core.QRectF()
. -
update
Overloaded function for
update(io.qt.core.QRectF)
. -
collidesWithItem
Overloaded function for
collidesWithItem(io.qt.widgets.QGraphicsItem, io.qt.core.Qt.ItemSelectionMode)
withmode = io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape
. -
collidesWithPath
Overloaded function for
collidesWithPath(io.qt.gui.QPainterPath, io.qt.core.Qt.ItemSelectionMode)
withmode = io.qt.core.Qt.ItemSelectionMode.IntersectsItemShape
. -
contains
Overloaded function for
contains(io.qt.core.QPointF)
. -
paint
Overloaded function for
paint(io.qt.gui.QPainter, io.qt.widgets.QStyleOptionGraphicsItem, io.qt.widgets.QWidget)
withwidget = null
.
-