- 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 backgroundVisibleᅟ: bool¶
- Access functions:
- property borderVisibleᅟ: 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
Getter of property
backgroundColorᅟ
.Notification signal of property
backgroundColorᅟ
.- backgroundVisibleChanged(visible)¶
- Parameters:
visible – bool
Notification signal of property
backgroundVisibleᅟ
.- borderVisibleChanged(visible)¶
- Parameters:
visible – bool
Notification signal of property
borderVisibleᅟ
.- facingCameraChanged(enabled)¶
- Parameters:
enabled – bool
Notification signal of property
facingCameraᅟ
.Getter of property
fontᅟ
.Notification signal of property
fontᅟ
.- isBackgroundVisible()¶
- Return type:
bool
Getter of property
backgroundVisibleᅟ
.- isBorderVisible()¶
- Return type:
bool
Getter of property
borderVisibleᅟ
.- isFacingCamera()¶
- Return type:
bool
Getter of property
facingCameraᅟ
.Setter of property
backgroundColorᅟ
.- setBackgroundVisible(visible)¶
- Parameters:
visible – bool
Setter of property
backgroundVisibleᅟ
.- setBorderVisible(visible)¶
- Parameters:
visible – bool
Setter of property
borderVisibleᅟ
.- 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ᅟ
.