Monor UI tweaks

This commit is contained in:
NeoTheFox 2015-03-01 20:50:46 +03:00
parent c668c4ad87
commit ea37a4ebfe
3 changed files with 34 additions and 31 deletions

View File

@ -303,7 +303,7 @@ void MainWindow::on_atxoffbtn_clicked()
void MainWindow::on_etmpset_clicked() void MainWindow::on_etmpset_clicked()
{ {
QString command = "M104 S" + ui->etmpspin->text(); QString command = "M80\nM104 S" + ui->etmpspin->text();
sendLine(command); sendLine(command);
} }
@ -314,7 +314,7 @@ void MainWindow::on_etmpoff_clicked()
void MainWindow::on_btmpset_clicked() void MainWindow::on_btmpset_clicked()
{ {
QString command = "M140 S" + ui->btmpspin->text(); QString command = "M80\nM140 S" + ui->btmpspin->text();
sendLine(command); sendLine(command);
} }

View File

@ -112,7 +112,7 @@
<item row="5" column="0" colspan="4"> <item row="5" column="0" colspan="4">
<widget class="QDoubleSpinBox" name="estepspin"> <widget class="QDoubleSpinBox" name="estepspin">
<property name="minimum"> <property name="minimum">
<double>1.000000000000000</double> <double>0.100000000000000</double>
</property> </property>
<property name="maximum"> <property name="maximum">
<double>150.000000000000000</double> <double>150.000000000000000</double>
@ -262,7 +262,7 @@
<item row="5" column="4" colspan="5"> <item row="5" column="4" colspan="5">
<widget class="QDoubleSpinBox" name="stepspin"> <widget class="QDoubleSpinBox" name="stepspin">
<property name="minimum"> <property name="minimum">
<double>1.000000000000000</double> <double>0.100000000000000</double>
</property> </property>
<property name="maximum"> <property name="maximum">
<double>100.000000000000000</double> <double>100.000000000000000</double>
@ -502,6 +502,9 @@
</property> </property>
</action> </action>
<action name="actionRecent"> <action name="actionRecent">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text"> <property name="text">
<string>Recent</string> <string>Recent</string>
</property> </property>
@ -556,8 +559,8 @@
<slot>serialupdate()</slot> <slot>serialupdate()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>61</x> <x>82</x>
<y>88</y> <y>84</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>247</x> <x>247</x>
@ -588,8 +591,8 @@
<slot>serialconnect()</slot> <slot>serialconnect()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>61</x> <x>82</x>
<y>117</y> <y>116</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>247</x> <x>247</x>
@ -604,8 +607,8 @@
<slot>xhome()</slot> <slot>xhome()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>434</x> <x>455</x>
<y>88</y> <y>85</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>383</x> <x>383</x>
@ -620,8 +623,8 @@
<slot>clear()</slot> <slot>clear()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>624</x> <x>739</x>
<y>335</y> <y>331</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>654</x> <x>654</x>
@ -636,8 +639,8 @@
<slot>xplus()</slot> <slot>xplus()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>327</x> <x>323</x>
<y>117</y> <y>118</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>383</x> <x>383</x>
@ -652,12 +655,12 @@
<slot>click()</slot> <slot>click()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>540</x> <x>739</x>
<y>369</y> <y>360</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>548</x> <x>739</x>
<y>397</y> <y>389</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
@ -684,8 +687,8 @@
<slot>yplus()</slot> <slot>yplus()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>274</x> <x>285</x>
<y>88</y> <y>85</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>383</x> <x>383</x>
@ -700,8 +703,8 @@
<slot>xminus()</slot> <slot>xminus()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>236</x> <x>248</x>
<y>120</y> <y>118</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>189</x> <x>189</x>
@ -721,7 +724,7 @@
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>356</x> <x>356</x>
<y>-10</y> <y>0</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
@ -732,8 +735,8 @@
<slot>zminus()</slot> <slot>zminus()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>353</x> <x>367</x>
<y>153</y> <y>151</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>209</x> <x>209</x>
@ -748,8 +751,8 @@
<slot>ezero()</slot> <slot>ezero()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>399</x> <x>411</x>
<y>123</y> <y>118</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>220</x> <x>220</x>
@ -796,8 +799,8 @@
<slot>eplus()</slot> <slot>eplus()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>397</x> <x>411</x>
<y>93</y> <y>85</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>397</x> <x>397</x>

View File

@ -55,7 +55,7 @@
<string>A good default is 5, lower = fater, higher = less CPU load</string> <string>A good default is 5, lower = fater, higher = less CPU load</string>
</property> </property>
<property name="toolTipDuration"> <property name="toolTipDuration">
<number>100</number> <number>-1</number>
</property> </property>
<property name="minimum"> <property name="minimum">
<number>1</number> <number>1</number>
@ -85,7 +85,7 @@
<string>A good default is 5000. More = less interruptions, less = better temperature monitoring</string> <string>A good default is 5000. More = less interruptions, less = better temperature monitoring</string>
</property> </property>
<property name="toolTipDuration"> <property name="toolTipDuration">
<number>100</number> <number>-1</number>
</property> </property>
<property name="minimum"> <property name="minimum">
<number>500</number> <number>500</number>