| | |
| | | #include <QLineSeries> // 折线类 |
| | | #include <QSplineSeries> // 曲线类 |
| | | #include <QTimer> |
| | | #include <QCompleter> // 用于模糊匹配 |
| | | #include "customitem.h" |
| | | #include "customsortproxymodel.h" |
| | | |
| | |
| | | void sendChartData(QLineSeries*); // 折线 |
| | | void sendChartData(QSplineSeries*); // 曲线 |
| | | void sendInfoMess(QString); // 发送消息提示 |
| | | void sendClosePrice(QString,QString); // 发送最新的价格:名字、价格 |
| | | void sendCodeNames(QMap<QString, QString> &); // 给历史分析界面发送名字代号信息 |
| | | |
| | | private slots: |
| | | void on_pushButton_get_clicked(); |
| | |
| | | void pollMultiSlot(); // 轮询多策略共振定时器 |
| | | |
| | | void on_pushButton_industry_clicked(); |
| | | |
| | | void getLastClosePrice(QString name); // 通过名字获取股票价格槽 |
| | | |
| | | void on_pushButton_filterCap_clicked(); |
| | | |
| | | void on_pushButton_search_clicked(); |
| | | |
| | | void on_lineEdit_search_returnPressed(); |
| | | |
| | | void showHistoryModelData(QVector<QVector<QString>> &model); |
| | | void showHistoryModelData(QStandardItemModel *model); |
| | | |
| | | private: |
| | | Ui::GetStockList *ui; |
| | |
| | | |
| | | QTimer *m_pollMultiTimer; // 轮询多策略定时器 |
| | | |
| | | QCompleter *m_completer; // 支持模糊匹配 |
| | | |
| | | |
| | | }; |
| | | |
| | | #endif // GETSTOCKLIST_H |