class Q3DGraphsWidgetItem

Inheritance diagram of PySide6.QtGraphsWidgets.Q3DGraphsWidgetItem

Inherited by: Q3DSurfaceWidgetItem, Q3DScatterWidgetItem, Q3DBarsWidgetItem

Synopsis

Properties

Methods

Signals

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property activeThemeᅟ: QGraphsTheme
Access functions:
property ambientLightStrengthᅟ: float
Access functions:
property aspectRatioᅟ: float
Access functions:
property cameraPresetᅟ: QtGraphs3D.CameraPreset
Access functions:
property cameraTargetPositionᅟ: QVector3D
Access functions:
property cameraXRotationᅟ: float
Access functions:
property cameraYRotationᅟ: float
Access functions:
property cameraZoomLevelᅟ: float
Access functions:
property currentFpsᅟ: int
Access functions:
property gridLineTypeᅟ: QtGraphs3D.GridLineType
Access functions:
property horizontalAspectRatioᅟ: float
Access functions:
property labelMarginᅟ: float
Access functions:
property lightColorᅟ: QColor
Access functions:
property lightStrengthᅟ: float
Access functions:
property localeᅟ: QLocale
Access functions:
property marginᅟ: float
Access functions:
property maxCameraXRotationᅟ: float
Access functions:
property maxCameraYRotationᅟ: float
Access functions:
property maxCameraZoomLevelᅟ: float
Access functions:
property measureFpsᅟ: bool
Access functions:
property minCameraXRotationᅟ: float
Access functions:
property minCameraYRotationᅟ: float
Access functions:
property minCameraZoomLevelᅟ: float
Access functions:
property msaaSamplesᅟ: int
Access functions:
property optimizationHintᅟ: QtGraphs3D.OptimizationHint
Access functions:
property orthoProjectionᅟ: bool
Access functions:
property polarᅟ: bool
Access functions:
property queriedGraphPositionᅟ: QVector3D
Access functions:
property radialLabelOffsetᅟ: float
Access functions:
property rotationEnabledᅟ: bool
Access functions:
property sceneᅟ: Q3DScene
Access functions:
property selectedElementᅟ: QtGraphs3D.ElementType
Access functions:
property selectionEnabledᅟ: bool
Access functions:
property selectionModeᅟ: Combination of QtGraphs3D.SelectionFlag
Access functions:
property shadowQualityᅟ: QtGraphs3D.ShadowQuality
Access functions:
property shadowStrengthᅟ: float
Access functions:
property wrapCameraXRotationᅟ: bool
Access functions:
property wrapCameraYRotationᅟ: bool
Access functions:
property zoomAtTargetEnabledᅟ: bool
Access functions:
property zoomEnabledᅟ: bool
Access functions:
activeTheme()
Return type:

QGraphsTheme

Getter of property activeThemeᅟ .

activeThemeChanged(activeTheme)
Parameters:

activeThemeQGraphsTheme

Notification signal of property activeThemeᅟ .

addCustomItem(item)
Parameters:

itemQCustom3DItem

Return type:

int

addTheme(theme)
Parameters:

themeQGraphsTheme

ambientLightStrength()
Return type:

float

Getter of property ambientLightStrengthᅟ .

ambientLightStrengthChanged()

Notification signal of property ambientLightStrengthᅟ .

aspectRatio()
Return type:

float

Getter of property aspectRatioᅟ .

aspectRatioChanged(ratio)
Parameters:

ratio – float

Notification signal of property aspectRatioᅟ .

cameraPreset()
Return type:

CameraPreset

Getter of property cameraPresetᅟ .

cameraPresetChanged(preset)
Parameters:

presetCameraPreset

Notification signal of property cameraPresetᅟ .

cameraTargetPosition()
Return type:

QVector3D

Getter of property cameraTargetPositionᅟ .

cameraTargetPositionChanged(target)
Parameters:

targetQVector3D

Notification signal of property cameraTargetPositionᅟ .

cameraXRotation()
Return type:

float

Getter of property cameraXRotationᅟ .

cameraXRotationChanged(rotation)
Parameters:

rotation – float

Notification signal of property cameraXRotationᅟ .

cameraYRotation()
Return type:

float

Getter of property cameraYRotationᅟ .

cameraYRotationChanged(rotation)
Parameters:

rotation – float

Notification signal of property cameraYRotationᅟ .

cameraZoomLevel()
Return type:

float

Getter of property cameraZoomLevelᅟ .

cameraZoomLevelChanged(zoomLevel)
Parameters:

zoomLevel – float

Notification signal of property cameraZoomLevelᅟ .

clearSelection()
currentFps()
Return type:

int

Getter of property currentFpsᅟ .

currentFpsChanged(fps)
Parameters:

fps – int

Notification signal of property currentFpsᅟ .

customItems()
Return type:

.list of QCustom3DItem

doPicking(point)
Parameters:

pointQPoint

doubleTapped(eventPoint, button)
Parameters:
dragged(delta)
Parameters:

deltaQVector2D

gridLineType()
Return type:

GridLineType

Getter of property gridLineTypeᅟ .

gridLineTypeChanged()

Notification signal of property gridLineTypeᅟ .

hasSeries(series)
Parameters:

seriesQAbstract3DSeries

Return type:

bool

horizontalAspectRatio()
Return type:

float

Getter of property horizontalAspectRatioᅟ .

horizontalAspectRatioChanged(ratio)
Parameters:

ratio – float

Notification signal of property horizontalAspectRatioᅟ .

isOrthoProjection()
Return type:

bool

Getter of property orthoProjectionᅟ .

isPolar()
Return type:

bool

Getter of property polarᅟ .

isRotationEnabled()
Return type:

bool

Getter of property rotationEnabledᅟ .

isSelectionEnabled()
Return type:

bool

Getter of property selectionEnabledᅟ .

isZoomAtTargetEnabled()
Return type:

bool

Getter of property zoomAtTargetEnabledᅟ .

isZoomEnabled()
Return type:

bool

Getter of property zoomEnabledᅟ .

labelMargin()
Return type:

float

Getter of property labelMarginᅟ .

labelMarginChanged(margin)
Parameters:

margin – float

Notification signal of property labelMarginᅟ .

lightColor()
Return type:

QColor

Getter of property lightColorᅟ .

lightColorChanged()

Notification signal of property lightColorᅟ .

lightStrength()
Return type:

float

Getter of property lightStrengthᅟ .

lightStrengthChanged()

Notification signal of property lightStrengthᅟ .

locale()
Return type:

QLocale

Getter of property localeᅟ .

localeChanged(locale)
Parameters:

localeQLocale

Notification signal of property localeᅟ .

longPressed()
margin()
Return type:

float

Getter of property marginᅟ .

marginChanged(margin)
Parameters:

margin – float

Notification signal of property marginᅟ .

maxCameraXRotation()
Return type:

float

Getter of property maxCameraXRotationᅟ .

maxCameraXRotationChanged(rotation)
Parameters:

rotation – float

Notification signal of property maxCameraXRotationᅟ .

maxCameraYRotation()
Return type:

float

Getter of property maxCameraYRotationᅟ .

maxCameraYRotationChanged(rotation)
Parameters:

rotation – float

Notification signal of property maxCameraYRotationᅟ .

maxCameraZoomLevel()
Return type:

float

Getter of property maxCameraZoomLevelᅟ .

maxCameraZoomLevelChanged(zoomLevel)
Parameters:

zoomLevel – float

Notification signal of property maxCameraZoomLevelᅟ .

measureFps()
Return type:

bool

Getter of property measureFpsᅟ .

measureFpsChanged(enabled)
Parameters:

enabled – bool

Notification signal of property measureFpsᅟ .

minCameraXRotation()
Return type:

float

Getter of property minCameraXRotationᅟ .

minCameraXRotationChanged(rotation)
Parameters:

rotation – float

Notification signal of property minCameraXRotationᅟ .

minCameraYRotation()
Return type:

float

Getter of property minCameraYRotationᅟ .

minCameraYRotationChanged(rotation)
Parameters:

rotation – float

Notification signal of property minCameraYRotationᅟ .

minCameraZoomLevel()
Return type:

float

Getter of property minCameraZoomLevelᅟ .

minCameraZoomLevelChanged(zoomLevel)
Parameters:

zoomLevel – float

Notification signal of property minCameraZoomLevelᅟ .

mouseMove(mousePos)
Parameters:

mousePosQPoint

msaaSamples()
Return type:

int

Getter of property msaaSamplesᅟ .

msaaSamplesChanged(samples)
Parameters:

samples – int

Notification signal of property msaaSamplesᅟ .

optimizationHint()
Return type:

OptimizationHint

Getter of property optimizationHintᅟ .

optimizationHintChanged(hint)
Parameters:

hintOptimizationHint

Notification signal of property optimizationHintᅟ .

orthoProjectionChanged(enabled)
Parameters:

enabled – bool

Notification signal of property orthoProjectionᅟ .

pinch(delta)
Parameters:

delta – float

polarChanged(enabled)
Parameters:

enabled – bool

Notification signal of property polarᅟ .

queriedGraphPosition()
Return type:

QVector3D

Getter of property queriedGraphPositionᅟ .

queriedGraphPositionChanged(data)
Parameters:

dataQVector3D

Notification signal of property queriedGraphPositionᅟ .

radialLabelOffset()
Return type:

float

Getter of property radialLabelOffsetᅟ .

radialLabelOffsetChanged(offset)
Parameters:

offset – float

Notification signal of property radialLabelOffsetᅟ .

releaseCustomItem(item)
Parameters:

itemQCustom3DItem

releaseTheme(theme)
Parameters:

themeQGraphsTheme

removeCustomItem(item)
Parameters:

itemQCustom3DItem

removeCustomItemAt(position)
Parameters:

positionQVector3D

removeCustomItems()
renderToImage([imageSize=QSize()])
Parameters:

imageSizeQSize

Return type:

QSharedPointer

rotationEnabledChanged(enable)
Parameters:

enable – bool

Notification signal of property rotationEnabledᅟ .

scene()
Return type:

Q3DScene

Getter of property sceneᅟ .

selectedAxis()
Return type:

QAbstract3DAxis

selectedCustomItem()
Return type:

QCustom3DItem

selectedCustomItemIndex()
Return type:

int

selectedElement()
Return type:

ElementType

Getter of property selectedElementᅟ .

selectedElementChanged(type)
Parameters:

typeElementType

Notification signal of property selectedElementᅟ .

selectedLabelIndex()
Return type:

int

selectionEnabledChanged(enable)
Parameters:

enable – bool

Notification signal of property selectionEnabledᅟ .

selectionMode()
Return type:

Combination of SelectionFlag

Getter of property selectionModeᅟ .

selectionModeChanged(selectionMode)
Parameters:

selectionMode – Combination of SelectionFlag

Notification signal of property selectionModeᅟ .

setActiveTheme(activeTheme)
Parameters:

activeThemeQGraphsTheme

Setter of property activeThemeᅟ .

setAmbientLightStrength(newAmbientLightStrength)
Parameters:

newAmbientLightStrength – float

Setter of property ambientLightStrengthᅟ .

setAspectRatio(ratio)
Parameters:

ratio – float

Setter of property aspectRatioᅟ .

setCameraPosition(horizontal, vertical[, zoom=100.0f])
Parameters:
  • horizontal – float

  • vertical – float

  • zoom – float

setCameraPreset(preset)
Parameters:

presetCameraPreset

Setter of property cameraPresetᅟ .

setCameraTargetPosition(target)
Parameters:

targetQVector3D

Setter of property cameraTargetPositionᅟ .

setCameraXRotation(rotation)
Parameters:

rotation – float

Setter of property cameraXRotationᅟ .

setCameraYRotation(rotation)
Parameters:

rotation – float

Setter of property cameraYRotationᅟ .

setCameraZoomLevel(level)
Parameters:

level – float

Setter of property cameraZoomLevelᅟ .

setDefaultInputHandler()
setDragButton(button)
Parameters:

button – Combination of MouseButton

setGridLineType(gridLineType)
Parameters:

gridLineTypeGridLineType

Setter of property gridLineTypeᅟ .

setHorizontalAspectRatio(ratio)
Parameters:

ratio – float

Setter of property horizontalAspectRatioᅟ .

setLabelMargin(margin)
Parameters:

margin – float

Setter of property labelMarginᅟ .

setLightColor(newLightColor)
Parameters:

newLightColorQColor

Setter of property lightColorᅟ .

setLightStrength(newLightStrength)
Parameters:

newLightStrength – float

Setter of property lightStrengthᅟ .

setLocale(locale)
Parameters:

localeQLocale

Setter of property localeᅟ .

setMargin(margin)
Parameters:

margin – float

Setter of property marginᅟ .

setMaxCameraXRotation(rotation)
Parameters:

rotation – float

Setter of property maxCameraXRotationᅟ .

setMaxCameraYRotation(rotation)
Parameters:

rotation – float

Setter of property maxCameraYRotationᅟ .

setMaxCameraZoomLevel(level)
Parameters:

level – float

Setter of property maxCameraZoomLevelᅟ .

setMeasureFps(enable)
Parameters:

enable – bool

Setter of property measureFpsᅟ .

setMinCameraXRotation(rotation)
Parameters:

rotation – float

Setter of property minCameraXRotationᅟ .

setMinCameraYRotation(rotation)
Parameters:

rotation – float

Setter of property minCameraYRotationᅟ .

setMinCameraZoomLevel(level)
Parameters:

level – float

Setter of property minCameraZoomLevelᅟ .

setMsaaSamples(samples)
Parameters:

samples – int

Setter of property msaaSamplesᅟ .

setOptimizationHint(hint)
Parameters:

hintOptimizationHint

Setter of property optimizationHintᅟ .

setOrthoProjection(enable)
Parameters:

enable – bool

Setter of property orthoProjectionᅟ .

setPolar(enable)
Parameters:

enable – bool

Setter of property polarᅟ .

setRadialLabelOffset(offset)
Parameters:

offset – float

Setter of property radialLabelOffsetᅟ .

setRotationEnabled(enable)
Parameters:

enable – bool

Setter of property rotationEnabledᅟ .

setSelectionEnabled(enable)
Parameters:

enable – bool

Setter of property selectionEnabledᅟ .

setSelectionMode(selectionMode)
Parameters:

selectionMode – Combination of SelectionFlag

Setter of property selectionModeᅟ .

setShadowQuality(shadowQuality)
Parameters:

shadowQualityShadowQuality

Setter of property shadowQualityᅟ .

setShadowStrength(newShadowStrength)
Parameters:

newShadowStrength – float

Setter of property shadowStrengthᅟ .

setWidget(widget)
Parameters:

widgetQQuickWidget

setWrapCameraXRotation(wrap)
Parameters:

wrap – bool

Setter of property wrapCameraXRotationᅟ .

setWrapCameraYRotation(wrap)
Parameters:

wrap – bool

Setter of property wrapCameraYRotationᅟ .

setZoomAtTargetEnabled(enable)
Parameters:

enable – bool

Setter of property zoomAtTargetEnabledᅟ .

setZoomEnabled(enable)
Parameters:

enable – bool

Setter of property zoomEnabledᅟ .

shadowQuality()
Return type:

ShadowQuality

Getter of property shadowQualityᅟ .

shadowQualityChanged(quality)
Parameters:

qualityShadowQuality

Notification signal of property shadowQualityᅟ .

shadowStrength()
Return type:

float

Getter of property shadowStrengthᅟ .

shadowStrengthChanged()

Notification signal of property shadowStrengthᅟ .

tapped(eventPoint, button)
Parameters:
themes()
Return type:

.list of QGraphsTheme

unsetDefaultDragHandler()
unsetDefaultInputHandler()
unsetDefaultPinchHandler()
unsetDefaultTapHandler()
unsetDefaultWheelHandler()
wheel(event)
Parameters:

eventQWheelEvent

widget()
Return type:

QQuickWidget

wrapCameraXRotation()
Return type:

bool

Getter of property wrapCameraXRotationᅟ .

wrapCameraXRotationChanged(wrap)
Parameters:

wrap – bool

Notification signal of property wrapCameraXRotationᅟ .

wrapCameraYRotation()
Return type:

bool

Getter of property wrapCameraYRotationᅟ .

wrapCameraYRotationChanged(wrap)
Parameters:

wrap – bool

Notification signal of property wrapCameraYRotationᅟ .

zoomAtTargetEnabledChanged(enable)
Parameters:

enable – bool

Notification signal of property zoomAtTargetEnabledᅟ .

zoomEnabledChanged(enable)
Parameters:

enable – bool

Notification signal of property zoomEnabledᅟ .