Renamed Release button to motors off

Added flow control
This commit is contained in:
NeoTheFox 2015-03-12 21:44:49 +03:00
parent cb32e983ac
commit 5331f73cc0
2 changed files with 3 additions and 1 deletions

View File

@ -259,6 +259,8 @@ void MainWindow::serialconnect()
break; break;
} }
printer.setFlowControl(QSerialPort::HardwareControl);
ui->connectBtn->setText("Disconnect"); ui->connectBtn->setText("Disconnect");
ui->sendBtn->setDisabled(false); ui->sendBtn->setDisabled(false);
//ui->pauseBtn->setDisabled(false); //ui->pauseBtn->setDisabled(false);

View File

@ -193,7 +193,7 @@
<item row="3" column="3" colspan="4"> <item row="3" column="3" colspan="4">
<widget class="QPushButton" name="releasebtn"> <widget class="QPushButton" name="releasebtn">
<property name="text"> <property name="text">
<string>Release</string> <string>Motors off</string>
</property> </property>
</widget> </widget>
</item> </item>