Skip to content

Commit

Permalink
Enable negative values in anchor position spin boxes in the Loco Posi…
Browse files Browse the repository at this point in the history
…tioning tab. Closes bitcraze#312
  • Loading branch information
krichardsson committed Nov 3, 2017
1 parent f321d6d commit b7b47aa
Showing 1 changed file with 120 additions and 24 deletions.
144 changes: 120 additions & 24 deletions src/cfclient/ui/tabs/locopositioning_tab.ui
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,25 @@
</widget>
</item>
<item row="1" column="2">
<widget class="QDoubleSpinBox" name="spin_a0y"/>
<widget class="QDoubleSpinBox" name="spin_a0y">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QDoubleSpinBox" name="spin_a0z"/>
<widget class="QDoubleSpinBox" name="spin_a0z">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="spin_a0x"/>
<widget class="QDoubleSpinBox" name="spin_a0x">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label">
Expand Down Expand Up @@ -278,7 +290,11 @@
<item>
<layout class="QGridLayout" name="gridLayout_5">
<item row="1" column="2">
<widget class="QDoubleSpinBox" name="spin_a1y"/>
<widget class="QDoubleSpinBox" name="spin_a1y">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="labela1">
Expand All @@ -291,10 +307,18 @@
</widget>
</item>
<item row="1" column="1">
<widget class="QDoubleSpinBox" name="spin_a1x"/>
<widget class="QDoubleSpinBox" name="spin_a1x">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QDoubleSpinBox" name="spin_a1z"/>
<widget class="QDoubleSpinBox" name="spin_a1z">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_4">
Expand Down Expand Up @@ -347,13 +371,25 @@
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spin_a2x"/>
<widget class="QDoubleSpinBox" name="spin_a2x">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spin_a2y"/>
<widget class="QDoubleSpinBox" name="spin_a2y">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spin_a2z"/>
<widget class="QDoubleSpinBox" name="spin_a2z">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
Expand All @@ -370,13 +406,25 @@
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spin_a3x"/>
<widget class="QDoubleSpinBox" name="spin_a3x">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spin_a3y"/>
<widget class="QDoubleSpinBox" name="spin_a3y">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spin_a3z"/>
<widget class="QDoubleSpinBox" name="spin_a3z">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
Expand All @@ -397,13 +445,25 @@
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spin_a4x"/>
<widget class="QDoubleSpinBox" name="spin_a4x">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spin_a4y"/>
<widget class="QDoubleSpinBox" name="spin_a4y">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spin_a4z"/>
<widget class="QDoubleSpinBox" name="spin_a4z">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
Expand All @@ -420,13 +480,25 @@
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spin_a5x"/>
<widget class="QDoubleSpinBox" name="spin_a5x">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spin_a5y"/>
<widget class="QDoubleSpinBox" name="spin_a5y">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spin_a5z"/>
<widget class="QDoubleSpinBox" name="spin_a5z">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
Expand All @@ -447,13 +519,25 @@
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spin_a6x"/>
<widget class="QDoubleSpinBox" name="spin_a6x">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spin_a6y"/>
<widget class="QDoubleSpinBox" name="spin_a6y">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spin_a6z"/>
<widget class="QDoubleSpinBox" name="spin_a6z">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
Expand All @@ -470,13 +554,25 @@
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spin_a7x"/>
<widget class="QDoubleSpinBox" name="spin_a7x">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spin_a7y"/>
<widget class="QDoubleSpinBox" name="spin_a7y">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="spin_a7z"/>
<widget class="QDoubleSpinBox" name="spin_a7z">
<property name="minimum">
<double>-99.000000000000000</double>
</property>
</widget>
</item>
</layout>
</item>
Expand Down

0 comments on commit b7b47aa

Please sign in to comment.