|
6 | 6 | <rect> |
7 | 7 | <x>0</x> |
8 | 8 | <y>0</y> |
9 | | - <width>302</width> |
10 | | - <height>107</height> |
| 9 | + <width>318</width> |
| 10 | + <height>158</height> |
11 | 11 | </rect> |
12 | 12 | </property> |
13 | 13 | <property name="minimumSize"> |
|
23 | 23 | <string notr="true"/> |
24 | 24 | </property> |
25 | 25 | <layout class="QGridLayout" name="gridLayout"> |
26 | | - <item row="0" column="0"> |
27 | | - <widget class="QLabel" name="horizontal_label"> |
| 26 | + <item row="2" column="0"> |
| 27 | + <widget class="QLabel" name="vertical_label"> |
28 | 28 | <property name="text"> |
29 | | - <string>Horizontal Fraction:</string> |
| 29 | + <string>Vertical Fraction:</string> |
30 | 30 | </property> |
31 | 31 | </widget> |
32 | 32 | </item> |
33 | | - <item row="1" column="0"> |
34 | | - <widget class="QLabel" name="vertical_label"> |
35 | | - <property name="text"> |
36 | | - <string>Vertical Fraction:</string> |
| 33 | + <item row="3" column="0" colspan="2"> |
| 34 | + <widget class="QDialogButtonBox" name="button_box"> |
| 35 | + <property name="standardButtons"> |
| 36 | + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
37 | 37 | </property> |
38 | 38 | </widget> |
39 | 39 | </item> |
40 | | - <item row="0" column="1"> |
| 40 | + <item row="1" column="1"> |
41 | 41 | <widget class="ScientificDoubleSpinBox" name="horizontal"> |
42 | 42 | <property name="keyboardTracking"> |
43 | 43 | <bool>false</bool> |
|
53 | 53 | </property> |
54 | 54 | </widget> |
55 | 55 | </item> |
56 | | - <item row="1" column="1"> |
| 56 | + <item row="2" column="1"> |
57 | 57 | <widget class="ScientificDoubleSpinBox" name="vertical"> |
58 | 58 | <property name="keyboardTracking"> |
59 | 59 | <bool>false</bool> |
|
66 | 66 | </property> |
67 | 67 | </widget> |
68 | 68 | </item> |
69 | | - <item row="2" column="0" colspan="2"> |
70 | | - <widget class="QDialogButtonBox" name="button_box"> |
71 | | - <property name="standardButtons"> |
72 | | - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
| 69 | + <item row="1" column="0"> |
| 70 | + <widget class="QLabel" name="horizontal_label"> |
| 71 | + <property name="text"> |
| 72 | + <string>Horizontal Fraction:</string> |
| 73 | + </property> |
| 74 | + </widget> |
| 75 | + </item> |
| 76 | + <item row="0" column="0"> |
| 77 | + <widget class="QCheckBox" name="unpolarized"> |
| 78 | + <property name="text"> |
| 79 | + <string>Unpolarized</string> |
73 | 80 | </property> |
74 | 81 | </widget> |
75 | 82 | </item> |
|
120 | 127 | </hint> |
121 | 128 | </hints> |
122 | 129 | </connection> |
| 130 | + <connection> |
| 131 | + <sender>unpolarized</sender> |
| 132 | + <signal>toggled(bool)</signal> |
| 133 | + <receiver>horizontal_label</receiver> |
| 134 | + <slot>setDisabled(bool)</slot> |
| 135 | + <hints> |
| 136 | + <hint type="sourcelabel"> |
| 137 | + <x>91</x> |
| 138 | + <y>24</y> |
| 139 | + </hint> |
| 140 | + <hint type="destinationlabel"> |
| 141 | + <x>91</x> |
| 142 | + <y>59</y> |
| 143 | + </hint> |
| 144 | + </hints> |
| 145 | + </connection> |
| 146 | + <connection> |
| 147 | + <sender>unpolarized</sender> |
| 148 | + <signal>toggled(bool)</signal> |
| 149 | + <receiver>horizontal</receiver> |
| 150 | + <slot>setDisabled(bool)</slot> |
| 151 | + <hints> |
| 152 | + <hint type="sourcelabel"> |
| 153 | + <x>91</x> |
| 154 | + <y>24</y> |
| 155 | + </hint> |
| 156 | + <hint type="destinationlabel"> |
| 157 | + <x>242</x> |
| 158 | + <y>59</y> |
| 159 | + </hint> |
| 160 | + </hints> |
| 161 | + </connection> |
| 162 | + <connection> |
| 163 | + <sender>unpolarized</sender> |
| 164 | + <signal>toggled(bool)</signal> |
| 165 | + <receiver>vertical_label</receiver> |
| 166 | + <slot>setDisabled(bool)</slot> |
| 167 | + <hints> |
| 168 | + <hint type="sourcelabel"> |
| 169 | + <x>91</x> |
| 170 | + <y>24</y> |
| 171 | + </hint> |
| 172 | + <hint type="destinationlabel"> |
| 173 | + <x>91</x> |
| 174 | + <y>96</y> |
| 175 | + </hint> |
| 176 | + </hints> |
| 177 | + </connection> |
| 178 | + <connection> |
| 179 | + <sender>unpolarized</sender> |
| 180 | + <signal>toggled(bool)</signal> |
| 181 | + <receiver>vertical</receiver> |
| 182 | + <slot>setDisabled(bool)</slot> |
| 183 | + <hints> |
| 184 | + <hint type="sourcelabel"> |
| 185 | + <x>91</x> |
| 186 | + <y>24</y> |
| 187 | + </hint> |
| 188 | + <hint type="destinationlabel"> |
| 189 | + <x>242</x> |
| 190 | + <y>96</y> |
| 191 | + </hint> |
| 192 | + </hints> |
| 193 | + </connection> |
123 | 194 | </connections> |
124 | 195 | </ui> |
0 commit comments