PySide6.QtCharts.QColorAxis¶
- class QColorAxis¶
-
概要¶
属性¶
方法¶
def
__init__()def
autoRange()def
gradient()def
max()def
min()def
setAutoRange()def
setGradient()def
setMax()def
setMin()def
setRange()def
setSize()def
setTickCount()def
size()def
tickCount()
信号¶
def
maxChanged()def
minChanged()def
rangeChanged()def
sizeChanged()
注意
本文档可能包含从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:
- autoRange()¶
- Return type:
布尔
属性
autoRangeᅟ的获取器。- autoRangeChanged(autoRange)¶
- Parameters:
autoRange – 布尔值
属性
autoRangeᅟ的通知信号。- gradient()¶
- Return type:
- 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ᅟ的通知信号。