|
@ -44,8 +44,8 @@ MainWidget::MainWidget(QWidget *parent) : |
|
|
ui->statusLabel->setText("Not Connected"); |
|
|
ui->statusLabel->setText("Not Connected"); |
|
|
|
|
|
|
|
|
//显示设置
|
|
|
//显示设置
|
|
|
font1.setPointSize(240); |
|
|
font1.setPointSize(180); |
|
|
font2.setPointSize(240); |
|
|
font2.setPointSize(180); |
|
|
font3.setPointSize(20); |
|
|
font3.setPointSize(20); |
|
|
ui->textLabel->setFont(font1); |
|
|
ui->textLabel->setFont(font1); |
|
|
ui->countdownLabel->setFont(font2); |
|
|
ui->countdownLabel->setFont(font2); |
|
@ -160,7 +160,7 @@ void MainWidget::lableScrollDisplay() |
|
|
} |
|
|
} |
|
|
else{ |
|
|
else{ |
|
|
m_curX ++; |
|
|
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){ |
|
|
if(m_curX > m_width){ |
|
|
m_curX = 0; |
|
|
m_curX = 0; |
|
|