- class Q3DTheme#
-
Synopsis#
Properties#
Methods#
def
__init__()
def
baseColors()
def
baseGradients()
def
colorStyle()
def
font()
def
gridLineColor()
def
isGridEnabled()
def
labelTextColor()
def
lightColor()
def
lightStrength()
def
setBaseColors()
def
setColorStyle()
def
setFont()
def
setGridEnabled()
def
setLightColor()
def
setType()
def
setWindowColor()
def
shadowStrength()
def
type()
def
windowColor()
Slots#
Signals#
def
fontChanged()
def
needRender()
def
typeChanged()
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 ColorStyle#
- class Theme#
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property ambientLightStrengthᅟ: float#
- Access functions:
- Access functions:
- property backgroundEnabledᅟ: bool#
- Access functions:
- property colorStyleᅟ: Q3DTheme.ColorStyle#
- Access functions:
- Access functions:
Signal
fontChanged()
- property gridEnabledᅟ: bool#
- Access functions:
- Access functions:
- Access functions:
- property labelBackgroundEnabledᅟ: bool#
- Access functions:
- property labelBorderEnabledᅟ: bool#
- Access functions:
- Access functions:
- property labelsEnabledᅟ: bool#
- Access functions:
- Access functions:
- property lightStrengthᅟ: float#
- Access functions:
- Access functions:
- Access functions:
- property shadowStrengthᅟ: float#
- Access functions:
- Access functions:
- Access functions:
- property typeᅟ: Q3DTheme.Theme#
- Access functions:
Signal
typeChanged()
- Access functions:
- ambientLightStrength()#
- Return type:
float
Getter of property
ambientLightStrengthᅟ
.- ambientLightStrengthChanged(strength)#
- Parameters:
strength – float
Notification signal of property
ambientLightStrengthᅟ
.Getter of property
backgroundColorᅟ
.Notification signal of property
backgroundColorᅟ
.- backgroundEnabledChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property
backgroundEnabledᅟ
.- baseColorsChanged(colors)#
- Parameters:
colors – .list of QColor
- baseGradients()#
- Return type:
.list of QLinearGradient
- baseGradientsChanged(gradients)#
- Parameters:
gradients – .list of QLinearGradient
- colorStyle()#
- Return type:
Getter of property
colorStyleᅟ
.- colorStyleChanged(style)#
- Parameters:
style –
ColorStyle
Notification signal of property
colorStyleᅟ
.Getter of property
fontᅟ
.Notification signal of property
fontᅟ
.- gridEnabledChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property
gridEnabledᅟ
.Getter of property
gridLineColorᅟ
.Notification signal of property
gridLineColorᅟ
.- handleBaseColorUpdate()#
- handleBaseGradientUpdate()#
- handleMultiHLGradientUpdate()#
- handleSingleHLGradientUpdate()#
- isBackgroundEnabled()#
- Return type:
bool
Getter of property
backgroundEnabledᅟ
.- isGridEnabled()#
- Return type:
bool
Getter of property
gridEnabledᅟ
.- isLabelBackgroundEnabled()#
- Return type:
bool
Getter of property
labelBackgroundEnabledᅟ
.- isLabelBorderEnabled()#
- Return type:
bool
Getter of property
labelBorderEnabledᅟ
.- isLabelsEnabled()#
- Return type:
bool
Getter of property
labelsEnabledᅟ
.Getter of property
labelBackgroundColorᅟ
.Notification signal of property
labelBackgroundColorᅟ
.- labelBackgroundEnabledChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property
labelBackgroundEnabledᅟ
.- labelBorderEnabledChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property
labelBorderEnabledᅟ
.Getter of property
labelTextColorᅟ
.Notification signal of property
labelTextColorᅟ
.- labelsEnabledChanged(enabled)#
- Parameters:
enabled – bool
Notification signal of property
labelsEnabledᅟ
.Getter of property
lightColorᅟ
.Notification signal of property
lightColorᅟ
.- lightStrength()#
- Return type:
float
Getter of property
lightStrengthᅟ
.- lightStrengthChanged(strength)#
- Parameters:
strength – float
Notification signal of property
lightStrengthᅟ
.Getter of property
multiHighlightColorᅟ
.Notification signal of property
multiHighlightColorᅟ
.- multiHighlightGradient()#
- Return type:
- multiHighlightGradientChanged(gradient)#
- Parameters:
gradient –
QLinearGradient
Notification signal of property
multiHighlightGradientᅟ
.- needRender()#
- setAmbientLightStrength(strength)#
- Parameters:
strength – float
Setter of property
ambientLightStrengthᅟ
.Setter of property
backgroundColorᅟ
.- setBackgroundEnabled(enabled)#
- Parameters:
enabled – bool
Setter of property
backgroundEnabledᅟ
.- setBaseColors(colors)#
- Parameters:
colors – .list of QColor
- setBaseGradients(gradients)#
- Parameters:
gradients – .list of QLinearGradient
- setColorStyle(style)#
- Parameters:
style –
ColorStyle
Setter of property
colorStyleᅟ
.Setter of property
fontᅟ
.- setGridEnabled(enabled)#
- Parameters:
enabled – bool
Setter of property
gridEnabledᅟ
.Setter of property
gridLineColorᅟ
.Setter of property
labelBackgroundColorᅟ
.- setLabelBackgroundEnabled(enabled)#
- Parameters:
enabled – bool
Setter of property
labelBackgroundEnabledᅟ
.- setLabelBorderEnabled(enabled)#
- Parameters:
enabled – bool
Setter of property
labelBorderEnabledᅟ
.Setter of property
labelTextColorᅟ
.- setLabelsEnabled(enabled)#
- Parameters:
enabled – bool
Setter of property
labelsEnabledᅟ
.Setter of property
lightColorᅟ
.- setLightStrength(strength)#
- Parameters:
strength – float
Setter of property
lightStrengthᅟ
.Setter of property
multiHighlightColorᅟ
.- setMultiHighlightGradient(gradient)#
- Parameters:
gradient –
QLinearGradient
- setShadowStrength(strength)#
- Parameters:
strength – float
Setter of property
shadowStrengthᅟ
.Setter of property
singleHighlightColorᅟ
.- setSingleHighlightGradient(gradient)#
- Parameters:
gradient –
QLinearGradient
Setter of property
typeᅟ
.Setter of property
windowColorᅟ
.- shadowStrength()#
- Return type:
float
Getter of property
shadowStrengthᅟ
.- shadowStrengthChanged(strength)#
- Parameters:
strength – float
Notification signal of property
shadowStrengthᅟ
.Getter of property
singleHighlightColorᅟ
.Notification signal of property
singleHighlightColorᅟ
.- singleHighlightGradient()#
- Return type:
- singleHighlightGradientChanged(gradient)#
- Parameters:
gradient –
QLinearGradient
Notification signal of property
singleHighlightGradientᅟ
.Getter of property
typeᅟ
.Notification signal of property
typeᅟ
.Getter of property
windowColorᅟ
.Notification signal of property
windowColorᅟ
.