Mercurial > public > ostc_companion
comparison Settings.ui @ 1:0b3630a29ad8
Initial version based on previous repository.
Project was ported to QT6 and in now cmake based.
| author | Ideenmodellierer <tiefenrauscher@web.de> |
|---|---|
| date | Thu, 27 Nov 2025 18:40:28 +0100 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 0:76ccd6ce50c0 | 1:0b3630a29ad8 |
|---|---|
| 1 <?xml version="1.0" encoding="UTF-8"?> | |
| 2 <ui version="4.0"> | |
| 3 <class>Settings</class> | |
| 4 <widget class="QDialog" name="Settings"> | |
| 5 <property name="geometry"> | |
| 6 <rect> | |
| 7 <x>0</x> | |
| 8 <y>0</y> | |
| 9 <width>341</width> | |
| 10 <height>293</height> | |
| 11 </rect> | |
| 12 </property> | |
| 13 <property name="windowTitle"> | |
| 14 <string>OSTC Companion settings</string> | |
| 15 </property> | |
| 16 <layout class="QGridLayout" name="gridLayout"> | |
| 17 <item row="10" column="0" colspan="3"> | |
| 18 <widget class="Line" name="line_3"> | |
| 19 <property name="orientation"> | |
| 20 <enum>Qt::Horizontal</enum> | |
| 21 </property> | |
| 22 </widget> | |
| 23 </item> | |
| 24 <item row="6" column="0" colspan="2"> | |
| 25 <widget class="QCheckBox" name="forceFirmwareUpdate"> | |
| 26 <property name="text"> | |
| 27 <string>Force Firmware update</string> | |
| 28 </property> | |
| 29 </widget> | |
| 30 </item> | |
| 31 <item row="2" column="1"> | |
| 32 <widget class="QComboBox" name="portMenu"> | |
| 33 <property name="editable"> | |
| 34 <bool>true</bool> | |
| 35 </property> | |
| 36 </widget> | |
| 37 </item> | |
| 38 <item row="11" column="0" colspan="3"> | |
| 39 <widget class="QCheckBox" name="autoSetDateTimeCB"> | |
| 40 <property name="toolTip"> | |
| 41 <string>If checked, any configuration upload will also setup date and time.</string> | |
| 42 </property> | |
| 43 <property name="text"> | |
| 44 <string>Auto setup of date && time</string> | |
| 45 </property> | |
| 46 </widget> | |
| 47 </item> | |
| 48 <item row="8" column="0" colspan="2"> | |
| 49 <widget class="QCheckBox" name="forceFontlibUpdate"> | |
| 50 <property name="text"> | |
| 51 <string>Force FontLib update</string> | |
| 52 </property> | |
| 53 </widget> | |
| 54 </item> | |
| 55 <item row="4" column="0" colspan="3"> | |
| 56 <widget class="QLabel" name="noPortLabel"> | |
| 57 <property name="sizePolicy"> | |
| 58 <sizepolicy hsizetype="Ignored" vsizetype="Preferred"> | |
| 59 <horstretch>0</horstretch> | |
| 60 <verstretch>0</verstretch> | |
| 61 </sizepolicy> | |
| 62 </property> | |
| 63 <property name="textFormat"> | |
| 64 <enum>Qt::RichText</enum> | |
| 65 </property> | |
| 66 <property name="alignment"> | |
| 67 <set>Qt::AlignCenter</set> | |
| 68 </property> | |
| 69 <property name="openExternalLinks"> | |
| 70 <bool>true</bool> | |
| 71 </property> | |
| 72 </widget> | |
| 73 </item> | |
| 74 <item row="0" column="1"> | |
| 75 <widget class="QComboBox" name="languageMenu"> | |
| 76 <property name="currentIndex"> | |
| 77 <number>0</number> | |
| 78 </property> | |
| 79 <property name="insertPolicy"> | |
| 80 <enum>QComboBox::NoInsert</enum> | |
| 81 </property> | |
| 82 <item> | |
| 83 <property name="text"> | |
| 84 <string notr="true">Deutsch</string> | |
| 85 </property> | |
| 86 <property name="icon"> | |
| 87 <iconset> | |
| 88 <normaloff>:/icons/Icons/german.png</normaloff>:/icons/Icons/german.png</iconset> | |
| 89 </property> | |
| 90 </item> | |
| 91 <item> | |
| 92 <property name="text"> | |
| 93 <string notr="true">English</string> | |
| 94 </property> | |
| 95 <property name="icon"> | |
| 96 <iconset> | |
| 97 <normaloff>:/icons/Icons/english.png</normaloff>:/icons/Icons/english.png</iconset> | |
| 98 </property> | |
| 99 </item> | |
| 100 <item> | |
| 101 <property name="text"> | |
| 102 <string notr="true">Español</string> | |
| 103 </property> | |
| 104 <property name="icon"> | |
| 105 <iconset> | |
| 106 <normaloff>:/icons/Icons/spanish.png</normaloff>:/icons/Icons/spanish.png</iconset> | |
| 107 </property> | |
| 108 </item> | |
| 109 <item> | |
| 110 <property name="text"> | |
| 111 <string notr="true">Français</string> | |
| 112 </property> | |
| 113 <property name="icon"> | |
| 114 <iconset> | |
| 115 <normaloff>:/icons/Icons/french.png</normaloff>:/icons/Icons/french.png</iconset> | |
| 116 </property> | |
| 117 </item> | |
| 118 <item> | |
| 119 <property name="text"> | |
| 120 <string notr="true">Italiano</string> | |
| 121 </property> | |
| 122 <property name="icon"> | |
| 123 <iconset> | |
| 124 <normaloff>:/icons/Icons/italian.png</normaloff>:/icons/Icons/italian.png</iconset> | |
| 125 </property> | |
| 126 </item> | |
| 127 <item> | |
| 128 <property name="text"> | |
| 129 <string notr="true">Русский</string> | |
| 130 </property> | |
| 131 <property name="icon"> | |
| 132 <iconset> | |
| 133 <normaloff>:/icons/Icons/russian.png</normaloff>:/icons/Icons/russian.png</iconset> | |
| 134 </property> | |
| 135 </item> | |
| 136 </widget> | |
| 137 </item> | |
| 138 <item row="2" column="2"> | |
| 139 <widget class="QToolButton" name="updatePorts"> | |
| 140 <property name="toolTip"> | |
| 141 <string>Update port list with currently connected USB or Bluetooth devices.</string> | |
| 142 </property> | |
| 143 <property name="text"> | |
| 144 <string notr="true">...</string> | |
| 145 </property> | |
| 146 </widget> | |
| 147 </item> | |
| 148 <item row="15" column="0" colspan="3"> | |
| 149 <layout class="QHBoxLayout" name="horizontalLayout"> | |
| 150 <property name="spacing"> | |
| 151 <number>0</number> | |
| 152 </property> | |
| 153 <item> | |
| 154 <widget class="QPushButton" name="resetB"> | |
| 155 <property name="text"> | |
| 156 <string>Restore Defaults</string> | |
| 157 </property> | |
| 158 </widget> | |
| 159 </item> | |
| 160 <item> | |
| 161 <spacer name="horizontalSpacer_2"> | |
| 162 <property name="orientation"> | |
| 163 <enum>Qt::Horizontal</enum> | |
| 164 </property> | |
| 165 <property name="sizeHint" stdset="0"> | |
| 166 <size> | |
| 167 <width>40</width> | |
| 168 <height>20</height> | |
| 169 </size> | |
| 170 </property> | |
| 171 </spacer> | |
| 172 </item> | |
| 173 <item> | |
| 174 <widget class="QPushButton" name="okB"> | |
| 175 <property name="text"> | |
| 176 <string>OK</string> | |
| 177 </property> | |
| 178 <property name="shortcut"> | |
| 179 <string>Return</string> | |
| 180 </property> | |
| 181 <property name="autoDefault"> | |
| 182 <bool>false</bool> | |
| 183 </property> | |
| 184 <property name="default"> | |
| 185 <bool>true</bool> | |
| 186 </property> | |
| 187 </widget> | |
| 188 </item> | |
| 189 <item> | |
| 190 <widget class="QPushButton" name="cancelB"> | |
| 191 <property name="text"> | |
| 192 <string>Cancel</string> | |
| 193 </property> | |
| 194 <property name="shortcut"> | |
| 195 <string>Ctrl+W</string> | |
| 196 </property> | |
| 197 </widget> | |
| 198 </item> | |
| 199 </layout> | |
| 200 </item> | |
| 201 <item row="0" column="0"> | |
| 202 <widget class="QLabel" name="label"> | |
| 203 <property name="text"> | |
| 204 <string>Language:</string> | |
| 205 </property> | |
| 206 <property name="alignment"> | |
| 207 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | |
| 208 </property> | |
| 209 </widget> | |
| 210 </item> | |
| 211 <item row="7" column="0" colspan="2"> | |
| 212 <widget class="QCheckBox" name="forceRTEUpdate"> | |
| 213 <property name="text"> | |
| 214 <string>Force RTE update</string> | |
| 215 </property> | |
| 216 </widget> | |
| 217 </item> | |
| 218 <item row="5" column="0" colspan="3"> | |
| 219 <widget class="Line" name="line_4"> | |
| 220 <property name="orientation"> | |
| 221 <enum>Qt::Horizontal</enum> | |
| 222 </property> | |
| 223 </widget> | |
| 224 </item> | |
| 225 <item row="2" column="0"> | |
| 226 <widget class="QLabel" name="label_2"> | |
| 227 <property name="sizePolicy"> | |
| 228 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> | |
| 229 <horstretch>0</horstretch> | |
| 230 <verstretch>0</verstretch> | |
| 231 </sizepolicy> | |
| 232 </property> | |
| 233 <property name="text"> | |
| 234 <string>Communication port:</string> | |
| 235 </property> | |
| 236 <property name="alignment"> | |
| 237 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | |
| 238 </property> | |
| 239 </widget> | |
| 240 </item> | |
| 241 <item row="0" column="2"> | |
| 242 <spacer name="horizontalSpacer"> | |
| 243 <property name="orientation"> | |
| 244 <enum>Qt::Horizontal</enum> | |
| 245 </property> | |
| 246 <property name="sizeType"> | |
| 247 <enum>QSizePolicy::Expanding</enum> | |
| 248 </property> | |
| 249 <property name="sizeHint" stdset="0"> | |
| 250 <size> | |
| 251 <width>0</width> | |
| 252 <height>20</height> | |
| 253 </size> | |
| 254 </property> | |
| 255 </spacer> | |
| 256 </item> | |
| 257 <item row="14" column="0" colspan="3"> | |
| 258 <widget class="Line" name="line"> | |
| 259 <property name="orientation"> | |
| 260 <enum>Qt::Horizontal</enum> | |
| 261 </property> | |
| 262 </widget> | |
| 263 </item> | |
| 264 <item row="13" column="0" colspan="3"> | |
| 265 <widget class="QCheckBox" name="useFastMode"> | |
| 266 <property name="text"> | |
| 267 <string>Enable fast mode if supported</string> | |
| 268 </property> | |
| 269 </widget> | |
| 270 </item> | |
| 271 </layout> | |
| 272 </widget> | |
| 273 <resources/> | |
| 274 <connections> | |
| 275 <connection> | |
| 276 <sender>okB</sender> | |
| 277 <signal>clicked()</signal> | |
| 278 <receiver>Settings</receiver> | |
| 279 <slot>accept()</slot> | |
| 280 <hints> | |
| 281 <hint type="sourcelabel"> | |
| 282 <x>212</x> | |
| 283 <y>144</y> | |
| 284 </hint> | |
| 285 <hint type="destinationlabel"> | |
| 286 <x>373</x> | |
| 287 <y>100</y> | |
| 288 </hint> | |
| 289 </hints> | |
| 290 </connection> | |
| 291 <connection> | |
| 292 <sender>cancelB</sender> | |
| 293 <signal>clicked()</signal> | |
| 294 <receiver>Settings</receiver> | |
| 295 <slot>reject()</slot> | |
| 296 <hints> | |
| 297 <hint type="sourcelabel"> | |
| 298 <x>293</x> | |
| 299 <y>144</y> | |
| 300 </hint> | |
| 301 <hint type="destinationlabel"> | |
| 302 <x>231</x> | |
| 303 <y>98</y> | |
| 304 </hint> | |
| 305 </hints> | |
| 306 </connection> | |
| 307 <connection> | |
| 308 <sender>languageMenu</sender> | |
| 309 <signal>activated(int)</signal> | |
| 310 <receiver>Settings</receiver> | |
| 311 <slot>languageSlot(int)</slot> | |
| 312 <hints> | |
| 313 <hint type="sourcelabel"> | |
| 314 <x>172</x> | |
| 315 <y>25</y> | |
| 316 </hint> | |
| 317 <hint type="destinationlabel"> | |
| 318 <x>235</x> | |
| 319 <y>26</y> | |
| 320 </hint> | |
| 321 </hints> | |
| 322 </connection> | |
| 323 <connection> | |
| 324 <sender>updatePorts</sender> | |
| 325 <signal>clicked()</signal> | |
| 326 <receiver>Settings</receiver> | |
| 327 <slot>updatePortsSlot()</slot> | |
| 328 <hints> | |
| 329 <hint type="sourcelabel"> | |
| 330 <x>295</x> | |
| 331 <y>52</y> | |
| 332 </hint> | |
| 333 <hint type="destinationlabel"> | |
| 334 <x>170</x> | |
| 335 <y>97</y> | |
| 336 </hint> | |
| 337 </hints> | |
| 338 </connection> | |
| 339 <connection> | |
| 340 <sender>resetB</sender> | |
| 341 <signal>clicked()</signal> | |
| 342 <receiver>Settings</receiver> | |
| 343 <slot>resetSettingsSlot()</slot> | |
| 344 <hints> | |
| 345 <hint type="sourcelabel"> | |
| 346 <x>54</x> | |
| 347 <y>135</y> | |
| 348 </hint> | |
| 349 <hint type="destinationlabel"> | |
| 350 <x>170</x> | |
| 351 <y>78</y> | |
| 352 </hint> | |
| 353 </hints> | |
| 354 </connection> | |
| 355 </connections> | |
| 356 <slots> | |
| 357 <slot>languageSlot(int)</slot> | |
| 358 <slot>resetSettingsSlot()</slot> | |
| 359 <slot>updatePortsSlot()</slot> | |
| 360 </slots> | |
| 361 </ui> |
