Minor ui tweaks
This commit is contained in:
parent
4ec43e3176
commit
d8197ef617
@ -34,6 +34,9 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
checkingTemperature = settings.value("core/checktemperature").toBool();
|
checkingTemperature = settings.value("core/checktemperature").toBool();
|
||||||
ui->checktemp->setChecked(checkingTemperature);
|
ui->checktemp->setChecked(checkingTemperature);
|
||||||
|
|
||||||
|
ui->etmpspin->setValue(settings.value("user/extrudertemp").toInt());
|
||||||
|
ui->btmpspin->setValue(settings.value("user/bedtemp").toInt());
|
||||||
|
|
||||||
if(!firstrun) echo = settings.value("core/echo").toBool();
|
if(!firstrun) echo = settings.value("core/echo").toBool();
|
||||||
else echo = false;
|
else echo = false;
|
||||||
|
|
||||||
@ -81,6 +84,8 @@ MainWindow::~MainWindow()
|
|||||||
|
|
||||||
settings.setValue("printer/baudrateIndex", ui->baudbox->currentIndex());
|
settings.setValue("printer/baudrateIndex", ui->baudbox->currentIndex());
|
||||||
settings.setValue("core/checktemperature", ui->checktemp->isChecked());
|
settings.setValue("core/checktemperature", ui->checktemp->isChecked());
|
||||||
|
settings.setValue("user/extrudertemp", ui->estepspin->value());
|
||||||
|
settings.setValue("user/bedtemp", ui->btmpspin->value());
|
||||||
if(firstrun) settings.setValue("core/firstrun", true);
|
if(firstrun) settings.setValue("core/firstrun", true);
|
||||||
|
|
||||||
settings.beginWriteArray("user/recentfiles");
|
settings.beginWriteArray("user/recentfiles");
|
||||||
|
|||||||
@ -88,6 +88,9 @@
|
|||||||
</item>
|
</item>
|
||||||
<item row="2" column="0" colspan="3">
|
<item row="2" column="0" colspan="3">
|
||||||
<widget class="QCheckBox" name="echobox">
|
<widget class="QCheckBox" name="echobox">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Show every sent command in console</string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Echo commands</string>
|
<string>Echo commands</string>
|
||||||
</property>
|
</property>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user