CandlestickSet QML Type

代表蜡烛图中的单个蜡烛图项目。更多

Import Statement: import QtCharts 2.9
Since: QtCharts 2.2
In C++: QCandlestickSet

属性

信号

详细说明

创建烛台项目的图形表示需要五个值:open,high,low,close, 和timestamp

另请参见 CandlestickSeries

属性文档

brushFilename : string

用作烛台项目画笔的文件名称。


close : real

烛台项目的收盘值。


high : real

烛台项目的最高值。


low : real

烛台项目的低点值。


open : real

烛台项目的开盘值。


timestamp : real

烛台项目的时间戳值。


信号文档

clicked()

该信号在烛台项目被点击时发出。

相应的信号处理程序是onClicked

注: 相应的处理程序是onClicked


doubleClicked()

用户双击烛台项目时发出该信号。

相应的信号处理程序是onDoubleClicked

注: 相应的处理程序是onDoubleClicked


hovered(bool status)

当鼠标悬停在烛台项目上时,会发出该信号。

当鼠标移动到该项目上时,status 变成true ,当鼠标再次移开时,变成false

相应的信号处理程序是onHovered

注: 相应的处理程序是onHovered


pressed()

当用户点击烛台项目并按住鼠标键时,会发出该信号。

相应的信号处理器是onPressed

注: 相应的处理程序是onPressed


released()

当用户松开按在烛台项目上的鼠标时,会发出该信号。

相应的信号处理器是onReleased

注: 相应的处理程序是onReleased


© 2025 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.