QCustom3DLabel#
Synopsis#
Properties#
Functions#
def
backgroundColor
()def
font
()def
isBackgroundEnabled
()def
isBorderEnabled
()def
isFacingCamera
()def
setBackgroundColor
(color)def
setBackgroundEnabled
(enabled)def
setBorderEnabled
(enabled)def
setFacingCamera
(enabled)def
setFont
(font)def
setText
(text)def
setTextColor
(color)def
text
()def
textColor
()
Signals#
def
backgroundColorChanged
(color)def
backgroundEnabledChanged
(enabled)def
borderEnabledChanged
(enabled)def
facingCameraChanged
(enabled)def
fontChanged
(font)def
textChanged
(text)def
textColorChanged
(color)
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 PySide6.QtGraphs.QCustom3DLabel([parent=None])#
PySide6.QtGraphs.QCustom3DLabel(text, font, position, scaling, rotation[, parent=None])
- Parameters:
position –
PySide6.QtGui.QVector3D
font –
PySide6.QtGui.QFont
scaling –
PySide6.QtGui.QVector3D
rotation –
PySide6.QtGui.QQuaternion
text – str
parent –
PySide6.QtCore.QObject
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.QtGraphs.QCustom3DLabel.backgroundColor: PySide6.QtGui.QColor#
- Access functions:
setBackgroundColor
(color)Signal
backgroundColorChanged
(color)
- property PᅟySide6.QtGraphs.QCustom3DLabel.backgroundEnabled: bool#
- Access functions:
setBackgroundEnabled
(enabled)Signal
backgroundEnabledChanged
(enabled)
- property PᅟySide6.QtGraphs.QCustom3DLabel.borderEnabled: bool#
- Access functions:
setBorderEnabled
(enabled)Signal
borderEnabledChanged
(enabled)
- property PᅟySide6.QtGraphs.QCustom3DLabel.facingCamera: bool#
- Access functions:
setFacingCamera
(enabled)Signal
facingCameraChanged
(enabled)
- property PᅟySide6.QtGraphs.QCustom3DLabel.font: PySide6.QtGui.QFont#
- Access functions:
font
()setFont
(font)Signal
fontChanged
(font)
- property PᅟySide6.QtGraphs.QCustom3DLabel.text: str#
- Access functions:
text
()setText
(text)Signal
textChanged
(text)
- property PᅟySide6.QtGraphs.QCustom3DLabel.textColor: PySide6.QtGui.QColor#
- Access functions:
textColor
()setTextColor
(color)Signal
textColorChanged
(color)
- PySide6.QtGraphs.QCustom3DLabel.backgroundColor()#
- Return type:
Getter of property backgroundColor
.
- PySide6.QtGraphs.QCustom3DLabel.backgroundColorChanged(color)#
- Parameters:
color –
PySide6.QtGui.QColor
Notification signal of property backgroundColor
.
- PySide6.QtGraphs.QCustom3DLabel.backgroundEnabledChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property backgroundEnabled
.
- PySide6.QtGraphs.QCustom3DLabel.borderEnabledChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property borderEnabled
.
- PySide6.QtGraphs.QCustom3DLabel.facingCameraChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property facingCamera
.
- PySide6.QtGraphs.QCustom3DLabel.font()#
- Return type:
Getter of property font
.
- PySide6.QtGraphs.QCustom3DLabel.fontChanged(font)#
- Parameters:
font –
PySide6.QtGui.QFont
Notification signal of property font
.
- PySide6.QtGraphs.QCustom3DLabel.isBackgroundEnabled()#
- Return type:
bool
Getter of property backgroundEnabled
.
- PySide6.QtGraphs.QCustom3DLabel.isBorderEnabled()#
- Return type:
bool
Getter of property borderEnabled
.
- PySide6.QtGraphs.QCustom3DLabel.isFacingCamera()#
- Return type:
bool
Getter of property facingCamera
.
- PySide6.QtGraphs.QCustom3DLabel.setBackgroundColor(color)#
- Parameters:
color –
PySide6.QtGui.QColor
Setter of property backgroundColor
.
- PySide6.QtGraphs.QCustom3DLabel.setBackgroundEnabled(enabled)#
- Parameters:
enabled – bool
Setter of property backgroundEnabled
.
- PySide6.QtGraphs.QCustom3DLabel.setBorderEnabled(enabled)#
- Parameters:
enabled – bool
Setter of property borderEnabled
.
- PySide6.QtGraphs.QCustom3DLabel.setFacingCamera(enabled)#
- Parameters:
enabled – bool
Setter of property facingCamera
.
- PySide6.QtGraphs.QCustom3DLabel.setFont(font)#
- Parameters:
font –
PySide6.QtGui.QFont
Setter of property font
.
- PySide6.QtGraphs.QCustom3DLabel.setText(text)#
- Parameters:
text – str
Setter of property text
.
- PySide6.QtGraphs.QCustom3DLabel.setTextColor(color)#
- Parameters:
color –
PySide6.QtGui.QColor
Setter of property textColor
.
- PySide6.QtGraphs.QCustom3DLabel.text()#
- Return type:
str
Getter of property text
.
- PySide6.QtGraphs.QCustom3DLabel.textChanged(text)#
- Parameters:
text – str
Notification signal of property text
.
- PySide6.QtGraphs.QCustom3DLabel.textColor()#
- Return type:
Getter of property textColor
.
- PySide6.QtGraphs.QCustom3DLabel.textColorChanged(color)#
- Parameters:
color –
PySide6.QtGui.QColor
Notification signal of property textColor
.