PySide6.QtCharts.QColorAxis

class QColorAxis

PySide6.QtCharts.QColorAxis 的继承图

概要

属性

方法

信号

注意

本文档可能包含从C++自动翻译到Python的代码片段。我们始终欢迎对代码片段翻译的贡献。如果您发现翻译问题,您也可以通过在我们的https:/bugreports.qt.io/projects/PYSIDE上创建工单来告知我们。

详细描述

注意

当使用from __feature__ import true_property时,属性可以直接使用,否则通过访问器函数使用。

property autoRangeᅟ: bool
Access functions:
property maxᅟ: float
Access functions:
property minᅟ: float
Access functions:
property sizeᅟ: float
Access functions:
property tickCountᅟ: int
Access functions:
__init__([parent=None])
Parameters:

父对象QObject

autoRange()
Return type:

布尔

属性 autoRangeᅟ 的获取器。

autoRangeChanged(autoRange)
Parameters:

autoRange – 布尔值

属性 autoRangeᅟ 的通知信号。

gradient()
Return type:

QLinearGradient

gradientChanged(gradient)
Parameters:

渐变QLinearGradient

max()
Return type:

浮点数

属性 maxᅟ 的获取器。

maxChanged(max)
Parameters:

max – 浮点数

属性 maxᅟ 的通知信号。

min()
Return type:

浮点数

属性 minᅟ 的获取器。

minChanged(min)
Parameters:

min – 浮点数

属性 minᅟ 的通知信号。

rangeChanged(min, max)
Parameters:
  • min – 浮点数

  • max – 浮点数

setAutoRange(autoRange)
Parameters:

autoRange – 布尔值

属性 autoRangeᅟ 的设置器。

setGradient(gradient)
Parameters:

渐变QLinearGradient

setMax(max)
Parameters:

max – 浮点数

属性 maxᅟ 的设置器。

setMin(min)
Parameters:

min – 浮点数

属性 minᅟ 的设置器。

setRange(min, max)
Parameters:
  • min – 浮点数

  • max – 浮点数

setSize(size)
Parameters:

size – 浮点数

属性 sizeᅟ 的设置器。

setTickCount(count)
Parameters:

count – int

属性 tickCountᅟ 的设置器。

size()
Return type:

浮点数

属性 sizeᅟ 的获取器。

sizeChanged(size)
Parameters:

size – 浮点数

属性 sizeᅟ 的通知信号。

tickCount()
Return type:

整数

属性 tickCountᅟ 的获取器。

tickCountChanged(tickCount)
Parameters:

tickCount – int

属性 tickCountᅟ 的通知信号。