1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <author>Jimmy Christensen</author> 4 <class>MainWindow</class> 5 <widget class="QMainWindow" name="MainWindow"> 6 <property name="geometry"> 7 <rect> 8 <x>0</x> 9 <y>0</y> 10 <width>484</width> 11 <height>478</height> 12 </rect> 13 </property> 14 <property name="sizePolicy"> 15 <sizepolicy hsizetype="Maximum" vsizetype="Maximum"> 16 <horstretch>1</horstretch> 17 <verstretch>1</verstretch> 18 </sizepolicy> 19 </property> 20 <property name="windowTitle"> 21 <string>OldSkoolGravityGame - Launcher</string> 22 </property> 23 <property name="windowIcon"> 24 <iconset resource="std.qrc"> 25 <normaloff>:/icon/icon.png</normaloff>:/icon/icon.png</iconset> 26 </property> 27 <widget class="QWidget" name="centralwidget"> 28 <property name="sizePolicy"> 29 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 30 <horstretch>0</horstretch> 31 <verstretch>0</verstretch> 32 </sizepolicy> 33 </property> 34 <layout class="QGridLayout" name="gridLayout_3"> 35 <property name="margin"> 36 <number>0</number> 37 </property> 38 <item row="0" column="0"> 39 <layout class="QVBoxLayout" name="verticalLayout"> 40 <property name="sizeConstraint"> 41 <enum>QLayout::SetMinAndMaxSize</enum> 42 </property> 43 <item> 44 <widget class="QTabWidget" name="tabWidget"> 45 <property name="sizePolicy"> 46 <sizepolicy hsizetype="Expanding" vsizetype="Minimum"> 47 <horstretch>0</horstretch> 48 <verstretch>0</verstretch> 49 </sizepolicy> 50 </property> 51 <property name="currentIndex"> 52 <number>0</number> 53 </property> 54 <widget class="QWidget" name="gameTab"> 55 <attribute name="title"> 56 <string>Game</string> 57 </attribute> 58 <layout class="QVBoxLayout" name="verticalLayout_3"> 59 <item> 60 <widget class="QPushButton" name="btnStart"> 61 <property name="toolTip"> 62 <string>Start the game!</string> 63 </property> 64 <property name="text"> 65 <string>Start Osgg!</string> 66 </property> 67 <property name="icon"> 68 <iconset resource="std.qrc"> 69 <normaloff>:/icon/icon.png</normaloff>:/icon/icon.png</iconset> 70 </property> 71 <property name="iconSize"> 72 <size> 73 <width>32</width> 74 <height>32</height> 75 </size> 76 </property> 77 </widget> 78 </item> 79 <item> 80 <widget class="QGroupBox" name="groupBoxLevels"> 81 <property name="title"> 82 <string>Levels</string> 83 </property> 84 <layout class="QGridLayout" name="gridLayout_4"> 85 <property name="leftMargin"> 86 <number>0</number> 87 </property> 88 <property name="rightMargin"> 89 <number>0</number> 90 </property> 91 <property name="bottomMargin"> 92 <number>0</number> 93 </property> 94 <property name="spacing"> 95 <number>0</number> 96 </property> 97 <item row="0" column="0"> 98 <layout class="QHBoxLayout" name="horizontalLayout"> 99 <item> 100 <widget class="QTabWidget" name="tabLvl"> 101 <property name="sizePolicy"> 102 <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> 103 <horstretch>0</horstretch> 104 <verstretch>0</verstretch> 105 </sizepolicy> 106 </property> 107 <property name="minimumSize"> 108 <size> 109 <width>0</width> 110 <height>0</height> 111 </size> 112 </property> 113 <property name="maximumSize"> 114 <size> 115 <width>201</width> 116 <height>16777215</height> 117 </size> 118 </property> 119 <property name="currentIndex"> 120 <number>0</number> 121 </property> 122 <widget class="QWidget" name="tab"> 123 <attribute name="title"> 124 <string>Standard</string> 125 </attribute> 126 <layout class="QGridLayout" name="gridLayout"> 127 <item row="0" column="0"> 128 <layout class="QVBoxLayout" name="verticalLayout_7"> 129 <item> 130 <layout class="QHBoxLayout" name="horizontalLayout_3"> 131 <item> 132 <widget class="QLabel" name="label_2"> 133 <property name="text"> 134 <string>Starting Level:</string> 135 </property> 136 </widget> 137 </item> 138 <item> 139 <widget class="QSpinBox" name="numStartLevel"/> 140 </item> 141 </layout> 142 </item> 143 <item> 144 <widget class="QListWidget" name="lstStdLvl"> 145 <property name="sortingEnabled"> 146 <bool>false</bool> 147 </property> 148 </widget> 149 </item> 150 </layout> 151 </item> 152 </layout> 153 </widget> 154 <widget class="QWidget" name="tab_2"> 155 <attribute name="title"> 156 <string>Custom</string> 157 </attribute> 158 <layout class="QGridLayout" name="gridLayout_8"> 159 <item row="0" column="0"> 160 <widget class="QPushButton" name="btnCreate"> 161 <property name="text"> 162 <string>Create</string> 163 </property> 164 </widget> 165 </item> 166 <item row="0" column="1"> 167 <widget class="QPushButton" name="btnEdit"> 168 <property name="text"> 169 <string>Edit</string> 170 </property> 171 </widget> 172 </item> 173 <item row="1" column="0" colspan="2"> 174 <widget class="QListWidget" name="lstCustomLvl"/> 175 </item> 176 <item row="2" column="0"> 177 <widget class="QPushButton" name="btnAddCustom"> 178 <property name="text"> 179 <string>Add</string> 180 </property> 181 </widget> 182 </item> 183 <item row="2" column="1"> 184 <widget class="QPushButton" name="btnRemoveCustom"> 185 <property name="text"> 186 <string>Remove</string> 187 </property> 188 </widget> 189 </item> 190 </layout> 191 </widget> 192 </widget> 193 </item> 194 <item> 195 <layout class="QVBoxLayout" name="verticalLayout_6"> 196 <item> 197 <widget class="lvlpreviewview" name="lvlPreview"> 198 <property name="sizePolicy"> 199 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> 200 <horstretch>1</horstretch> 201 <verstretch>1</verstretch> 202 </sizepolicy> 203 </property> 204 </widget> 205 </item> 206 </layout> 207 </item> 208 </layout> 209 </item> 210 </layout> 211 </widget> 212 </item> 213 </layout> 214 </widget> 215 <widget class="QWidget" name="demoTab"> 216 <attribute name="title"> 217 <string>Demoes</string> 218 </attribute> 219 <layout class="QVBoxLayout" name="verticalLayout_4"> 220 <item> 221 <widget class="QPushButton" name="btnPlayDemo"> 222 <property name="text"> 223 <string>Play Demo!</string> 224 </property> 225 </widget> 226 </item> 227 <item> 228 <layout class="QHBoxLayout" name="horizontalLayout_2"> 229 <property name="sizeConstraint"> 230 <enum>QLayout::SetDefaultConstraint</enum> 231 </property> 232 <item> 233 <widget class="QLabel" name="label_5"> 234 <property name="sizePolicy"> 235 <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 236 <horstretch>0</horstretch> 237 <verstretch>0</verstretch> 238 </sizepolicy> 239 </property> 240 <property name="text"> 241 <string>LevelFile:</string> 242 </property> 243 </widget> 244 </item> 245 <item> 246 <widget class="QLineEdit" name="txtDemoLevel"> 247 <property name="sizePolicy"> 248 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 249 <horstretch>0</horstretch> 250 <verstretch>0</verstretch> 251 </sizepolicy> 252 </property> 253 </widget> 254 </item> 255 <item> 256 <widget class="QPushButton" name="btnDemoBrowse"> 257 <property name="sizePolicy"> 258 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 259 <horstretch>0</horstretch> 260 <verstretch>0</verstretch> 261 </sizepolicy> 262 </property> 263 <property name="autoFillBackground"> 264 <bool>false</bool> 265 </property> 266 <property name="text"> 267 <string>...</string> 268 </property> 269 </widget> 270 </item> 271 </layout> 272 </item> 273 <item> 274 <widget class="QListWidget" name="lstDemo"/> 275 </item> 276 </layout> 277 </widget> 278 <widget class="QWidget" name="tab_3"> 279 <property name="sizePolicy"> 280 <sizepolicy hsizetype="Preferred" vsizetype="Minimum"> 281 <horstretch>0</horstretch> 282 <verstretch>0</verstretch> 283 </sizepolicy> 284 </property> 285 <attribute name="title"> 286 <string>Settings</string> 287 </attribute> 288 <layout class="QVBoxLayout" name="verticalLayout_8"> 289 <item> 290 <layout class="QVBoxLayout" name="verticalLayout_2"> 291 <item> 292 <layout class="QGridLayout" name="gridLayout_2"> 293 <property name="sizeConstraint"> 294 <enum>QLayout::SetMinimumSize</enum> 295 </property> 296 <item row="0" column="1"> 297 <widget class="QLineEdit" name="txtExecPath"> 298 <property name="text"> 299 <string>./osgg</string> 300 </property> 301 </widget> 302 </item> 303 <item row="0" column="2"> 304 <widget class="QToolButton" name="btnBrowseExecPath"> 305 <property name="text"> 306 <string comment="Browse for the executable">...</string> 307 </property> 308 </widget> 309 </item> 310 <item row="1" column="0"> 311 <widget class="QLabel" name="label_3"> 312 <property name="text"> 313 <string>osgg data path:</string> 314 </property> 315 </widget> 316 </item> 317 <item row="1" column="1"> 318 <widget class="QLineEdit" name="txtDataDir"> 319 <property name="text"> 320 <string>./</string> 321 </property> 322 </widget> 323 </item> 324 <item row="1" column="2"> 325 <widget class="QToolButton" name="btnBrowseDataDir"> 326 <property name="text"> 327 <string comment="Browse for the data directory">...</string> 328 </property> 329 </widget> 330 </item> 331 <item row="0" column="0"> 332 <widget class="QLabel" name="label_4"> 333 <property name="text"> 334 <string>osgg executable:</string> 335 </property> 336 </widget> 337 </item> 338 </layout> 339 </item> 340 </layout> 341 </item> 342 <item> 343 <widget class="QGroupBox" name="groupBox"> 344 <property name="sizePolicy"> 345 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 346 <horstretch>0</horstretch> 347 <verstretch>0</verstretch> 348 </sizepolicy> 349 </property> 350 <property name="title"> 351 <string>Screen</string> 352 </property> 353 <layout class="QFormLayout" name="formLayout"> 354 <property name="fieldGrowthPolicy"> 355 <enum>QFormLayout::AllNonFixedFieldsGrow</enum> 356 </property> 357 <property name="horizontalSpacing"> 358 <number>4</number> 359 </property> 360 <property name="verticalSpacing"> 361 <number>4</number> 362 </property> 363 <item row="0" column="0"> 364 <widget class="QCheckBox" name="chFullScreen"> 365 <property name="toolTip"> 366 <string>Run game in fullscreen mode</string> 367 </property> 368 <property name="text"> 369 <string>Fullscreen</string> 370 </property> 371 </widget> 372 </item> 373 <item row="1" column="0"> 374 <widget class="QCheckBox" name="chShowFps"> 375 <property name="toolTip"> 376 <string>Show how many fps the game runs at, this value should be close to 60 for optimal play.</string> 377 </property> 378 <property name="text"> 379 <string>showfps</string> 380 </property> 381 <property name="checked"> 382 <bool>false</bool> 383 </property> 384 </widget> 385 </item> 386 <item row="2" column="0"> 387 <widget class="QCheckBox" name="chVsync"> 388 <property name="toolTip"> 389 <string>Turn on Vsync for smooth gameplay.</string> 390 </property> 391 <property name="text"> 392 <string>vsync</string> 393 </property> 394 <property name="checked"> 395 <bool>true</bool> 396 </property> 397 </widget> 398 </item> 399 <item row="3" column="0"> 400 <widget class="QCheckBox" name="chZoom"> 401 <property name="text"> 402 <string>auto zoom</string> 403 </property> 404 <property name="checked"> 405 <bool>true</bool> 406 </property> 407 </widget> 408 </item> 409 <item row="4" column="0"> 410 <widget class="QLabel" name="label"> 411 <property name="text"> 412 <string>Background color:</string> 413 </property> 414 </widget> 415 </item> 416 <item row="4" column="1"> 417 <widget class="QToolButton" name="btnSelectBgColor"> 418 <property name="toolTip"> 419 <string/> 420 </property> 421 <property name="styleSheet"> 422 <string notr="true">background-color: rgb(0, 0, 0);</string> 423 </property> 424 <property name="text"> 425 <string>...</string> 426 </property> 427 </widget> 428 </item> 429 </layout> 430 </widget> 431 </item> 432 <item> 433 <widget class="QGroupBox" name="groupBox_2"> 434 <property name="sizePolicy"> 435 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 436 <horstretch>0</horstretch> 437 <verstretch>0</verstretch> 438 </sizepolicy> 439 </property> 440 <property name="title"> 441 <string>Sound</string> 442 </property> 443 <layout class="QFormLayout" name="formLayout_3"> 444 <property name="fieldGrowthPolicy"> 445 <enum>QFormLayout::AllNonFixedFieldsGrow</enum> 446 </property> 447 <item row="0" column="0"> 448 <widget class="QCheckBox" name="chSound"> 449 <property name="toolTip"> 450 <string>Enable in-game sound effects</string> 451 </property> 452 <property name="text"> 453 <string>Sound On</string> 454 </property> 455 <property name="checked"> 456 <bool>true</bool> 457 </property> 458 </widget> 459 </item> 460 </layout> 461 </widget> 462 </item> 463 <item> 464 <widget class="QGroupBox" name="groupBox_3"> 465 <property name="sizePolicy"> 466 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 467 <horstretch>0</horstretch> 468 <verstretch>0</verstretch> 469 </sizepolicy> 470 </property> 471 <property name="title"> 472 <string>Gameplay</string> 473 </property> 474 <layout class="QFormLayout" name="formLayout_2"> 475 <property name="fieldGrowthPolicy"> 476 <enum>QFormLayout::AllNonFixedFieldsGrow</enum> 477 </property> 478 <item row="0" column="0"> 479 <widget class="QCheckBox" name="chIs"> 480 <property name="sizePolicy"> 481 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 482 <horstretch>0</horstretch> 483 <verstretch>0</verstretch> 484 </sizepolicy> 485 </property> 486 <property name="baseSize"> 487 <size> 488 <width>0</width> 489 <height>0</height> 490 </size> 491 </property> 492 <property name="toolTip"> 493 <string>Save progress automatically when you land on a base</string> 494 </property> 495 <property name="text"> 496 <string>Save at every platform</string> 497 </property> 498 </widget> 499 </item> 500 </layout> 501 </widget> 502 </item> 503 <item> 504 <spacer name="verticalSpacer"> 505 <property name="orientation"> 506 <enum>Qt::Vertical</enum> 507 </property> 508 <property name="sizeHint" stdset="0"> 509 <size> 510 <width>20</width> 511 <height>40</height> 512 </size> 513 </property> 514 </spacer> 515 </item> 516 </layout> 517 </widget> 518 </widget> 519 </item> 520 </layout> 521 </item> 522 </layout> 523 </widget> 524 <widget class="QStatusBar" name="statusbar"/> 525 </widget> 526 <customwidgets> 527 <customwidget> 528 <class>lvlpreviewview</class> 529 <extends>QGraphicsView</extends> 530 <header location="global">lvlpreviewview.h</header> 531 </customwidget> 532 </customwidgets> 533 <resources> 534 <include location="std.qrc"/> 535 </resources> 536 <connections> 537 <connection> 538 <sender>lstStdLvl</sender> 539 <signal>currentRowChanged(int)</signal> 540 <receiver>numStartLevel</receiver> 541 <slot>setValue(int)</slot> 542 <hints> 543 <hint type="sourcelabel"> 544 <x>139</x> 545 <y>367</y> 546 </hint> 547 <hint type="destinationlabel"> 548 <x>149</x> 549 <y>257</y> 550 </hint> 551 </hints> 552 </connection> 553 </connections> 554</ui> 555