CandlestickSet QML Type
表示K线图中的单个K线项。更多...
| Import Statement: | import QtCharts 2.12 |
| Since: | QtCharts 2.2 |
| In C++: | QCandlestickSet |
| Status: | Deprecated |
此类型已弃用。我们强烈建议不要在新代码中使用它。
属性
信号
- clicked()
- doubleClicked()
- hovered(bool status)
- pressed()
- released()
详细说明
要生成一个K线图项的图形表示,需要以下五个参数:open 、high 、low 、close 以及timestamp 。
另请参阅 CandlestickSeries 。
属性文档
brushFilename : string
用作K线图项画笔的文件名称。
close : real
该K线项的收盘价。简体中文(大陆)
high : real
该烛台物品的价值很高。
low : real
该K线项的低值。
open : real
该K线项的开盘价。
timestamp : real
K线项的时间戳值。
信号文档
clicked()
当点击K线控件时,会触发此信号。
相应的信号处理程序为onClicked 。
注意: 相应的处理程序 为onClicked 。
doubleClicked()
当用户双击一个K线项目时,会触发此信号。
相应的信号处理程序是onDoubleClicked 。
注意: 相应的处理程序 是onDoubleClicked 。
hovered(bool status)
当鼠标悬停在K线项目上时,会触发此信号。
当鼠标移到该元素上时,status 会变为true ;当鼠标移开时,它会变为false 。
相应的信号处理程序为onHovered 。
注意: 对应的处理程序 是onHovered 。
pressed()
当用户点击K线图项并按住鼠标按钮时,会触发此信号。
相应的信号处理程序是onPressed 。
注意: 相应的处理程序 为onPressed 。
released()
当用户在K线图项上松开鼠标按钮时,会触发此信号。
相应的信号处理程序为onReleased 。
注意: 相应的处理程序 为onReleased 。
© 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.