Skip to content

Commit

Permalink
Added hal reset buttons for Enc0 and Ecn1 MPGs
Browse files Browse the repository at this point in the history
  • Loading branch information
joco-nz committed Jul 11, 2020
1 parent 849aa63 commit fc73909
Showing 1 changed file with 37 additions and 8 deletions.
45 changes: 37 additions & 8 deletions bf20_mill/ui/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -5387,7 +5387,7 @@ Editor</string>
<enum>QTabWidget::Rounded</enum>
</property>
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<widget class="QWidget" name="tabMachine">
<attribute name="title">
Expand Down Expand Up @@ -6995,6 +6995,35 @@ Editor</string>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_21">
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="title">
<string>Utility Functions</string>
</property>
<layout class="QGridLayout" name="gridLayout_31">
<item row="0" column="0">
<widget class="HalButton" name="halbtn_resetEnc0">
<property name="text">
<string>Reset MPG Ecnoder 0</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="HalButton" name="halbtn_resetEnc1">
<property name="text">
<string>Reset MPG Ecnoder 1</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<spacer name="verticalSpacer_7">
<property name="orientation">
Expand Down Expand Up @@ -8929,13 +8958,13 @@ Delete</string>
<item row="4" column="4">
<widget class="StatusLabel" name="statuslabel">
<property name="text">
<string>0</string>
<string>30%</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="rules" stdset="0">
<string>[{&quot;channels&quot;: [{&quot;url&quot;: &quot;status:rapidrate&quot;, &quot;trigger&quot;: true}], &quot;property&quot;: &quot;Text&quot;, &quot;expression&quot;: &quot;'{:.0f}'.format(ch[0])&quot;, &quot;name&quot;: &quot;New Rule&quot;}]</string>
<string>[{&quot;channels&quot;: [{&quot;url&quot;: &quot;settings:machine.jog.linear-speed-percentage&quot;, &quot;trigger&quot;: true}], &quot;property&quot;: &quot;Text&quot;, &quot;expression&quot;: &quot;'{:0}%'.format(ch[0])&quot;, &quot;name&quot;: &quot;New Rule&quot;}]</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -9161,7 +9190,7 @@ Delete</string>
<number>50</number>
</property>
<property name="actionName" stdset="0">
<string>machine.jog.set-linear-speed</string>
<string>machine.jog.linear-speed-percentage</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -11132,12 +11161,12 @@ Run</string>
</property>
</designerdata>
<buttongroups>
<buttongroup name="btngrpIncrements"/>
<buttongroup name="btngrpContInc"/>
<buttongroup name="btngrpMode"/>
<buttongroup name="btngrpLeftNav"/>
<buttongroup name="btngrpRightNav"/>
<buttongroup name="btngrpContInc"/>
<buttongroup name="btngrpIncrements"/>
<buttongroup name="btngrpMdi"/>
<buttongroup name="btngrpMode"/>
<buttongroup name="btngrpRightNav"/>
<buttongroup name="btngrpG5x"/>
</buttongroups>
</ui>

0 comments on commit fc73909

Please sign in to comment.