MainWindow.ui 15.7 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
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>800</width>
    <height>500</height>
pixhawk's avatar
pixhawk committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24
   </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
  <property name="windowTitle">
   <string>MGMainWindow</string>
  </property>
  <property name="styleSheet">
   <string notr="true"/>
  </property>
34 35 36 37 38 39 40 41 42 43 44 45 46 47
  <widget class="QWidget" name="centralWidget">
   <property name="sizePolicy">
    <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
     <horstretch>0</horstretch>
     <verstretch>0</verstretch>
    </sizepolicy>
   </property>
   <property name="minimumSize">
    <size>
     <width>200</width>
     <height>150</height>
    </size>
   </property>
  </widget>
pixhawk's avatar
pixhawk committed
48 49 50 51 52
  <widget class="QMenuBar" name="menuBar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
53
     <width>800</width>
54
     <height>22</height>
pixhawk's avatar
pixhawk committed
55 56 57 58 59 60
    </rect>
   </property>
   <widget class="QMenu" name="menuMGround">
    <property name="title">
     <string>File</string>
    </property>
61 62
    <widget class="QMenu" name="menuPreferences">
     <property name="title">
63
      <string>Display</string>
64 65 66 67
     </property>
     <addaction name="actionSelectStylesheet"/>
     <addaction name="actionReloadStylesheet"/>
    </widget>
68
    <addaction name="actionJoystick_Settings"/>
69
    <addaction name="actionSimulate"/>
pixhawk's avatar
pixhawk committed
70
    <addaction name="separator"/>
pixhawk's avatar
pixhawk committed
71
    <addaction name="actionMuteAudioOutput"/>
72
    <addaction name="actionJoystickSettings"/>
73
    <addaction name="actionSettings"/>
74
    <addaction name="menuPreferences"/>
pixhawk's avatar
pixhawk committed
75
    <addaction name="separator"/>
pixhawk's avatar
pixhawk committed
76 77 78 79
    <addaction name="actionExit"/>
   </widget>
   <widget class="QMenu" name="menuNetwork">
    <property name="title">
80
     <string>Communication</string>
pixhawk's avatar
pixhawk committed
81 82 83 84
    </property>
    <addaction name="actionAdd_Link"/>
    <addaction name="separator"/>
   </widget>
85
   <widget class="QMenu" name="menuConnected_Systems">
86
    <property name="enabled">
87
     <bool>true</bool>
88
    </property>
pixhawk's avatar
pixhawk committed
89
    <property name="title">
90
     <string>Select System</string>
pixhawk's avatar
pixhawk committed
91 92
    </property>
   </widget>
93
   <widget class="QMenu" name="menuUnmanned_System">
94
    <property name="enabled">
95
     <bool>true</bool>
96
    </property>
97
    <property name="title">
98
     <string>Unmanned System</string>
99
    </property>
100 101 102
    <property name="separatorsCollapsible">
     <bool>false</bool>
    </property>
103
    <addaction name="actionShutdownMAV"/>
104 105 106 107
    <addaction name="actionLiftoff"/>
    <addaction name="actionLand"/>
    <addaction name="actionEmergency_Land"/>
    <addaction name="actionEmergency_Kill"/>
108
   </widget>
109
   <widget class="QMenu" name="menuTools">
110
    <property name="title">
111
     <string>Widgets</string>
112
    </property>
pixhawk's avatar
pixhawk committed
113
    <addaction name="actionNewCustomWidget"/>
114
    <addaction name="actionLoadCustomWidgetFile"/>
115 116 117 118 119 120 121 122 123 124 125 126 127
   </widget>
   <widget class="QMenu" name="menuHelp">
    <property name="title">
     <string>Help</string>
    </property>
    <addaction name="actionOnline_Documentation"/>
    <addaction name="actionProject_Roadmap_2"/>
    <addaction name="actionDeveloper_Credits"/>
   </widget>
   <widget class="QMenu" name="menuPerspectives">
    <property name="title">
     <string>Perspectives</string>
    </property>
128
    <addaction name="actionOperatorsView"/>
129
    <addaction name="actionEngineersView"/>
130
    <addaction name="actionPilotsView"/>
131 132
    <addaction name="separator"/>
    <addaction name="actionMavlinkView"/>
133
    <addaction name="actionUnconnectedView"/>
lm's avatar
lm committed
134 135 136
    <addaction name="separator"/>
    <addaction name="actionFullscreen"/>
    <addaction name="actionNormal"/>
137 138 139 140 141
   </widget>
   <widget class="QMenu" name="menuMain">
    <property name="title">
     <string>Main</string>
    </property>
142
   </widget>
pixhawk's avatar
pixhawk committed
143 144
   <addaction name="menuMGround"/>
   <addaction name="menuNetwork"/>
145
   <addaction name="menuConnected_Systems"/>
pixhawk's avatar
pixhawk committed
146
   <addaction name="menuUnmanned_System"/>
147
   <addaction name="menuMain"/>
148
   <addaction name="menuTools"/>
149 150
   <addaction name="menuPerspectives"/>
   <addaction name="menuHelp"/>
pixhawk's avatar
pixhawk committed
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
  </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">
166 167 168
   <property name="enabled">
    <bool>true</bool>
   </property>
pixhawk's avatar
pixhawk committed
169 170
   <property name="icon">
    <iconset resource="../../mavground.qrc">
lm's avatar
lm committed
171 172
     <normaloff>:/images/control/launch.svg</normaloff>
     <normalon>:/images/control/launch.svg</normalon>:/images/control/launch.svg</iconset>
pixhawk's avatar
pixhawk committed
173 174 175 176 177 178 179 180 181 182 183 184 185 186 187
   </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">
188 189 190 191
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/actions/process-stop.svg</normaloff>:/images/actions/process-stop.svg</iconset>
   </property>
pixhawk's avatar
pixhawk committed
192 193 194 195 196 197 198 199
   <property name="text">
    <string>Emergency Land</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+E</string>
   </property>
  </action>
  <action name="actionEmergency_Kill">
200 201 202 203
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/actions/process-stop.svg</normaloff>:/images/actions/process-stop.svg</iconset>
   </property>
pixhawk's avatar
pixhawk committed
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 234 235 236 237
   <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="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">
238
    <string>Joystick Test</string>
pixhawk's avatar
pixhawk committed
239
   </property>
240 241 242
   <property name="visible">
    <bool>true</bool>
   </property>
pixhawk's avatar
pixhawk committed
243
  </action>
244 245 246 247 248 249 250 251 252 253 254 255 256 257 258
  <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>
259 260 261
  <action name="actionShow_Slugs_View">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
262
     <normaloff>:/images/contrib/slugs.png</normaloff>:/images/contrib/slugs.png</iconset>
263 264 265 266 267
   </property>
   <property name="text">
    <string>Show Slugs View</string>
   </property>
  </action>
268 269 270 271 272 273 274 275 276 277 278 279
  <action name="actionJoystick_Settings">
   <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>
   <property name="visible">
    <bool>false</bool>
   </property>
  </action>
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
  <action name="actionOnline_Documentation">
   <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>Online Documentation</string>
   </property>
  </action>
  <action name="actionProject_Roadmap_2">
   <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="actionDeveloper_Credits">
   <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>Developer Credits</string>
   </property>
  </action>
307
  <action name="actionOperatorsView">
308 309 310
   <property name="checkable">
    <bool>true</bool>
   </property>
311 312 313 314 315
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/status/weather-overcast.svg</normaloff>:/images/status/weather-overcast.svg</iconset>
   </property>
   <property name="text">
316
    <string>Operator</string>
317
   </property>
318 319 320
   <property name="shortcut">
    <string>Meta+O</string>
   </property>
321 322
  </action>
  <action name="actionEngineersView">
323 324 325
   <property name="checkable">
    <bool>true</bool>
   </property>
326 327 328 329 330 331 332
   <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>Engineer</string>
   </property>
333 334 335
   <property name="shortcut">
    <string>Meta+E</string>
   </property>
336 337
  </action>
  <action name="actionMavlinkView">
338 339 340
   <property name="checkable">
    <bool>true</bool>
   </property>
341 342 343 344 345 346 347
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/devices/network-wired.svg</normaloff>:/images/devices/network-wired.svg</iconset>
   </property>
   <property name="text">
    <string>Mavlink</string>
   </property>
348 349 350
   <property name="shortcut">
    <string>Meta+M</string>
   </property>
351
  </action>
352
  <action name="actionSelectStylesheet">
353 354 355 356 357
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/categories/applications-internet.svg</normaloff>:/images/categories/applications-internet.svg</iconset>
   </property>
   <property name="text">
358
    <string>Select Stylesheet</string>
359 360
   </property>
  </action>
361
  <action name="actionPilotsView">
362 363 364
   <property name="checkable">
    <bool>true</bool>
   </property>
365 366 367 368 369
   <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">
370
    <string>Pilot</string>
371
   </property>
372 373 374
   <property name="shortcut">
    <string>Meta+P</string>
   </property>
375
  </action>
376
  <action name="actionNewCustomWidget">
377 378 379 380
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/apps/utilities-system-monitor.svg</normaloff>:/images/apps/utilities-system-monitor.svg</iconset>
   </property>
381 382 383 384
   <property name="text">
    <string>New Custom Widget</string>
   </property>
  </action>
385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400
  <action name="actionMuteAudioOutput">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/status/audio-volume-high.svg</normaloff>
     <normalon>:/images/status/audio-volume-muted.svg</normalon>
     <activeon>:/images/status/audio-volume-muted.svg</activeon>
     <selectedoff>:/images/status/audio-volume-high.svg</selectedoff>
     <selectedon>:/images/status/audio-volume-muted.svg</selectedon>:/images/status/audio-volume-high.svg</iconset>
   </property>
   <property name="text">
    <string>Mute Audio Output</string>
   </property>
  </action>
401 402 403 404 405 406 407 408 409 410 411 412 413 414 415
  <action name="actionUnconnectedView">
   <property name="checkable">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/devices/network-wireless.svg</normaloff>:/images/devices/network-wireless.svg</iconset>
   </property>
   <property name="text">
    <string>Unconnected</string>
   </property>
   <property name="shortcut">
    <string>Meta+U</string>
   </property>
  </action>
416 417 418 419 420 421 422 423 424 425 426 427 428 429 430
  <action name="actionShutdownMAV">
   <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>Shutdown MAV</string>
   </property>
   <property name="toolTip">
    <string>Shutdown the onboard computer - works not during flight</string>
   </property>
   <property name="statusTip">
    <string>Shutdown the onboard computer - works not during flight</string>
   </property>
  </action>
431 432 433 434 435 436 437 438
  <action name="actionReloadStylesheet">
   <property name="text">
    <string>Reload Stylesheet</string>
   </property>
   <property name="shortcut">
    <string>Meta+R</string>
   </property>
  </action>
439 440 441 442 443
  <action name="actionSettings">
   <property name="text">
    <string>Settings</string>
   </property>
  </action>
lm's avatar
lm committed
444 445 446 447 448
  <action name="actionFullscreen">
   <property name="text">
    <string>Fullscreen</string>
   </property>
   <property name="shortcut">
449
    <string>Meta+Return</string>
lm's avatar
lm committed
450 451 452 453 454 455 456 457 458 459
   </property>
  </action>
  <action name="actionNormal">
   <property name="text">
    <string>Normal</string>
   </property>
   <property name="shortcut">
    <string>Esc</string>
   </property>
  </action>
460 461 462 463 464 465 466 467 468
  <action name="actionLoadCustomWidgetFile">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/status/folder-drag-accept.svg</normaloff>:/images/status/folder-drag-accept.svg</iconset>
   </property>
   <property name="text">
    <string>Load Custom Widget File</string>
   </property>
  </action>
pixhawk's avatar
pixhawk committed
469 470 471 472 473 474 475 476 477
 </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
478
   <receiver>MainWindow</receiver>
pixhawk's avatar
pixhawk committed
479 480 481 482 483 484 485 486 487 488 489 490
   <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>
lm's avatar
lm committed
491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522
  <connection>
   <sender>actionFullscreen</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>showFullScreen()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>399</x>
     <y>249</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>actionNormal</sender>
   <signal>triggered()</signal>
   <receiver>MainWindow</receiver>
   <slot>showNormal()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>399</x>
     <y>249</y>
    </hint>
   </hints>
  </connection>
pixhawk's avatar
pixhawk committed
523 524
 </connections>
</ui>