Skip to content
MainWindow.ui 7.64 KiB
Newer Older
pixhawk's avatar
pixhawk committed
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MGMainWindow</class>
 <widget class="QMainWindow" name="MGMainWindow">
  <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>
  <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>
     <height>22</height>
    </rect>
   </property>
   <widget class="QMenu" name="menuMGround">
    <property name="title">
     <string>File</string>
    </property>
    <addaction name="actionJoystickSettings"/>
    <addaction name="actionSettings"/>
    <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="menuConnected_Systems">
    <property name="title">
     <string>Systems</string>
    </property>
   </widget>
   <widget class="QMenu" name="menuWindow">
    <property name="title">
     <string>Window</string>
    </property>
    <addaction name="actionEngineerView"/>
    <addaction name="actionPilotView"/>
    <addaction name="actionOperatorView"/>
    <addaction name="actionSettingsView"/>
    <addaction name="separator"/>
    <addaction name="actionStyleConfig"/>
   </widget>
   <addaction name="menuMGround"/>
   <addaction name="menuNetwork"/>
   <addaction name="menuUnmanned_System"/>
   <addaction name="menuConnected_Systems"/>
   <addaction name="menuWindow"/>
  </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="actionSettings">
   <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>Settings</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+P</string>
   </property>
  </action>
  <action name="actionLiftoff">
   <property name="icon">
    <iconset resource="../../mavground.qrc">
     <normaloff>:/images/control/launch.svg</normaloff>:/images/control/launch.svg</iconset>
   </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>
  <action name="actionSettingsView">
   <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>Show settings view</string>
   </property>
  </action>
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <resources>
  <include location="../../mavground.qrc"/>
 </resources>
 <connections>
  <connection>
   <sender>actionExit</sender>
   <signal>triggered()</signal>
   <receiver>MGMainWindow</receiver>
   <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>