- class QCustom3DLabel#
-
Synopsis#
Properties#
Methods#
def
__init__()
def
font()
def
isFacingCamera()
def
setFont()
def
setText()
def
setTextColor()
def
text()
def
textColor()
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.- Access functions:
- property backgroundEnabledᅟ: bool#
- Access functions:
- property borderEnabledᅟ: bool#
- Access functions:
- property facingCameraᅟ: bool#
- Access functions:
- Access functions:
Signal
fontChanged()
- property textᅟ: str#
- Access functions:
Signal
textChanged()
- Access functions:
- __init__(text, font, position, scaling, rotation[, parent=None])#
- Parameters:
text – str
font –
QFont
position –
QVector3D
scaling –
QVector3D
rotation –
QQuaternion
parent –
QObject
- __init__([parent=None])
- Parameters:
parent –
QObject
Getter of property
backgroundColorᅟ
.Notification signal of property
backgroundColorᅟ
.- backgroundEnabledChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property
backgroundEnabledᅟ
.- borderEnabledChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property
borderEnabledᅟ
.- facingCameraChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property
facingCameraᅟ
.Getter of property
fontᅟ
.Notification signal of property
fontᅟ
.- isBackgroundEnabled()#
- Return type:
bool
Getter of property
backgroundEnabledᅟ
.- isBorderEnabled()#
- Return type:
bool
Getter of property
borderEnabledᅟ
.- isFacingCamera()#
- Return type:
bool
Getter of property
facingCameraᅟ
.Setter of property
backgroundColorᅟ
.- setBackgroundEnabled(enabled)#
- Parameters:
enabled – bool
Setter of property
backgroundEnabledᅟ
.- setBorderEnabled(enabled)#
- Parameters:
enabled – bool
Setter of property
borderEnabledᅟ
.- setFacingCamera(enabled)#
- Parameters:
enabled – bool
Setter of property
facingCameraᅟ
.Setter of property
fontᅟ
.- setText(text)#
- Parameters:
text – str
Setter of property
textᅟ
.Setter of property
textColorᅟ
.- text()#
- Return type:
str
Getter of property
textᅟ
.- textChanged(text)#
- Parameters:
text – str
Notification signal of property
textᅟ
.Getter of property
textColorᅟ
.Notification signal of property
textColorᅟ
.