Skip to content

Commit

Permalink
fix(ui): Reorder radar widget settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ltoenning committed Nov 26, 2023
1 parent 9774857 commit f209a17
Showing 1 changed file with 51 additions and 35 deletions.
86 changes: 51 additions & 35 deletions src/blackgui/components/radarcomponent.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>342</width>
<height>259</height>
<width>247</width>
<height>293</height>
</rect>
</property>
<property name="windowTitle">
Expand Down Expand Up @@ -44,20 +44,30 @@
<property name="bottomMargin">
<number>2</number>
</property>
<item row="0" column="4">
<widget class="QSpinBox" name="sb_FontSize"/>
<item row="0" column="1">
<widget class="QCheckBox" name="cb_GroundSpeed">
<property name="toolTip">
<string>Ground speed</string>
</property>
<property name="text">
<string>GS</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QCheckBox" name="cb_Callsign">
<item row="1" column="2">
<widget class="QCheckBox" name="cb_Grid">
<property name="text">
<string>Callsign</string>
<string>Grid</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1">
<item row="1" column="1">
<widget class="QCheckBox" name="cb_Heading">
<property name="text">
<string>Track line</string>
Expand All @@ -67,64 +77,70 @@
</property>
</widget>
</item>
<item row="0" column="3">
<item row="1" column="0">
<widget class="QCheckBox" name="cb_LockNorth">
<property name="text">
<string>Lock North</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="lbl_FontSize">
<property name="text">
<string>Font size</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<set>Qt::AlignBottom|Qt::AlignHCenter</set>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QCheckBox" name="cb_Altitude">
<property name="toolTip">
<string>Altitude</string>
</property>
<property name="text">
<string>Altitude (FL)</string>
<string>ALT</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="cb_LockNorth">
<property name="text">
<string>Lock North</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="cb_GroundSpeed">
<item row="0" column="0">
<widget class="QCheckBox" name="cb_Callsign">
<property name="text">
<string>Ground speed</string>
<string>Callsign</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QCheckBox" name="cb_Grid">
<item row="2" column="1">
<widget class="QLabel" name="lbl_Range">
<property name="text">
<string>Grid</string>
<string>Range</string>
</property>
<property name="checked">
<bool>true</bool>
<property name="alignment">
<set>Qt::AlignBottom|Qt::AlignHCenter</set>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QLabel" name="lbl_Range">
<property name="text">
<string>Range</string>
<item row="3" column="0">
<widget class="QSpinBox" name="sb_FontSize">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="4">
<item row="3" column="1">
<widget class="QComboBox" name="cb_RadarRange"/>
</item>
</layout>
Expand All @@ -142,12 +158,12 @@
<tabstops>
<tabstop>gv_RadarView</tabstop>
<tabstop>cb_Callsign</tabstop>
<tabstop>cb_Heading</tabstop>
<tabstop>cb_GroundSpeed</tabstop>
<tabstop>cb_Altitude</tabstop>
<tabstop>sb_FontSize</tabstop>
<tabstop>cb_LockNorth</tabstop>
<tabstop>cb_GroundSpeed</tabstop>
<tabstop>cb_Heading</tabstop>
<tabstop>cb_Grid</tabstop>
<tabstop>sb_FontSize</tabstop>
<tabstop>cb_RadarRange</tabstop>
</tabstops>
<resources/>
Expand Down

0 comments on commit f209a17

Please sign in to comment.