From 8b717bccb1065ba5a38208fb073045e43fb8ef5e Mon Sep 17 00:00:00 2001 From: wumu <mayi@mayi.com> Date: 星期三, 12 二月 2025 23:08:00 +0800 Subject: [PATCH] 250212 --- clientmainwindow.cpp | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/clientmainwindow.cpp b/clientmainwindow.cpp index 6a7a785..ebf0aea 100644 --- a/clientmainwindow.cpp +++ b/clientmainwindow.cpp @@ -1,6 +1,7 @@ 锘�#include "clientmainwindow.h" #include "ui_clientmainwindow.h" +#pragma execution_character_set("utf-8") ClientMainWindow::ClientMainWindow(QWidget *parent) : QMainWindow(parent), @@ -38,6 +39,9 @@ m_regular = new RegularInvestment(this); ui->tabWidget->addTab(m_regular,"瀹氭姇璁剧疆"); + m_history = new HistoryData(this); + ui->tabWidget->addTab(m_history,"鍘嗗彶鍒嗘瀽"); + // 鍏宠仈涓�涓�2涓晫闈㈢殑淇″彿鍜屾Ы锛岀敤鏉ヤ紶閫掑浘琛ㄦ墍闇�鐨勬暟鎹強灞曠ず connect(m_getStockList,SIGNAL(sendChartData(QLineSeries*)),m_stockPolicy,SLOT(showNewStockData(QLineSeries*))); @@ -48,4 +52,6 @@ connect(m_regular,SIGNAL(getClosePriceSignal(QString)),m_getStockList,SLOT(getLastClosePrice(QString))); connect(m_getStockList,SIGNAL(sendClosePrice(QString,QString)),m_regular,SLOT(showClosePrice(QString,QString))); + connect(m_getStockList,SIGNAL(sendCodeNames(QMap<QString,QString>&)),m_history,SLOT(putCodeNames(QMap<QString,QString>&))); + } -- Gitblit v1.8.0