Updated menus and added screenshot to README.md
This commit is contained in:
parent
f0320a7aff
commit
b60379192c
@ -4,6 +4,9 @@ A Qt RepRap gcode sender/host controller
|
|||||||
|
|
||||||
Right now the project is in early stage, use only for development testing!
|
Right now the project is in early stage, use only for development testing!
|
||||||
|
|
||||||
|
## Screenshots
|
||||||
|

|
||||||
|
|
||||||
## Building on Ubuntu 14.04.2
|
## Building on Ubuntu 14.04.2
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@ -406,6 +406,7 @@ void MainWindow::on_sendBtn_clicked()
|
|||||||
ui->sendBtn->setText("Send");
|
ui->sendBtn->setText("Send");
|
||||||
ui->pauseBtn->setText("Pause");
|
ui->pauseBtn->setText("Pause");
|
||||||
ui->pauseBtn->setDisabled("true");
|
ui->pauseBtn->setDisabled("true");
|
||||||
|
ui->controlBox->setChecked("true");
|
||||||
paused = false;
|
paused = false;
|
||||||
}
|
}
|
||||||
else if(!sending)
|
else if(!sending)
|
||||||
@ -414,6 +415,7 @@ void MainWindow::on_sendBtn_clicked()
|
|||||||
ui->sendBtn->setText("Stop");
|
ui->sendBtn->setText("Stop");
|
||||||
ui->pauseBtn->setText("Pause");
|
ui->pauseBtn->setText("Pause");
|
||||||
ui->pauseBtn->setEnabled("true");
|
ui->pauseBtn->setEnabled("true");
|
||||||
|
ui->controlBox->setChecked("false");
|
||||||
paused = false;
|
paused = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -423,14 +425,14 @@ void MainWindow::on_sendBtn_clicked()
|
|||||||
|
|
||||||
void MainWindow::sendNext()
|
void MainWindow::sendNext()
|
||||||
{
|
{
|
||||||
if(injectingCommand && commandDone && printer.bytesToWrite() < 100)
|
if(injectingCommand && commandDone && printer.bytesToWrite() < 150)
|
||||||
{
|
{
|
||||||
sendLine(userCommand);
|
sendLine(userCommand);
|
||||||
commandDone=false;
|
commandDone=false;
|
||||||
injectingCommand=false;
|
injectingCommand=false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if(sending && !paused && printer.bytesToWrite() < 100 && commandDone)
|
else if(sending && !paused && printer.bytesToWrite() < 150 && commandDone)
|
||||||
{
|
{
|
||||||
if(currentLine >= gcode.size()) //check if we are at the end of array
|
if(currentLine >= gcode.size()) //check if we are at the end of array
|
||||||
{
|
{
|
||||||
@ -454,11 +456,13 @@ void MainWindow::on_pauseBtn_clicked()
|
|||||||
if(paused)
|
if(paused)
|
||||||
{
|
{
|
||||||
paused = false;
|
paused = false;
|
||||||
|
ui->controlBox->setChecked(false);
|
||||||
ui->pauseBtn->setText("Pause");
|
ui->pauseBtn->setText("Pause");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
paused = true;
|
paused = true;
|
||||||
|
ui->controlBox->setChecked(true);
|
||||||
ui->pauseBtn->setText("Resume");
|
ui->pauseBtn->setText("Resume");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -51,6 +51,15 @@
|
|||||||
</item>
|
</item>
|
||||||
<item row="0" column="1">
|
<item row="0" column="1">
|
||||||
<widget class="QSpinBox" name="senderbox">
|
<widget class="QSpinBox" name="senderbox">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>A good default is 5, lower = fater, higher = less CPU load</string>
|
||||||
|
</property>
|
||||||
|
<property name="toolTipDuration">
|
||||||
|
<number>100</number>
|
||||||
|
</property>
|
||||||
|
<property name="minimum">
|
||||||
|
<number>1</number>
|
||||||
|
</property>
|
||||||
<property name="maximum">
|
<property name="maximum">
|
||||||
<number>999</number>
|
<number>999</number>
|
||||||
</property>
|
</property>
|
||||||
@ -72,8 +81,17 @@
|
|||||||
</item>
|
</item>
|
||||||
<item row="1" column="1">
|
<item row="1" column="1">
|
||||||
<widget class="QSpinBox" name="statusbox">
|
<widget class="QSpinBox" name="statusbox">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>A good default is 5000. More = less interruptions, less = better temperature monitoring</string>
|
||||||
|
</property>
|
||||||
|
<property name="toolTipDuration">
|
||||||
|
<number>100</number>
|
||||||
|
</property>
|
||||||
|
<property name="minimum">
|
||||||
|
<number>500</number>
|
||||||
|
</property>
|
||||||
<property name="maximum">
|
<property name="maximum">
|
||||||
<number>9999</number>
|
<number>99999</number>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user