Commit 83058332 authored by beuchatp's avatar beuchatp
Browse files

More small adjustments to sizing policies of the Teacher GUI

parent 73b481ee
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1176</width> <width>1176</width>
<height>1180</height> <height>1514</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
...@@ -315,6 +315,24 @@ ...@@ -315,6 +315,24 @@
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<item row="0" column="1"> <item row="0" column="1">
<widget class="QPushButton" name="refresh_student_ids_button"> <widget class="QPushButton" name="refresh_student_ids_button">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>50</height>
</size>
</property>
<property name="text"> <property name="text">
<string>Refresh IDs</string> <string>Refresh IDs</string>
</property> </property>
...@@ -322,6 +340,24 @@ ...@@ -322,6 +340,24 @@
</item> </item>
<item row="13" column="1"> <item row="13" column="1">
<widget class="QLabel" name="err_message_radio_address"> <widget class="QLabel" name="err_message_radio_address">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>30</height>
</size>
</property>
<property name="font"> <property name="font">
<font> <font>
<pointsize>10</pointsize> <pointsize>10</pointsize>
...@@ -334,6 +370,24 @@ ...@@ -334,6 +370,24 @@
</item> </item>
<item row="22" column="1"> <item row="22" column="1">
<widget class="QPushButton" name="load_from_DB_button"> <widget class="QPushButton" name="load_from_DB_button">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>50</height>
</size>
</property>
<property name="text"> <property name="text">
<string>Load from DB</string> <string>Load from DB</string>
</property> </property>
...@@ -341,6 +395,24 @@ ...@@ -341,6 +395,24 @@
</item> </item>
<item row="12" column="1"> <item row="12" column="1">
<widget class="QLineEdit" name="radioAddress_text"> <widget class="QLineEdit" name="radioAddress_text">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>50</height>
</size>
</property>
<property name="readOnly"> <property name="readOnly">
<bool>true</bool> <bool>true</bool>
</property> </property>
...@@ -352,11 +424,23 @@ ...@@ -352,11 +424,23 @@
<item row="5" column="1"> <item row="5" column="1">
<widget class="QSpinBox" name="spinBox_student_ids"> <widget class="QSpinBox" name="spinBox_student_ids">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <sizepolicy hsizetype="MinimumExpanding" 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>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>50</height>
</size>
</property>
<property name="minimum"> <property name="minimum">
<number>1</number> <number>1</number>
</property> </property>
...@@ -371,21 +455,83 @@ ...@@ -371,21 +455,83 @@
<item row="2" column="1"> <item row="2" column="1">
<widget class="QListWidget" name="list_discovered_student_ids"> <widget class="QListWidget" name="list_discovered_student_ids">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Minimum"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="maximumSize">
<size>
<width>600</width>
<height>16777215</height>
</size>
</property>
</widget> </widget>
</item> </item>
<item row="15" column="1"> <item row="15" column="1">
<widget class="QComboBox" name="comboBoxCFZones"/> <widget class="QComboBox" name="comboBoxCFZones">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>50</height>
</size>
</property>
</widget>
</item> </item>
<item row="9" column="1"> <item row="9" column="1">
<widget class="QComboBox" name="comboBoxCFs"/> <widget class="QComboBox" name="comboBoxCFs">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>50</height>
</size>
</property>
</widget>
</item> </item>
<item row="4" column="1"> <item row="4" column="1">
<widget class="QLabel" name="label_4"> <widget class="QLabel" name="label_4">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>50</height>
</size>
</property>
<property name="font"> <property name="font">
<font> <font>
<weight>75</weight> <weight>75</weight>
...@@ -399,6 +545,24 @@ ...@@ -399,6 +545,24 @@
</item> </item>
<item row="7" column="1"> <item row="7" column="1">
<widget class="QLabel" name="label_2"> <widget class="QLabel" name="label_2">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>50</height>
</size>
</property>
<property name="font"> <property name="font">
<font> <font>
<weight>75</weight> <weight>75</weight>
...@@ -412,6 +576,24 @@ ...@@ -412,6 +576,24 @@
</item> </item>
<item row="14" column="1"> <item row="14" column="1">
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>50</height>
</size>
</property>
<property name="font"> <property name="font">
<font> <font>
<weight>75</weight> <weight>75</weight>
...@@ -425,6 +607,30 @@ ...@@ -425,6 +607,30 @@
</item> </item>
<item row="11" column="1"> <item row="11" column="1">
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>50</height>
</size>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text"> <property name="text">
<string>Radio Address:</string> <string>Radio Address:</string>
</property> </property>
...@@ -432,6 +638,24 @@ ...@@ -432,6 +638,24 @@
</item> </item>
<item row="6" column="1"> <item row="6" column="1">
<widget class="QLabel" name="err_message_student_id"> <widget class="QLabel" name="err_message_student_id">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>30</height>
</size>
</property>
<property name="font"> <property name="font">
<font> <font>
<pointsize>10</pointsize> <pointsize>10</pointsize>
...@@ -444,6 +668,24 @@ ...@@ -444,6 +668,24 @@
</item> </item>
<item row="8" column="1"> <item row="8" column="1">
<widget class="QPushButton" name="refresh_cfs_button"> <widget class="QPushButton" name="refresh_cfs_button">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>50</height>
</size>
</property>
<property name="text"> <property name="text">
<string>Refresh CFs</string> <string>Refresh CFs</string>
</property> </property>
...@@ -451,6 +693,24 @@ ...@@ -451,6 +693,24 @@
</item> </item>
<item row="23" column="1"> <item row="23" column="1">
<widget class="QPushButton" name="save_in_DB_button"> <widget class="QPushButton" name="save_in_DB_button">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>50</height>
</size>
</property>
<property name="text"> <property name="text">
<string>Save in DB</string> <string>Save in DB</string>
</property> </property>
...@@ -458,6 +718,24 @@ ...@@ -458,6 +718,24 @@
</item> </item>
<item row="16" column="1"> <item row="16" column="1">
<widget class="QPushButton" name="link_button"> <widget class="QPushButton" name="link_button">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>50</height>
</size>
</property>
<property name="text"> <property name="text">
<string>Link!</string> <string>Link!</string>
</property> </property>
...@@ -465,12 +743,24 @@ ...@@ -465,12 +743,24 @@
</item> </item>
<item row="19" column="1"> <item row="19" column="1">
<widget class="QTableWidget" name="table_links"> <widget class="QTableWidget" name="table_links">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>273</width> <width>0</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="maximumSize">
<size>
<width>600</width>
<height>16777215</height>
</size>
</property>
<property name="wordWrap"> <property name="wordWrap">
<bool>true</bool> <bool>true</bool>
</property> </property>
...@@ -487,6 +777,24 @@ ...@@ -487,6 +777,24 @@
</item> </item>
<item row="21" column="1"> <item row="21" column="1">
<widget class="QPushButton" name="unlink_button"> <widget class="QPushButton" name="unlink_button">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>50</height>
</size>
</property>
<property name="text"> <property name="text">
<string>Unlink!</string> <string>Unlink!</string>
</property> </property>
...@@ -494,6 +802,24 @@ ...@@ -494,6 +802,24 @@
</item> </item>
<item row="17" column="1"> <item row="17" column="1">
<widget class="QLabel" name="err_message_cf_zone"> <widget class="QLabel" name="err_message_cf_zone">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>30</height>
</size>
</property>
<property name="font"> <property name="font">
<font> <font>
<pointsize>10</pointsize> <pointsize>10</pointsize>
...@@ -506,6 +832,24 @@ ...@@ -506,6 +832,24 @@
</item> </item>
<item row="10" column="1"> <item row="10" column="1">
<widget class="QLabel" name="err_message_cf"> <widget class="QLabel" name="err_message_cf">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>600</width>
<height>30</height>
</size>
</property>
<property name="font"> <property name="font">
<font> <font>
<pointsize>10</pointsize> <pointsize>10</pointsize>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment