From 93009aa4cc043b75781a2db07e105f1e7aef9493 Mon Sep 17 00:00:00 2001 From: Bai Date: Fri, 22 Oct 2021 00:24:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=BE=E7=A4=BA=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- QCPShow.pro.user | 2 +- mainwidget.cpp | 6 +++--- mainwidget.ui | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/QCPShow.pro.user b/QCPShow.pro.user index d75d288..6fc4548 100644 --- a/QCPShow.pro.user +++ b/QCPShow.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId diff --git a/mainwidget.cpp b/mainwidget.cpp index 37e0a7c..0f7a88c 100644 --- a/mainwidget.cpp +++ b/mainwidget.cpp @@ -44,8 +44,8 @@ MainWidget::MainWidget(QWidget *parent) : ui->statusLabel->setText("Not Connected"); //显示设置 - font1.setPointSize(240); - font2.setPointSize(240); + font1.setPointSize(180); + font2.setPointSize(180); font3.setPointSize(20); ui->textLabel->setFont(font1); ui->countdownLabel->setFont(font2); @@ -160,7 +160,7 @@ void MainWidget::lableScrollDisplay() } else{ m_curX ++; - ui->textLabel->setGeometry(150-m_curX*3,m_y,m_width,(this->height()-30)/2); + ui->textLabel->setGeometry(150-m_curX*5,m_y,m_width,(this->height()-30)/2); } if(m_curX > m_width){ m_curX = 0; diff --git a/mainwidget.ui b/mainwidget.ui index e86e9db..28776a6 100644 --- a/mainwidget.ui +++ b/mainwidget.ui @@ -23,7 +23,7 @@ - 传控科技优先做CT + Qt::AlignCenter @@ -39,7 +39,7 @@ - countdownLabel + Qt::AlignCenter @@ -60,7 +60,7 @@ - statusLabel + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter