- class QAbstract3DGraph#
-
Inherited by:
Q3DSurface
,Q3DScatter
,Q3DBars
Synopsis#
Properties#
Methods#
def
__init__()
def
activeTheme()
def
addCustomItem()
def
addTheme()
def
aspectRatio()
def
cameraPreset()
def
clearSelection()
def
currentFps()
def
customItems()
def
hasSeries()
def
inputHandlers()
def
isPolar()
def
locale()
def
margin()
def
measureFps()
def
msaaSamples()
def
releaseTheme()
def
renderToImage()
def
scene()
def
selectedAxis()
def
selectionMode()
def
setActiveTheme()
def
setAspectRatio()
def
setLocale()
def
setMargin()
def
setMeasureFps()
def
setMsaaSamples()
def
setPolar()
def
shadowQuality()
def
themes()
Signals#
def
localeChanged()
def
marginChanged()
def
polarChanged()
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#
- class QmlIsUncreatable#
- class SelectionFlag#
- class ShadowQuality#
- class ElementType#
- class OptimizationHint#
- class RenderingMode#
- class CameraPreset#
New in version 6.7.
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property activeInputHandlerᅟ: QAbstract3DInputHandler#
- Access functions:
- Access functions:
- property aspectRatioᅟ: float#
- Access functions:
- property cameraPresetᅟ: QAbstract3DGraph.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 horizontalAspectRatioᅟ: float#
- Access functions:
- Access functions:
Signal
localeChanged()
- property marginᅟ: float#
- Access functions:
Signal
marginChanged()
- property maxCameraZoomLevelᅟ: float#
- Access functions:
- property measureFpsᅟ: bool#
- Access functions:
- property minCameraZoomLevelᅟ: float#
- Access functions:
- property msaaSamplesᅟ: int#
- Access functions:
- property optimizationHintᅟ: QAbstract3DGraph.OptimizationHint#
- Access functions:
- property orthoProjectionᅟ: bool#
- Access functions:
- property polarᅟ: bool#
- Access functions:
Signal
polarChanged()
- Access functions:
- property radialLabelOffsetᅟ: float#
- Access functions:
- Access functions:
- property selectedElementᅟ: QAbstract3DGraph.ElementType#
- Access functions:
- property selectionModeᅟ: Combination of QAbstract3DGraph.SelectionFlag#
- Access functions:
- property shadowQualityᅟ: QAbstract3DGraph.ShadowQuality#
- Access functions:
- property wrapCameraXRotationᅟ: bool#
- Access functions:
- property wrapCameraYRotationᅟ: bool#
- Access functions:
- __init__()#
- activeInputHandler()#
- Return type:
Getter of property
activeInputHandlerᅟ
.- activeInputHandlerChanged(inputHandler)#
- Parameters:
inputHandler –
QAbstract3DInputHandler
Notification signal of property
activeInputHandlerᅟ
.Getter of property
activeThemeᅟ
.Notification signal of property
activeThemeᅟ
.- addCustomItem(item)#
- Parameters:
item –
QCustom3DItem
- Return type:
int
- addInputHandler(inputHandler)#
- Parameters:
inputHandler –
QAbstract3DInputHandler
- 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
- 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ᅟ
.- inputHandlers()#
- Return type:
.list of QAbstract3DInputHandler
- isOrthoProjection()#
- Return type:
bool
Getter of property
orthoProjectionᅟ
.- isPolar()#
- Return type:
bool
Getter of property
polarᅟ
.Getter of property
localeᅟ
.Notification signal of property
localeᅟ
.- margin()#
- Return type:
float
Getter of property
marginᅟ
.- marginChanged(margin)#
- Parameters:
margin – float
Notification signal of property
marginᅟ
.- maxCameraXRotation()#
- Return type:
float
- maxCameraXRotationChanged(rotation)#
- Parameters:
rotation – float
- maxCameraYRotation()#
- Return type:
float
- maxCameraYRotationChanged(rotation)#
- Parameters:
rotation – float
- 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
- minCameraXRotationChanged(rotation)#
- Parameters:
rotation – float
- minCameraYRotation()#
- Return type:
float
- minCameraYRotationChanged(rotation)#
- Parameters:
rotation – float
- 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ᅟ
.- 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
- releaseInputHandler(inputHandler)#
- Parameters:
inputHandler –
QAbstract3DInputHandler
- removeCustomItem(item)#
- Parameters:
item –
QCustom3DItem
- removeCustomItems()#
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
- selectionMode()#
- Return type:
Combination of
SelectionFlag
Getter of property
selectionModeᅟ
.- selectionModeChanged(selectionMode)#
- Parameters:
selectionMode – Combination of
SelectionFlag
Notification signal of property
selectionModeᅟ
.- setActiveInputHandler(inputHandler)#
- Parameters:
inputHandler –
QAbstract3DInputHandler
Setter of property
activeInputHandlerᅟ
.Setter of property
activeThemeᅟ
.- 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ᅟ
.- setHorizontalAspectRatio(ratio)#
- Parameters:
ratio – float
Setter of property
horizontalAspectRatioᅟ
.Setter of property
localeᅟ
.- setMargin(margin)#
- Parameters:
margin – float
Setter of property
marginᅟ
.- setMaxCameraXRotation(rotation)#
- Parameters:
rotation – float
- setMaxCameraYRotation(rotation)#
- Parameters:
rotation – float
- setMaxCameraZoomLevel(level)#
- Parameters:
level – float
Setter of property
maxCameraZoomLevelᅟ
.- setMeasureFps(enable)#
- Parameters:
enable – bool
Setter of property
measureFpsᅟ
.- setMinCameraXRotation(rotation)#
- Parameters:
rotation – float
- setMinCameraYRotation(rotation)#
- Parameters:
rotation – float
- 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ᅟ
.- setSelectionMode(selectionMode)#
- Parameters:
selectionMode – Combination of
SelectionFlag
Setter of property
selectionModeᅟ
.- setShadowQuality(shadowQuality)#
- Parameters:
shadowQuality –
ShadowQuality
Setter of property
shadowQualityᅟ
.- setWrapCameraXRotation(wrap)#
- Parameters:
wrap – bool
Setter of property
wrapCameraXRotationᅟ
.- setWrapCameraYRotation(wrap)#
- Parameters:
wrap – bool
Setter of property
wrapCameraYRotationᅟ
.- shadowQuality()#
- Return type:
Getter of property
shadowQualityᅟ
.- shadowQualityChanged(quality)#
- Parameters:
quality –
ShadowQuality
Notification signal of property
shadowQualityᅟ
.- 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ᅟ
.