|
3 | 3 | <class>SettingsForm</class> |
4 | 4 | <widget class="QWidget" name="SettingsForm"> |
5 | 5 | <property name="windowModality"> |
6 | | - <enum>Qt::ApplicationModal</enum> |
| 6 | + <enum>Qt::WindowModality::ApplicationModal</enum> |
7 | 7 | </property> |
8 | 8 | <property name="geometry"> |
9 | 9 | <rect> |
|
22 | 22 | <item> |
23 | 23 | <layout class="QVBoxLayout" name="verticalLayout_8"> |
24 | 24 | <item> |
25 | | - <widget class="QGroupBox" name="r10_settings_groupbox_2"> |
| 25 | + <widget class="QGroupBox" name="groupBox_3"> |
| 26 | + <property name="title"> |
| 27 | + <string>Simulator</string> |
| 28 | + </property> |
| 29 | + <layout class="QHBoxLayout" name="horizontalLayout_18"> |
| 30 | + <item> |
| 31 | + <widget class="QLabel" name="simulator_label"> |
| 32 | + <property name="text"> |
| 33 | + <string>Simulator API</string> |
| 34 | + </property> |
| 35 | + </widget> |
| 36 | + </item> |
| 37 | + <item> |
| 38 | + <widget class="QComboBox" name="simulator_combo"> |
| 39 | + <item> |
| 40 | + <property name="text"> |
| 41 | + <string>None</string> |
| 42 | + </property> |
| 43 | + </item> |
| 44 | + </widget> |
| 45 | + </item> |
| 46 | + </layout> |
| 47 | + </widget> |
| 48 | + </item> |
| 49 | + <item> |
| 50 | + <widget class="QGroupBox" name="gspro_settings_groupbox"> |
26 | 51 | <property name="title"> |
27 | 52 | <string>GSPro</string> |
28 | 53 | </property> |
|
48 | 73 | </size> |
49 | 74 | </property> |
50 | 75 | <property name="contextMenuPolicy"> |
51 | | - <enum>Qt::PreventContextMenu</enum> |
| 76 | + <enum>Qt::ContextMenuPolicy::PreventContextMenu</enum> |
52 | 77 | </property> |
53 | 78 | <property name="toolTip"> |
54 | 79 | <string>GSPro IP Address</string> |
|
177 | 202 | <string>Application Path(Opyional)</string> |
178 | 203 | </property> |
179 | 204 | <property name="lineWrapMode"> |
180 | | - <enum>QPlainTextEdit::WidgetWidth</enum> |
| 205 | + <enum>QPlainTextEdit::LineWrapMode::WidgetWidth</enum> |
181 | 206 | </property> |
182 | 207 | <property name="placeholderText"> |
183 | 208 | <string>GSPro Path</string> |
|
196 | 221 | </layout> |
197 | 222 | </widget> |
198 | 223 | </item> |
| 224 | + <item> |
| 225 | + <widget class="QGroupBox" name="ogs_settings_groupbox"> |
| 226 | + <property name="title"> |
| 227 | + <string>OpenGolfSim</string> |
| 228 | + </property> |
| 229 | + <layout class="QVBoxLayout" name="verticalLayout_11"> |
| 230 | + <item> |
| 231 | + <widget class="QPlainTextEdit" name="ogs_ipaddress"> |
| 232 | + <property name="sizePolicy"> |
| 233 | + <sizepolicy hsizetype="Expanding" vsizetype="Minimum"> |
| 234 | + <horstretch>0</horstretch> |
| 235 | + <verstretch>0</verstretch> |
| 236 | + </sizepolicy> |
| 237 | + </property> |
| 238 | + <property name="minimumSize"> |
| 239 | + <size> |
| 240 | + <width>0</width> |
| 241 | + <height>31</height> |
| 242 | + </size> |
| 243 | + </property> |
| 244 | + <property name="maximumSize"> |
| 245 | + <size> |
| 246 | + <width>16777215</width> |
| 247 | + <height>31</height> |
| 248 | + </size> |
| 249 | + </property> |
| 250 | + <property name="contextMenuPolicy"> |
| 251 | + <enum>Qt::ContextMenuPolicy::PreventContextMenu</enum> |
| 252 | + </property> |
| 253 | + <property name="toolTip"> |
| 254 | + <string><html><head/><body><p>The IP address of the computer running OpenGolfSim</p></body></html></string> |
| 255 | + </property> |
| 256 | + <property name="tabChangesFocus"> |
| 257 | + <bool>true</bool> |
| 258 | + </property> |
| 259 | + <property name="placeholderText"> |
| 260 | + <string>OpenGolfSim IP Address</string> |
| 261 | + </property> |
| 262 | + </widget> |
| 263 | + </item> |
| 264 | + <item> |
| 265 | + <widget class="QPlainTextEdit" name="ogs_port"> |
| 266 | + <property name="enabled"> |
| 267 | + <bool>true</bool> |
| 268 | + </property> |
| 269 | + <property name="sizePolicy"> |
| 270 | + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 271 | + <horstretch>0</horstretch> |
| 272 | + <verstretch>0</verstretch> |
| 273 | + </sizepolicy> |
| 274 | + </property> |
| 275 | + <property name="minimumSize"> |
| 276 | + <size> |
| 277 | + <width>0</width> |
| 278 | + <height>31</height> |
| 279 | + </size> |
| 280 | + </property> |
| 281 | + <property name="maximumSize"> |
| 282 | + <size> |
| 283 | + <width>16777215</width> |
| 284 | + <height>31</height> |
| 285 | + </size> |
| 286 | + </property> |
| 287 | + <property name="toolTip"> |
| 288 | + <string><html><head/><body><p>The port of the OpenGolfSim API</p></body></html></string> |
| 289 | + </property> |
| 290 | + <property name="tabChangesFocus"> |
| 291 | + <bool>true</bool> |
| 292 | + </property> |
| 293 | + <property name="placeholderText"> |
| 294 | + <string>OpenGolfSim Port</string> |
| 295 | + </property> |
| 296 | + </widget> |
| 297 | + </item> |
| 298 | + </layout> |
| 299 | + </widget> |
| 300 | + </item> |
199 | 301 | <item> |
200 | 302 | <spacer name="verticalSpacer_2"> |
201 | 303 | <property name="orientation"> |
202 | | - <enum>Qt::Vertical</enum> |
| 304 | + <enum>Qt::Orientation::Vertical</enum> |
203 | 305 | </property> |
204 | 306 | <property name="sizeHint" stdset="0"> |
205 | 307 | <size> |
|
574 | 676 | <item> |
575 | 677 | <spacer name="verticalSpacer_3"> |
576 | 678 | <property name="orientation"> |
577 | | - <enum>Qt::Vertical</enum> |
| 679 | + <enum>Qt::Orientation::Vertical</enum> |
578 | 680 | </property> |
579 | 681 | <property name="sizeHint" stdset="0"> |
580 | 682 | <size> |
|
593 | 695 | <item> |
594 | 696 | <layout class="QVBoxLayout" name="verticalLayout_3" stretch="0"> |
595 | 697 | <property name="sizeConstraint"> |
596 | | - <enum>QLayout::SetMinimumSize</enum> |
| 698 | + <enum>QLayout::SizeConstraint::SetMinimumSize</enum> |
597 | 699 | </property> |
598 | 700 | <item> |
599 | 701 | <layout class="QHBoxLayout" name="horizontalLayout_9"> |
|
731 | 833 | <item> |
732 | 834 | <spacer name="verticalSpacer"> |
733 | 835 | <property name="orientation"> |
734 | | - <enum>Qt::Vertical</enum> |
| 836 | + <enum>Qt::Orientation::Vertical</enum> |
735 | 837 | </property> |
736 | 838 | <property name="sizeHint" stdset="0"> |
737 | 839 | <size> |
|
746 | 848 | <item> |
747 | 849 | <spacer name="horizontalSpacer"> |
748 | 850 | <property name="orientation"> |
749 | | - <enum>Qt::Horizontal</enum> |
| 851 | + <enum>Qt::Orientation::Horizontal</enum> |
750 | 852 | </property> |
751 | 853 | <property name="sizeHint" stdset="0"> |
752 | 854 | <size> |
|
0 commit comments