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 值,反之亦然。
该值类型由QtQuick import 提供。
另请参阅 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.