This commit is contained in:
2024-09-13 21:26:54 +08:00
parent 25a7b25256
commit 19d21216e4
8 changed files with 43333 additions and 26 deletions

View File

@ -11,7 +11,7 @@ MainWindow::MainWindow(QWidget *parent)
ui->setupUi(this);
this->setWindowTitle("日志查询工具");
// 创建版本号标签
m_versionLabel = new QLabel(tr("v1.1.0"), this);
m_versionLabel = new QLabel(tr("v1.2.0"), this);
// 将标签添加到状态栏的右端
ui->statusbar->addPermanentWidget(m_versionLabel);
@ -102,7 +102,7 @@ void MainWindow::closeProg() {
void MainWindow::setChartView(int jd, bool isEnum) {
// 设置图表标题
QCustPlot *qCustPlot = new QCustPlot(Gloab::xData, Gloab::yData, jd, isEnum, true);
QCustPlot *qCustPlot = new QCustPlot(Gloab::xData[jd], Gloab::yData[jd], jd, isEnum, true);
// 将qCustPlot添加到容器中
Gloab::m_QCView.append(qCustPlot);
}
@ -135,7 +135,7 @@ void MainWindow::setWidget() {
void MainWindow::setPlotChartView(int jd, bool isEnum) {
// 设置图表标题
QCustPlot *qCustPlot = new QCustPlot(Gloab::xData, Gloab::yData, jd, isEnum, false);
QCustPlot *qCustPlot = new QCustPlot(Gloab::xData[jd], Gloab::yData[jd], jd, isEnum, false);
// 将qCustPlot添加到容器中
Gloab::m_QCView.append(qCustPlot);
}