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