Ui tweaks
This commit is contained in:
parent
4b29cc979d
commit
b759337f4d
@ -261,7 +261,7 @@ void MainWindow::serialconnect()
|
|||||||
{
|
{
|
||||||
ui->connectBtn->setText("Disconnect");
|
ui->connectBtn->setText("Disconnect");
|
||||||
ui->sendBtn->setDisabled(false);
|
ui->sendBtn->setDisabled(false);
|
||||||
ui->pauseBtn->setDisabled(false);
|
//ui->pauseBtn->setDisabled(false);
|
||||||
ui->progressBar->setValue(0);
|
ui->progressBar->setValue(0);
|
||||||
ui->controlBox->setDisabled(false);
|
ui->controlBox->setDisabled(false);
|
||||||
ui->consoleGroup->setDisabled(false);
|
ui->consoleGroup->setDisabled(false);
|
||||||
@ -612,6 +612,7 @@ void MainWindow::on_sendBtn_clicked()
|
|||||||
injectCommand("M27");
|
injectCommand("M27");
|
||||||
ui->sendBtn->setText("Start");
|
ui->sendBtn->setText("Start");
|
||||||
ui->pauseBtn->setText("Pause");
|
ui->pauseBtn->setText("Pause");
|
||||||
|
ui->pauseBtn->setEnabled(true);
|
||||||
if(autolock) ui->controlBox->setChecked(true);
|
if(autolock) ui->controlBox->setChecked(true);
|
||||||
paused = false;
|
paused = false;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -861,6 +861,12 @@ STOP</string>
|
|||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>190</width>
|
||||||
|
<height>0</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Console</string>
|
<string>Console</string>
|
||||||
</property>
|
</property>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user