V1.2.0
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user