MainWindow.ui 11.8 KB
Newer Older
pixhawk's avatar
pixhawk committed
1 2
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
pixhawk's avatar
pixhawk committed
3 4
 <class>MainWindow</class>
 <widget class="QMainWindow" name="MainWindow">
pixhawk's avatar
pixhawk committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>1000</width>
    <height>800</height>
   </rect>
  </property>
  <property name="minimumSize">
   <size>
    <width>800</width>
    <height>500</height>
   </size>
  </property>
  <property name="baseSize">
   <size>
    <width>1100</width>
    <height>800</height>
   </size>
  </property>
25 26 27
  <property name="mouseTracking">
   <bool>false</bool>
  </property>
pixhawk's avatar
pixhawk committed
28 29 30 31 32 33 34 35 36 37 38 39 40
  <property name="windowTitle">
   <string>MGMainWindow</string>
  </property>
  <property name="styleSheet">
   <string notr="true"/>
  </property>
  <widget class="QWidget" name="centralWidget"/>
  <widget class="QMenuBar" name="menuBar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>1000</width>
41
     <height>22</height>
pixhawk's avatar
pixhawk committed
42 43 44 45 46 47 48
    </rect>
   </property>
   <widget class="QMenu" name="menuMGround">
    <property name="title">
     <string>File</string>
    </property>
    <addaction name="actionJoystickSettings"/>
49
    <addaction name="actionSimulate"/>
pixhawk's avatar
pixhawk committed
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
    <addaction name="separator"/>
    <addaction name="actionExit"/>
   </widget>
   <widget class="QMenu" name="menuUnmanned_System">
    <property name="title">
     <string>Unmanned System</string>
    </property>
    <addaction name="actionLiftoff"/>
    <addaction name="actionLand"/>
    <addaction name="actionEmergency_Land"/>
    <addaction name="actionEmergency_Kill"/>
    <addaction name="separator"/>
    <addaction name="actionConfiguration"/>
   </widget>
   <widget class="QMenu" name="menuNetwork">
    <property name="title">
     <string>Network</string>
    </property>
    <addaction name="actionAdd_Link"/>
    <addaction name="separator"/>
   </widget>
   <widget class="QMenu" name="menuWindow">
    <property name="title">
     <string>Window</string>
    </property>
    <addaction name="actionEngineerView"/>
    <addaction name="actionPilotView"/>
    <addaction name="actionOperatorView"/>
78
    <addaction name="action3DMapView"/>
79
    <addaction name="action3DView"/>
pixhawk's avatar
pixhawk committed
80
    <addaction name="actionGoogleEarthView"/>
81
    <addaction name="actionGlobalOperatorView"/>
pixhawk's avatar
pixhawk committed
82
    <addaction name="separator"/>
83
    <addaction name="actionShow_MAVLink_view"/>
84
    <addaction name="actionShow_data_analysis_view"/>
85
    <addaction name="actionShow_full_view"/>
pixhawk's avatar
pixhawk committed
86
    <addaction name="actionStyleConfig"/>
87
    <addaction name="actionShow_Slugs_View"/>
pixhawk's avatar
pixhawk committed
88
   </widget>
89 90 91 92 93 94 95 96
   <widget class="QMenu" name="menuHelp">
    <property name="title">
     <string>Help</string>
    </property>
    <addaction name="actionOnline_documentation"/>
    <addaction name="actionProject_Roadmap"/>
    <addaction name="actionCredits_Developers"/>
   </widget>
97 98
   <widget class="QMenu" name="menuConnected_Systems">
    <property name="title">
99
     <string>Select System</string>
100 101
    </property>
   </widget>
pixhawk's avatar
pixhawk committed
102 103
   <addaction name="menuMGround"/>
   <addaction name="menuNetwork"/>
104
   <addaction name="menuConnected_Systems"/>
pixhawk's avatar
pixhawk committed
105 106
   <addaction name="menuUnmanned_System"/>
   <addaction name="menuWindow"/>
107
   <addaction name="menuHelp"/>
pixhawk's avatar
pixhawk committed
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
  </widget>
  <widget class="QToolBar" name="mainToolBar">
   <attribute name="toolBarArea">
    <enum>TopToolBarArea</enum>
   </attribute>
   <attribute name="toolBarBreak">
    <bool>false</bool>
   </attribute>
  </widget>
  <widget class="QStatusBar" name="statusBar"/>
  <action name="actionExit">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/actions/system-log-out.svg</normaloff>:/images/actions/system-log-out.svg</iconset>
   </property>
   <property name="text">
    <string>Exit</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+Q</string>
   </property>
  </action>
  <action name="actionLiftoff">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
lm's avatar
lm committed
133 134
     <normaloff>:/images/control/launch.svg</normaloff>
     <normalon>:/images/control/launch.svg</normalon>:/images/control/launch.svg</iconset>
pixhawk's avatar
pixhawk committed
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233
   </property>
   <property name="text">
    <string>Liftoff</string>
   </property>
  </action>
  <action name="actionLand">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/control/land.svg</normaloff>:/images/control/land.svg</iconset>
   </property>
   <property name="text">
    <string>Land</string>
   </property>
  </action>
  <action name="actionEmergency_Land">
   <property name="text">
    <string>Emergency Land</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+E</string>
   </property>
  </action>
  <action name="actionEmergency_Kill">
   <property name="text">
    <string>Kill UAS</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+K</string>
   </property>
  </action>
  <action name="actionAdd_Link">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/actions/list-add.svg</normaloff>:/images/actions/list-add.svg</iconset>
   </property>
   <property name="text">
    <string>Add Link</string>
   </property>
  </action>
  <action name="actionConfiguration">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/categories/applications-system.svg</normaloff>:/images/categories/applications-system.svg</iconset>
   </property>
   <property name="text">
    <string>Preferences</string>
   </property>
   <property name="toolTip">
    <string>Open UAS Preferences</string>
   </property>
  </action>
  <action name="actionEngineerView">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/apps/utilities-system-monitor.svg</normaloff>:/images/apps/utilities-system-monitor.svg</iconset>
   </property>
   <property name="text">
    <string>Show engineer view</string>
   </property>
  </action>
  <action name="actionPilotView">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/status/weather-overcast.svg</normaloff>:/images/status/weather-overcast.svg</iconset>
   </property>
   <property name="text">
    <string>Show pilot view</string>
   </property>
  </action>
  <action name="actionStyleConfig">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/categories/applications-internet.svg</normaloff>:/images/categories/applications-internet.svg</iconset>
   </property>
   <property name="text">
    <string>Reload visual style</string>
   </property>
  </action>
  <action name="actionJoystickSettings">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/devices/input-gaming.svg</normaloff>:/images/devices/input-gaming.svg</iconset>
   </property>
   <property name="text">
    <string>Joystick settings</string>
   </property>
  </action>
  <action name="actionOperatorView">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/status/network-wireless-encrypted.svg</normaloff>:/images/status/network-wireless-encrypted.svg</iconset>
   </property>
   <property name="text">
    <string>Show operator view</string>
   </property>
   <property name="toolTip">
    <string>Shop the 2D map and system status</string>
   </property>
  </action>
234
  <action name="action3DView">
pixhawk's avatar
pixhawk committed
235 236 237 238 239
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/categories/preferences-system.svg</normaloff>:/images/categories/preferences-system.svg</iconset>
   </property>
   <property name="text">
pixhawk's avatar
pixhawk committed
240
    <string>Show 3D Local View</string>
241 242 243
   </property>
   <property name="toolTip">
    <string>Show 3D view</string>
pixhawk's avatar
pixhawk committed
244 245
   </property>
  </action>
246 247 248 249 250 251 252 253 254 255 256 257 258 259 260
  <action name="actionSimulate">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/control/launch.svg</normaloff>:/images/control/launch.svg</iconset>
   </property>
   <property name="text">
    <string>Simulate</string>
   </property>
   <property name="toolTip">
    <string>Simulate one vehicle to test and evaluate this application</string>
   </property>
  </action>
261 262 263 264 265 266 267 268 269
  <action name="actionShow_full_view">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/status/network-transmit-receive.svg</normaloff>:/images/status/network-transmit-receive.svg</iconset>
   </property>
   <property name="text">
    <string>Show full view</string>
   </property>
  </action>
270 271 272
  <action name="actionShow_MAVLink_view">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
273
     <normaloff>:/images/devices/network-wired.svg</normaloff>:/images/devices/network-wired.svg</iconset>
274 275 276 277 278
   </property>
   <property name="text">
    <string>Show MAVLink view</string>
   </property>
  </action>
279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314
  <action name="actionOnline_documentation">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/categories/applications-internet.svg</normaloff>:/images/categories/applications-internet.svg</iconset>
   </property>
   <property name="text">
    <string>Online documentation</string>
   </property>
  </action>
  <action name="actionShow_data_analysis_view">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/apps/utilities-system-monitor.svg</normaloff>:/images/apps/utilities-system-monitor.svg</iconset>
   </property>
   <property name="text">
    <string>Show data analysis view</string>
   </property>
  </action>
  <action name="actionProject_Roadmap">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/status/software-update-available.svg</normaloff>:/images/status/software-update-available.svg</iconset>
   </property>
   <property name="text">
    <string>Project Roadmap</string>
   </property>
  </action>
  <action name="actionCredits_Developers">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/categories/preferences-system.svg</normaloff>:/images/categories/preferences-system.svg</iconset>
   </property>
   <property name="text">
    <string>Credits / Developers</string>
   </property>
  </action>
315 316 317 318 319 320
  <action name="actionGlobalOperatorView">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/categories/applications-internet.svg</normaloff>:/images/categories/applications-internet.svg</iconset>
   </property>
   <property name="text">
pixhawk's avatar
pixhawk committed
321
    <string>Show 2D Map View</string>
322 323
   </property>
  </action>
324 325 326 327 328 329
  <action name="action3DMapView">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/categories/applications-internet.svg</normaloff>:/images/categories/applications-internet.svg</iconset>
   </property>
   <property name="text">
pixhawk's avatar
pixhawk committed
330 331 332 333 334 335 336 337 338 339
    <string>Show 3D Global View</string>
   </property>
  </action>
  <action name="actionGoogleEarthView">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/mapproviders/google.png</normaloff>:/images/mapproviders/google.png</iconset>
   </property>
   <property name="text">
    <string>Google Earth View</string>
340 341
   </property>
  </action>
342 343 344
  <action name="actionShow_Slugs_View">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
345
     <normaloff>:/images/contrib/slugs.png</normaloff>:/images/contrib/slugs.png</iconset>
346 347 348 349 350
   </property>
   <property name="text">
    <string>Show Slugs View</string>
   </property>
  </action>
pixhawk's avatar
pixhawk committed
351 352 353 354 355 356 357 358 359
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <resources>
  <include location="../../mavground.qrc"/>
 </resources>
 <connections>
  <connection>
   <sender>actionExit</sender>
   <signal>triggered()</signal>
pixhawk's avatar
pixhawk committed
360
   <receiver>MainWindow</receiver>
pixhawk's avatar
pixhawk committed
361 362 363 364 365 366 367 368 369 370 371 372 373 374
   <slot>close()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>299</x>
     <y>199</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>