PySide6.QtGraphs.QGraphsLine¶
- class QGraphsLine¶
在版本6.8中添加。
概要¶
属性¶
方法¶
def
__init__()def
labelTextColor()def
mainColor()def
mainWidth()def
__ne__()def
__eq__()def
setMainColor()def
setMainWidth()def
setSubColor()def
setSubWidth()def
subColor()def
subWidth()
注意
本文档可能包含从C++自动翻译到Python的代码片段。我们始终欢迎对代码片段翻译的贡献。如果您发现翻译问题,您也可以通过在我们的https:/bugreports.qt.io/projects/PYSIDE上创建工单来告知我们。
详细描述¶
注意
当使用
from __feature__ import true_property时,属性可以直接使用,否则通过访问器函数使用。- Access functions:
- Access functions:
- property mainWidthᅟ: float¶
- Access functions:
- Access functions:
- property subWidthᅟ: float¶
- Access functions:
- __init__()¶
- __init__(other)
- Parameters:
其他 –
QGraphsLine
属性
labelTextColorᅟ的获取器。属性
mainColorᅟ的获取器。- mainWidth()¶
- Return type:
浮点数
属性
mainWidthᅟ的获取器。- __ne__(rhs)¶
- Parameters:
rhs –
QGraphsLine- Return type:
布尔
- __eq__(rhs)¶
- Parameters:
rhs –
QGraphsLine- Return type:
布尔
属性
labelTextColorᅟ的设置器。属性
mainColorᅟ的设置器。- setMainWidth(newWidth)¶
- Parameters:
newWidth – 浮点数
属性
mainWidthᅟ的设置器。属性
subColorᅟ的设置器。- setSubWidth(newWidth)¶
- Parameters:
newWidth – 浮点数
属性
subWidthᅟ的设置器。属性
subColorᅟ的获取器。- subWidth()¶
- Return type:
浮点数
属性
subWidthᅟ的获取器。