在本页

CandlestickSet QML Type

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

Import Statement: import QtCharts 2.11
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

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