class Q3DTheme#

Inheritance diagram of PySide6.QtGraphs.Q3DTheme

Synopsis#

Properties#

Methods#

Slots#

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#

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:
property backgroundColorᅟ: QColor#
Access functions:
property backgroundEnabledᅟ: bool#
Access functions:
property colorStyleᅟ: Q3DTheme.ColorStyle#
Access functions:
property fontᅟ: QFont#
Access functions:
property gridEnabledᅟ: bool#
Access functions:
property gridLineColorᅟ: QColor#
Access functions:
property labelBackgroundColorᅟ: QColor#
Access functions:
property labelBackgroundEnabledᅟ: bool#
Access functions:
property labelBorderEnabledᅟ: bool#
Access functions:
property labelTextColorᅟ: QColor#
Access functions:
property labelsEnabledᅟ: bool#
Access functions:
property lightColorᅟ: QColor#
Access functions:
property lightStrengthᅟ: float#
Access functions:
property multiHighlightColorᅟ: QColor#
Access functions:
property multiHighlightGradientᅟ: QJSValue#
Access functions:
property shadowStrengthᅟ: float#
Access functions:
property singleHighlightColorᅟ: QColor#
Access functions:
property singleHighlightGradientᅟ: QJSValue#
Access functions:
property typeᅟ: Q3DTheme.Theme#
Access functions:
property windowColorᅟ: QColor#
Access functions:
__init__([parent=None])#
Parameters:

parentQObject

__init__(themeType[, parent=None])
Parameters:
ambientLightStrength()#
Return type:

float

Getter of property ambientLightStrengthᅟ .

ambientLightStrengthChanged(strength)#
Parameters:

strength – float

Notification signal of property ambientLightStrengthᅟ .

backgroundColor()#
Return type:

QColor

Getter of property backgroundColorᅟ .

backgroundColorChanged(color)#
Parameters:

colorQColor

Notification signal of property backgroundColorᅟ .

backgroundEnabledChanged(enabled)#
Parameters:

enabled – bool

Notification signal of property backgroundEnabledᅟ .

baseColors()#
Return type:

.list of QColor

baseColorsChanged(colors)#
Parameters:

colors – .list of QColor

baseGradients()#
Return type:

.list of QLinearGradient

baseGradientsChanged(gradients)#
Parameters:

gradients – .list of QLinearGradient

colorStyle()#
Return type:

ColorStyle

Getter of property colorStyleᅟ .

colorStyleChanged(style)#
Parameters:

styleColorStyle

Notification signal of property colorStyleᅟ .

font()#
Return type:

QFont

Getter of property fontᅟ .

fontChanged(font)#
Parameters:

fontQFont

Notification signal of property fontᅟ .

gridEnabledChanged(enabled)#
Parameters:

enabled – bool

Notification signal of property gridEnabledᅟ .

gridLineColor()#
Return type:

QColor

Getter of property gridLineColorᅟ .

gridLineColorChanged(color)#
Parameters:

colorQColor

Notification signal of property gridLineColorᅟ .

handleBaseColorUpdate()#
handleBaseGradientUpdate()#
handleMultiHLGradientUpdate()#
handleSingleHLGradientUpdate()#
handleTypeChange(themeType)#
Parameters:

themeTypeTheme

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ᅟ .

labelBackgroundColor()#
Return type:

QColor

Getter of property labelBackgroundColorᅟ .

labelBackgroundColorChanged(color)#
Parameters:

colorQColor

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ᅟ .

labelTextColor()#
Return type:

QColor

Getter of property labelTextColorᅟ .

labelTextColorChanged(color)#
Parameters:

colorQColor

Notification signal of property labelTextColorᅟ .

labelsEnabledChanged(enabled)#
Parameters:

enabled – bool

Notification signal of property labelsEnabledᅟ .

lightColor()#
Return type:

QColor

Getter of property lightColorᅟ .

lightColorChanged(color)#
Parameters:

colorQColor

Notification signal of property lightColorᅟ .

lightStrength()#
Return type:

float

Getter of property lightStrengthᅟ .

lightStrengthChanged(strength)#
Parameters:

strength – float

Notification signal of property lightStrengthᅟ .

multiHighlightColor()#
Return type:

QColor

Getter of property multiHighlightColorᅟ .

multiHighlightColorChanged(color)#
Parameters:

colorQColor

Notification signal of property multiHighlightColorᅟ .

multiHighlightGradient()#
Return type:

QLinearGradient

multiHighlightGradientChanged(gradient)#
Parameters:

gradientQLinearGradient

multiHighlightGradientChangedQML(gradient)#
Parameters:

gradientQJSValue

Notification signal of property multiHighlightGradientᅟ .

needRender()#
setAmbientLightStrength(strength)#
Parameters:

strength – float

Setter of property ambientLightStrengthᅟ .

setBackgroundColor(color)#
Parameters:

colorQColor

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:

styleColorStyle

Setter of property colorStyleᅟ .

setFont(font)#
Parameters:

fontQFont

Setter of property fontᅟ .

setGridEnabled(enabled)#
Parameters:

enabled – bool

Setter of property gridEnabledᅟ .

setGridLineColor(color)#
Parameters:

colorQColor

Setter of property gridLineColorᅟ .

setLabelBackgroundColor(color)#
Parameters:

colorQColor

Setter of property labelBackgroundColorᅟ .

setLabelBackgroundEnabled(enabled)#
Parameters:

enabled – bool

Setter of property labelBackgroundEnabledᅟ .

setLabelBorderEnabled(enabled)#
Parameters:

enabled – bool

Setter of property labelBorderEnabledᅟ .

setLabelTextColor(color)#
Parameters:

colorQColor

Setter of property labelTextColorᅟ .

setLabelsEnabled(enabled)#
Parameters:

enabled – bool

Setter of property labelsEnabledᅟ .

setLightColor(color)#
Parameters:

colorQColor

Setter of property lightColorᅟ .

setLightStrength(strength)#
Parameters:

strength – float

Setter of property lightStrengthᅟ .

setMultiHighlightColor(color)#
Parameters:

colorQColor

Setter of property multiHighlightColorᅟ .

setMultiHighlightGradient(gradient)#
Parameters:

gradientQLinearGradient

setShadowStrength(strength)#
Parameters:

strength – float

Setter of property shadowStrengthᅟ .

setSingleHighlightColor(color)#
Parameters:

colorQColor

Setter of property singleHighlightColorᅟ .

setSingleHighlightGradient(gradient)#
Parameters:

gradientQLinearGradient

setType(themeType)#
Parameters:

themeTypeTheme

Setter of property typeᅟ .

setWindowColor(color)#
Parameters:

colorQColor

Setter of property windowColorᅟ .

shadowStrength()#
Return type:

float

Getter of property shadowStrengthᅟ .

shadowStrengthChanged(strength)#
Parameters:

strength – float

Notification signal of property shadowStrengthᅟ .

singleHighlightColor()#
Return type:

QColor

Getter of property singleHighlightColorᅟ .

singleHighlightColorChanged(color)#
Parameters:

colorQColor

Notification signal of property singleHighlightColorᅟ .

singleHighlightGradient()#
Return type:

QLinearGradient

singleHighlightGradientChanged(gradient)#
Parameters:

gradientQLinearGradient

singleHighlightGradientQMLChanged(gradient)#
Parameters:

gradientQJSValue

Notification signal of property singleHighlightGradientᅟ .

type()#
Return type:

Theme

Getter of property typeᅟ .

typeChanged(themeType)#
Parameters:

themeTypeTheme

Notification signal of property typeᅟ .

windowColor()#
Return type:

QColor

Getter of property windowColorᅟ .

windowColorChanged(color)#
Parameters:

colorQColor

Notification signal of property windowColorᅟ .