To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 958091fe authored by beuchatp's avatar beuchatp
Browse files

Adjusted sizing of the flying agent GUI forms

parent b0e9064e
...@@ -67,8 +67,13 @@ ...@@ -67,8 +67,13 @@
</item> </item>
<item> <item>
<widget class="QCheckBox" name="coordinate_all_checkBox"> <widget class="QCheckBox" name="coordinate_all_checkBox">
<property name="font">
<font>
<pointsize>16</pointsize>
</font>
</property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">QCheckBox::indicator{ width:40px ; height:40px }</string> <string notr="true">QCheckBox::indicator{ width:30px ; height:30px }</string>
</property> </property>
<property name="text"> <property name="text">
<string>Coordinate All</string> <string>Coordinate All</string>
...@@ -88,8 +93,8 @@ ...@@ -88,8 +93,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>571</width> <width>583</width>
<height>744</height> <height>854</height>
</rect> </rect>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_for_coordinatedAgentsScrollArea"/> <layout class="QVBoxLayout" name="verticalLayout_for_coordinatedAgentsScrollArea"/>
......
...@@ -6,25 +6,31 @@ ...@@ -6,25 +6,31 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1567</width> <width>660</width>
<height>72</height> <height>45</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize">
<size>
<width>0</width>
<height>45</height>
</size>
</property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>16777215</width>
<height>80</height> <height>45</height>
</size> </size>
</property> </property>
<property name="font"> <property name="font">
<font> <font>
<pointsize>16</pointsize> <pointsize>12</pointsize>
</font> </font>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
...@@ -32,47 +38,50 @@ ...@@ -32,47 +38,50 @@
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing"> <property name="spacing">
<number>15</number> <number>2</number>
</property>
<property name="leftMargin">
<number>2</number>
</property> </property>
<property name="topMargin"> <property name="topMargin">
<number>6</number> <number>5</number>
</property> </property>
<property name="rightMargin"> <property name="rightMargin">
<number>12</number> <number>2</number>
</property> </property>
<property name="bottomMargin"> <property name="bottomMargin">
<number>6</number> <number>5</number>
</property> </property>
<item> <item>
<widget class="QCheckBox" name="shouldCoordinate_checkBox"> <widget class="QCheckBox" name="shouldCoordinate_checkBox">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>120</width> <width>180</width>
<height>40</height> <height>35</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>180</width>
<height>40</height> <height>35</height>
</size> </size>
</property> </property>
<property name="font"> <property name="font">
<font> <font>
<pointsize>16</pointsize> <pointsize>12</pointsize>
</font> </font>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">QCheckBox::indicator{ width:40px ; height:40px }</string> <string notr="true">QCheckBox::indicator{ width:30px ; height:30px }</string>
</property> </property>
<property name="text"> <property name="text">
<string>XXX</string> <string>IDYYY , PPS_CFXX</string>
</property> </property>
<property name="checkable"> <property name="checkable">
<bool>true</bool> <bool>true</bool>
...@@ -81,20 +90,26 @@ ...@@ -81,20 +90,26 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="rf_disconnect_button"> <widget class="QPushButton" name="rf_disconnect_button">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>40</width>
<height>50</height> <height>35</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>40</width>
<height>50</height> <height>35</height>
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>RF-DIS</string> <string>DIS</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -108,14 +123,14 @@ ...@@ -108,14 +123,14 @@
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>70</width> <width>43</width>
<height>50</height> <height>35</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>70</width> <width>43</width>
<height>50</height> <height>35</height>
</size> </size>
</property> </property>
<property name="text"> <property name="text">
...@@ -125,20 +140,26 @@ ...@@ -125,20 +140,26 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="rf_connect_button"> <widget class="QPushButton" name="rf_connect_button">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>40</width>
<height>50</height> <height>35</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>40</width>
<height>50</height> <height>35</height>
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string>RF-CON</string> <string>CON</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -152,14 +173,14 @@ ...@@ -152,14 +173,14 @@
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>160</width> <width>68</width>
<height>60</height> <height>35</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>160</width> <width>68</width>
<height>60</height> <height>35</height>
</size> </size>
</property> </property>
<property name="font"> <property name="font">
...@@ -178,14 +199,14 @@ ...@@ -178,14 +199,14 @@
<widget class="QLabel" name="battery_status_label"> <widget class="QLabel" name="battery_status_label">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>50</width> <width>25</width>
<height>50</height> <height>35</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>50</width> <width>25</width>
<height>50</height> <height>35</height>
</size> </size>
</property> </property>
<property name="text"> <property name="text">
...@@ -195,16 +216,22 @@ ...@@ -195,16 +216,22 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="enable_flying_button"> <widget class="QPushButton" name="enable_flying_button">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>40</width>
<height>50</height> <height>35</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>40</width>
<height>50</height> <height>35</height>
</size> </size>
</property> </property>
<property name="text"> <property name="text">
...@@ -214,16 +241,22 @@ ...@@ -214,16 +241,22 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="disable_flying_button"> <widget class="QPushButton" name="disable_flying_button">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>40</width>
<height>50</height> <height>35</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>40</width>
<height>50</height> <height>35</height>
</size> </size>
</property> </property>
<property name="text"> <property name="text">
...@@ -241,14 +274,14 @@ ...@@ -241,14 +274,14 @@
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>70</width> <width>50</width>
<height>50</height> <height>35</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>70</width> <width>50</width>
<height>50</height> <height>35</height>
</size> </size>
</property> </property>
<property name="text"> <property name="text">
...@@ -258,16 +291,22 @@ ...@@ -258,16 +291,22 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="motors_off_button"> <widget class="QPushButton" name="motors_off_button">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>40</width>
<height>50</height> <height>35</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>40</width>
<height>50</height> <height>35</height>
</size> </size>
</property> </property>
<property name="font"> <property name="font">
...@@ -283,6 +322,24 @@ ...@@ -283,6 +322,24 @@
</item> </item>
<item> <item>
<widget class="QLabel" name="controller_enabled_label"> <widget class="QLabel" name="controller_enabled_label">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>70</width>
<height>35</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>70</width>
<height>35</height>
</size>
</property>
<property name="text"> <property name="text">
<string>Controller</string> <string>Controller</string>
</property> </property>
......
...@@ -30,21 +30,21 @@ ...@@ -30,21 +30,21 @@
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="enable_controller_top_label"> <widget class="QLabel" name="enable_controller_top_label">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Minimum"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>160</width> <width>120</width>
<height>0</height> <height>20</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>220</width> <width>180</width>
<height>16777215</height> <height>20</height>
</size> </size>
</property> </property>
<property name="font"> <property name="font">
...@@ -64,21 +64,21 @@ ...@@ -64,21 +64,21 @@
<item row="0" column="1"> <item row="0" column="1">
<widget class="QLabel" name="load_yaml_top_label"> <widget class="QLabel" name="load_yaml_top_label">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Minimum"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>160</width> <width>120</width>
<height>0</height> <height>20</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>220</width> <width>180</width>
<height>16777215</height> <height>20</height>
</size> </size>
</property> </property>
<property name="font"> <property name="font">
...@@ -98,21 +98,21 @@ ...@@ -98,21 +98,21 @@
<item row="3" column="1"> <item row="3" column="1">
<widget class="QPushButton" name="load_yaml_demo_button"> <widget class="QPushButton" name="load_yaml_demo_button">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>