xiaoniede的个人主页

http://www.qtcn.org/bbs/u/141319  [收藏] [复制]

xiaoniede

做好技术,做好人!

  • 41

    关注

  • 10

    粉丝

  • 43

    访客

  • 等级:新手上路
  • 总积分:47
  • 男,1989-03-27

最后登录:2023-09-24

更多资料

日志

2017-02-14 12:46

简介:QCustomplot 版本2.0,Qt5.5.1(不特定版本)。
功能介绍:
1.根据自己的思路简单封装了一下时间轴。
2.鼠标移动显示当前时间点对应的股票点数值。
3.静态数据模拟显示折线。

敬请大家指点,有更好的意见与建议留言。
源码如下:
【1】pro文件,支持QCustomplot修改:
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport

【2】股票窗口控件

1.头文件 stockwidget.h
#ifndef STOCKWIDGET_H
#define STOCKWIDGET_H

#include <QWidget>
#include <QTimer>

namespace Ui {
class StockWidget;
}

..

阅读全文»分类:QCustomPlot学习demo|回复:0|浏览:1642

Powered by phpwind v8.7 Certificate Copyright Time now is:05-03 17:38
©2005-2016 QTCN开发网 版权所有 Gzip disabled