- class Q3DGraphsWidgetItem¶
-
Inherited by:
Q3DSurfaceWidgetItem
,Q3DScatterWidgetItem
,Q3DBarsWidgetItem
Synopsis¶
Properties¶
Methods¶
def
activeTheme()
def
addCustomItem()
def
addTheme()
def
aspectRatio()
def
cameraPreset()
def
clearSelection()
def
currentFps()
def
customItems()
def
doPicking()
def
gridLineType()
def
hasSeries()
def
isPolar()
def
isZoomEnabled()
def
labelMargin()
def
lightColor()
def
lightStrength()
def
locale()
def
margin()
def
measureFps()
def
msaaSamples()
def
releaseTheme()
def
renderToImage()
def
scene()
def
selectedAxis()
def
selectionMode()
def
setActiveTheme()
def
setAspectRatio()
def
setDragButton()
def
setLabelMargin()
def
setLightColor()
def
setLocale()
def
setMargin()
def
setMeasureFps()
def
setMsaaSamples()
def
setPolar()
def
setWidget()
def
setZoomEnabled()
def
shadowQuality()
def
shadowStrength()
def
themes()
def
widget()
Signals¶
def
doubleTapped()
def
dragged()
def
localeChanged()
def
longPressed()
def
marginChanged()
def
mouseMove()
def
pinch()
def
polarChanged()
def
tapped()
def
wheel()
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:
- Access functions:
- property cameraXRotationᅟ: float¶
- Access functions:
- property cameraYRotationᅟ: float¶
- Access functions:
- property cameraZoomLevelᅟ: float¶
- Access functions:
- property currentFpsᅟ: int¶
- Access functions:
Signal
currentFpsChanged()
- property gridLineTypeᅟ: QtGraphs3D.GridLineType¶
- Access functions:
- property horizontalAspectRatioᅟ: float¶
- Access functions:
- property labelMarginᅟ: float¶
- Access functions:
- Access functions:
- property lightStrengthᅟ: float¶
- Access functions:
- Access functions:
Signal
localeChanged()
- property marginᅟ: float¶
- Access functions:
Signal
marginChanged()
- 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:
Signal
polarChanged()
- Access functions:
- property radialLabelOffsetᅟ: float¶
- Access functions:
- property rotationEnabledᅟ: bool¶
- Access functions:
- 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:
Getter of property
activeThemeᅟ
.- activeThemeChanged(activeTheme)¶
- Parameters:
activeTheme –
QGraphsTheme
Notification signal of property
activeThemeᅟ
.- addCustomItem(item)¶
- Parameters:
item –
QCustom3DItem
- Return type:
int
- addTheme(theme)¶
- Parameters:
theme –
QGraphsTheme
- 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:
Getter of property
cameraPresetᅟ
.- cameraPresetChanged(preset)¶
- Parameters:
preset –
CameraPreset
Notification signal of property
cameraPresetᅟ
.Getter of property
cameraTargetPositionᅟ
.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
- doubleTapped(eventPoint, button)¶
- Parameters:
eventPoint –
QEventPoint
button –
MouseButton
- gridLineType()¶
- Return type:
Getter of property
gridLineTypeᅟ
.- gridLineTypeChanged()¶
Notification signal of property
gridLineTypeᅟ
.- hasSeries(series)¶
- Parameters:
series –
QAbstract3DSeries
- 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ᅟ
.Getter of property
lightColorᅟ
.- lightColorChanged()¶
Notification signal of property
lightColorᅟ
.- lightStrength()¶
- Return type:
float
Getter of property
lightStrengthᅟ
.- lightStrengthChanged()¶
Notification signal of property
lightStrengthᅟ
.Getter of property
localeᅟ
.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ᅟ
.- msaaSamples()¶
- Return type:
int
Getter of property
msaaSamplesᅟ
.- msaaSamplesChanged(samples)¶
- Parameters:
samples – int
Notification signal of property
msaaSamplesᅟ
.- optimizationHint()¶
- Return type:
Getter of property
optimizationHintᅟ
.- optimizationHintChanged(hint)¶
- Parameters:
hint –
OptimizationHint
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ᅟ
.Getter of property
queriedGraphPositionᅟ
.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:
item –
QCustom3DItem
- releaseTheme(theme)¶
- Parameters:
theme –
QGraphsTheme
- removeCustomItem(item)¶
- Parameters:
item –
QCustom3DItem
- removeCustomItems()¶
- rotationEnabledChanged(enable)¶
- Parameters:
enable – bool
Notification signal of property
rotationEnabledᅟ
.Getter of property
sceneᅟ
.- selectedAxis()¶
- Return type:
- selectedCustomItem()¶
- Return type:
- selectedCustomItemIndex()¶
- Return type:
int
- selectedElement()¶
- Return type:
Getter of property
selectedElementᅟ
.- selectedElementChanged(type)¶
- Parameters:
type –
ElementType
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:
activeTheme –
QGraphsTheme
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:
preset –
CameraPreset
Setter of property
cameraPresetᅟ
.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:
gridLineType –
GridLineType
Setter of property
gridLineTypeᅟ
.- setHorizontalAspectRatio(ratio)¶
- Parameters:
ratio – float
Setter of property
horizontalAspectRatioᅟ
.- setLabelMargin(margin)¶
- Parameters:
margin – float
Setter of property
labelMarginᅟ
.Setter of property
lightColorᅟ
.- setLightStrength(newLightStrength)¶
- Parameters:
newLightStrength – float
Setter of property
lightStrengthᅟ
.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:
hint –
OptimizationHint
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:
shadowQuality –
ShadowQuality
Setter of property
shadowQualityᅟ
.- setShadowStrength(newShadowStrength)¶
- Parameters:
newShadowStrength – float
Setter of property
shadowStrengthᅟ
.- setWidget(widget)¶
- Parameters:
widget –
QQuickWidget
- 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:
Getter of property
shadowQualityᅟ
.- shadowQualityChanged(quality)¶
- Parameters:
quality –
ShadowQuality
Notification signal of property
shadowQualityᅟ
.- shadowStrength()¶
- Return type:
float
Getter of property
shadowStrengthᅟ
.- shadowStrengthChanged()¶
Notification signal of property
shadowStrengthᅟ
.- tapped(eventPoint, button)¶
- Parameters:
eventPoint –
QEventPoint
button –
MouseButton
- themes()¶
- Return type:
.list of QGraphsTheme
- unsetDefaultDragHandler()¶
- unsetDefaultInputHandler()¶
- unsetDefaultPinchHandler()¶
- unsetDefaultTapHandler()¶
- unsetDefaultWheelHandler()¶
- wheel(event)¶
- Parameters:
event –
QWheelEvent
- widget()¶
- Return type:
- 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ᅟ
.