graphsline QML Value Type
基于QGraphsLine 属性的线条值。更多内容...
| In C++: | QGraphsLine |
- graphsline 是Qt Graphs QML 通用类型的一部分。
属性
- labelTextColor : color
- mainColor : color
- mainWidth : real
- subColor : color
- subWidth : real
详细说明
graphsline 类型指具有QGraphsLine 属性的线值。
除非另有定义,否则graphsline 类型的属性遵循theme 的定义。
在与 C++ 集成时,请注意:从 C++ 传递到 QML的任何QGraphsLine 值都会自动转换为graphsline 值,反之亦然。
该值类型由QtGraphs 导入提供。
另请参阅 QML 值类型。
属性文档
labelTextColor : color
标签所用文本的颜色。
mainColor : color
主线的颜色。
mainWidth : real
干线的宽度。
subColor : color
子行的颜色。
subWidth : real
子线的宽度。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.