RotorOps/Generator/MissionGeneratorUI.ui
spencer-ki 315b226014 ..
2022-02-04 12:13:08 -08:00

869 lines
22 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1209</width>
<height>900</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="windowTitle">
<string>RotorOps Mission Generator</string>
</property>
<property name="windowIcon">
<iconset>
<normaloff>assets/icon.ico</normaloff>assets/icon.ico</iconset>
</property>
<property name="windowOpacity">
<double>4.000000000000000</double>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">background-color: white;</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QComboBox" name="scenario_comboBox">
<property name="geometry">
<rect>
<x>270</x>
<y>40</y>
<width>361</width>
<height>31</height>
</rect>
</property>
<property name="toolTip">
<string/>
</property>
<property name="toolTipDuration">
<number>-1</number>
</property>
<property name="statusTip">
<string>Tip: You can create your own templates that include mission options like kneeboards, briefings, weather, static units, triggers, scripts, etc.</string>
</property>
<property name="whatsThis">
<string/>
</property>
</widget>
<widget class="QLabel" name="scenario_label">
<property name="geometry">
<rect>
<x>60</x>
<y>30</y>
<width>181</width>
<height>41</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Scenario Template:</string>
</property>
</widget>
<widget class="QPushButton" name="generateButton">
<property name="geometry">
<rect>
<x>1020</x>
<y>790</y>
<width>141</width>
<height>41</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-color: white;
border-style: outset;
border-width: 2px;
border-radius: 15px;
border-color: black;
padding: 4px;</string>
</property>
<property name="text">
<string>Generate Mission</string>
</property>
</widget>
<widget class="QTextBrowser" name="description_textBrowser">
<property name="geometry">
<rect>
<x>710</x>
<y>20</y>
<width>331</width>
<height>131</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="styleSheet">
<string notr="true">border-radius: 5px; color: gray</string>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;Provide close air support for our convoys as we take back Las Vegas from the enemy!&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QComboBox" name="blueforces_comboBox">
<property name="geometry">
<rect>
<x>790</x>
<y>230</y>
<width>291</width>
<height>31</height>
</rect>
</property>
<property name="statusTip">
<string>Tip: You can create your own custom ground forces groups to be automatically generated.</string>
</property>
</widget>
<widget class="QLabel" name="scenario_label_2">
<property name="geometry">
<rect>
<x>690</x>
<y>180</y>
<width>141</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Friendly Forces:</string>
</property>
</widget>
<widget class="QLabel" name="scenario_label_3">
<property name="geometry">
<rect>
<x>60</x>
<y>180</y>
<width>141</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>Enemy Forces:</string>
</property>
</widget>
<widget class="QComboBox" name="redforces_comboBox">
<property name="geometry">
<rect>
<x>170</x>
<y>230</y>
<width>291</width>
<height>31</height>
</rect>
</property>
<property name="statusTip">
<string>Tip: You can create your own custom ground forces groups to be automatically generated.</string>
</property>
</widget>
<widget class="QLabel" name="background_label">
<property name="geometry">
<rect>
<x>-30</x>
<y>490</y>
<width>801</width>
<height>371</height>
</rect>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap>assets/background.PNG</pixmap>
</property>
</widget>
<widget class="QLabel" name="scenario_hint_label">
<property name="geometry">
<rect>
<x>250</x>
<y>80</y>
<width>381</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Scenario templates are .miz files in 'Generator/Scenarios'</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QLabel" name="forces_hint_label">
<property name="geometry">
<rect>
<x>130</x>
<y>270</y>
<width>381</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Forces templates are .miz files in 'Generator/Forces'</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QSpinBox" name="blueqty_spinBox">
<property name="geometry">
<rect>
<x>690</x>
<y>230</y>
<width>71</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="statusTip">
<string>How many groups should we generate?</string>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>50</number>
</property>
<property name="value">
<number>3</number>
</property>
</widget>
<widget class="QSpinBox" name="redqty_spinBox">
<property name="geometry">
<rect>
<x>70</x>
<y>230</y>
<width>71</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="statusTip">
<string>How many groups should we generate?</string>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>50</number>
</property>
<property name="value">
<number>2</number>
</property>
</widget>
<widget class="QLabel" name="scenario_label_4">
<property name="geometry">
<rect>
<x>670</x>
<y>260</y>
<width>101</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>8</pointsize>
</font>
</property>
<property name="text">
<string>Groups Per Zone</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QCheckBox" name="game_status_checkBox">
<property name="geometry">
<rect>
<x>1000</x>
<y>590</y>
<width>191</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="statusTip">
<string>Enable an onscreen zone status display. This helps keep focus on the active conflict zone.</string>
</property>
<property name="text">
<string>Game Status Display</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="tristate">
<bool>false</bool>
</property>
</widget>
<widget class="QCheckBox" name="voiceovers_checkBox">
<property name="geometry">
<rect>
<x>1000</x>
<y>650</y>
<width>191</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="statusTip">
<string>Voiceovers from the ground commander. Helps keep focus on the active zone.</string>
</property>
<property name="text">
<string>Voiceovers</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="logistics_crates_checkBox">
<property name="geometry">
<rect>
<x>970</x>
<y>390</y>
<width>251</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="statusTip">
<string>Enable CTLD logistics crates for building ground units and air defenses.</string>
</property>
<property name="text">
<string>Logistics Crates</string>
</property>
</widget>
<widget class="QCheckBox" name="awacs_checkBox">
<property name="geometry">
<rect>
<x>970</x>
<y>420</y>
<width>251</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="statusTip">
<string/>
</property>
<property name="text">
<string>Friendly AWACS</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="tankers_checkBox">
<property name="geometry">
<rect>
<x>970</x>
<y>450</y>
<width>251</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Friendly Tankers</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QCheckBox" name="apcs_spawn_checkBox">
<property name="geometry">
<rect>
<x>500</x>
<y>400</y>
<width>251</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="statusTip">
<string>Friendly/enemy APCs will drop infantry when reaching a new conflict zone.</string>
</property>
<property name="text">
<string>APCs Spawn Infantry</string>
</property>
</widget>
<widget class="QSpinBox" name="inf_spawn_spinBox">
<property name="geometry">
<rect>
<x>710</x>
<y>360</y>
<width>71</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="statusTip">
<string>This value is multiplied by the number of spawn zones in the mission template.</string>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>50</number>
</property>
<property name="value">
<number>2</number>
</property>
</widget>
<widget class="QCheckBox" name="smoke_checkBox">
<property name="geometry">
<rect>
<x>1000</x>
<y>620</y>
<width>191</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="statusTip">
<string>Not yet implemented.</string>
</property>
<property name="text">
<string>Smoke Active Zone</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="scenario_label_5">
<property name="geometry">
<rect>
<x>50</x>
<y>260</y>
<width>101</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>8</pointsize>
</font>
</property>
<property name="text">
<string>Groups Per Zone</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QLabel" name="forces_hint_label_2">
<property name="geometry">
<rect>
<x>790</x>
<y>270</y>
<width>311</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Forces templates are .miz files in 'Generator/Forces'</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>500</x>
<y>360</y>
<width>191</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="text">
<string>Infantry Groups per zone:</string>
</property>
</widget>
<widget class="QComboBox" name="slot_template_comboBox">
<property name="geometry">
<rect>
<x>870</x>
<y>700</y>
<width>291</width>
<height>31</height>
</rect>
</property>
<property name="statusTip">
<string>Default player/client spawn locations at a friendly airport.</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>750</x>
<y>700</y>
<width>111</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Player Slots</string>
</property>
</widget>
<widget class="QLabel" name="scenario_label_6">
<property name="geometry">
<rect>
<x>500</x>
<y>320</y>
<width>141</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Infantry Spawns:</string>
</property>
</widget>
<widget class="QCheckBox" name="force_offroad_checkBox">
<property name="geometry">
<rect>
<x>1000</x>
<y>560</y>
<width>191</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="statusTip">
<string>May help prevent long travel times or pathfinding issues. Tip: You can change this dynamically from mission triggers.</string>
</property>
<property name="text">
<string>Force Offroad</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="tristate">
<bool>false</bool>
</property>
</widget>
<widget class="QCheckBox" name="defense_checkBox">
<property name="geometry">
<rect>
<x>60</x>
<y>90</y>
<width>181</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Defensive Mode</string>
</property>
</widget>
<widget class="QSpinBox" name="e_attack_helos_spinBox">
<property name="geometry">
<rect>
<x>70</x>
<y>330</y>
<width>51</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="statusTip">
<string>Approximate number of enemy attack helicopter group spawns.</string>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>50</number>
</property>
<property name="value">
<number>2</number>
</property>
</widget>
<widget class="QLabel" name="scenario_label_7">
<property name="geometry">
<rect>
<x>140</x>
<y>330</y>
<width>231</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Enemy Attack Helicopters</string>
</property>
</widget>
<widget class="QLabel" name="scenario_label_8">
<property name="geometry">
<rect>
<x>140</x>
<y>370</y>
<width>231</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Enemy Attack Planes</string>
</property>
</widget>
<widget class="QSpinBox" name="e_attack_planes_spinBox">
<property name="geometry">
<rect>
<x>70</x>
<y>370</y>
<width>51</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="statusTip">
<string>Approximate number of enemy attack plane group spawns.</string>
</property>
<property name="minimum">
<number>0</number>
</property>
<property name="maximum">
<number>50</number>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
<widget class="QCheckBox" name="zone_sams_checkBox">
<property name="geometry">
<rect>
<x>970</x>
<y>480</y>
<width>201</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>11</pointsize>
</font>
</property>
<property name="statusTip">
<string>Inactive conflict zones will be protected by SAMs. When a zone is cleared, SAMs at next active zone will be destroyed.</string>
</property>
<property name="text">
<string>Inactive Zone SAMs</string>
</property>
</widget>
<zorder>background_label</zorder>
<zorder>scenario_comboBox</zorder>
<zorder>scenario_label</zorder>
<zorder>generateButton</zorder>
<zorder>description_textBrowser</zorder>
<zorder>blueforces_comboBox</zorder>
<zorder>scenario_label_2</zorder>
<zorder>scenario_label_3</zorder>
<zorder>redforces_comboBox</zorder>
<zorder>scenario_hint_label</zorder>
<zorder>forces_hint_label</zorder>
<zorder>blueqty_spinBox</zorder>
<zorder>redqty_spinBox</zorder>
<zorder>scenario_label_4</zorder>
<zorder>game_status_checkBox</zorder>
<zorder>voiceovers_checkBox</zorder>
<zorder>logistics_crates_checkBox</zorder>
<zorder>awacs_checkBox</zorder>
<zorder>tankers_checkBox</zorder>
<zorder>apcs_spawn_checkBox</zorder>
<zorder>inf_spawn_spinBox</zorder>
<zorder>smoke_checkBox</zorder>
<zorder>scenario_label_5</zorder>
<zorder>forces_hint_label_2</zorder>
<zorder>label</zorder>
<zorder>slot_template_comboBox</zorder>
<zorder>label_2</zorder>
<zorder>scenario_label_6</zorder>
<zorder>force_offroad_checkBox</zorder>
<zorder>defense_checkBox</zorder>
<zorder>e_attack_helos_spinBox</zorder>
<zorder>scenario_label_7</zorder>
<zorder>scenario_label_8</zorder>
<zorder>e_attack_planes_spinBox</zorder>
<zorder>zone_sams_checkBox</zorder>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1209</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QStatusBar" name="statusbar">
<property name="acceptDrops">
<bool>false</bool>
</property>
</widget>
<action name="action_generateMission">
<property name="text">
<string>_generateMission</string>
</property>
</action>
<action name="action_scenarioSelected">
<property name="text">
<string>_scenarioSelected</string>
</property>
</action>
<action name="action_blueforcesSelected">
<property name="text">
<string>_blueforcesSelected</string>
</property>
</action>
<action name="action_redforcesSelected">
<property name="text">
<string>_redforcesSelected</string>
</property>
</action>
</widget>
<resources/>
<connections>
<connection>
<sender>generateButton</sender>
<signal>clicked()</signal>
<receiver>action_generateMission</receiver>
<slot>trigger()</slot>
<hints>
<hint type="sourcelabel">
<x>993</x>
<y>591</y>
</hint>
<hint type="destinationlabel">
<x>589</x>
<y>409</y>
</hint>
</hints>
</connection>
<connection>
<sender>scenario_comboBox</sender>
<signal>currentIndexChanged(int)</signal>
<receiver>action_scenarioSelected</receiver>
<slot>trigger()</slot>
<hints>
<hint type="sourcelabel">
<x>285</x>
<y>71</y>
</hint>
<hint type="destinationlabel">
<x>-1</x>
<y>-1</y>
</hint>
</hints>
</connection>
</connections>
</ui>