Skip to content
CommSettings.ui 7.27 KiB
Newer Older
pixhawk's avatar
pixhawk committed
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>commSettings</class>
 <widget class="QWidget" name="commSettings">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <height>475</height>
pixhawk's avatar
pixhawk committed
   </rect>
  </property>
  <property name="windowTitle">
   <string>Form</string>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout_2">
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout_4">
     <item>
      <widget class="QLabel" name="label">
       <property name="text">
        <string>Link &amp;Type:</string>
       </property>
       <property name="buddy">
        <cstring>linkType</cstring>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QComboBox" name="linkType"/>
     </item>
    </layout>
   </item>
pixhawk's avatar
pixhawk committed
    <widget class="QGroupBox" name="linkGroupBox">
     <property name="title">
      <string>Link</string>
     </property>
lm's avatar
lm committed
     <layout class="QHBoxLayout" name="horizontalLayout_2">
      <property name="spacing">
       <number>0</number>
      </property>
      <property name="leftMargin">
       <number>0</number>
      </property>
      <property name="topMargin">
       <number>0</number>
      </property>
      <property name="rightMargin">
       <number>0</number>
      </property>
      <property name="bottomMargin">
lm's avatar
lm committed
       <number>0</number>
      </property>
      <item>
       <widget class="QScrollArea" name="linkScrollArea">
        <property name="widgetResizable">
         <bool>true</bool>
        </property>
        <widget class="QWidget" name="scrollAreaWidgetContents">
         <property name="geometry">
          <rect>
           <x>0</x>
           <y>0</y>
           <width>298</width>
           <height>90</height>
lm's avatar
lm committed
          </rect>
         </property>
        </widget>
       </widget>
      </item>
     </layout>
pixhawk's avatar
pixhawk committed
    </widget>
   </item>
   <item>
    <widget class="QCheckBox" name="advCheckBox">
     <property name="text">
      <string>&amp;Show Advanced Protocol Options</string>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="protocolTypeGroupBox">
     <property name="title">
      <string>GroupBox</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout">
      <item>
       <layout class="QGridLayout" name="gridLayout">
        <item row="0" column="1">
         <widget class="QComboBox" name="connectionType">
          <property name="currentIndex">
           <number>-1</number>
          </property>
         </widget>
        </item>
        <item row="0" column="0">
         <widget class="QLabel" name="label_5">
          <property name="text">
           <string>&amp;Protocol:</string>
          </property>
          <property name="buddy">
           <cstring>connectionType</cstring>
          </property>
         </widget>
        </item>
        <item row="1" column="1">
         <widget class="QCheckBox" name="advancedOptionsCheckBox">
          <property name="text">
           <string>&amp;Advanced Options</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="Line" name="line">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
   <item>
pixhawk's avatar
pixhawk committed
    <widget class="QGroupBox" name="protocolGroupBox">
     <property name="title">
      <string>Protocol</string>
     </property>
lm's avatar
lm committed
     <layout class="QHBoxLayout" name="horizontalLayout_3">
      <property name="spacing">
       <number>0</number>
      </property>
      <property name="leftMargin">
       <number>0</number>
      </property>
      <property name="topMargin">
       <number>0</number>
      </property>
      <property name="rightMargin">
       <number>0</number>
      </property>
      <property name="bottomMargin">
lm's avatar
lm committed
       <number>0</number>
      </property>
      <item>
       <widget class="QScrollArea" name="protocolScrollArea">
        <property name="widgetResizable">
         <bool>true</bool>
        </property>
        <widget class="QWidget" name="scrollAreaWidgetContents_2">
         <property name="geometry">
          <rect>
           <x>0</x>
           <y>0</y>
lm's avatar
lm committed
          </rect>
         </property>
        </widget>
       </widget>
      </item>
     </layout>
pixhawk's avatar
pixhawk committed
    </widget>
   </item>
pixhawk's avatar
pixhawk committed
    <layout class="QHBoxLayout" name="horizontalLayout">
lm's avatar
lm committed
     <property name="spacing">
      <number>12</number>
     </property>
pixhawk's avatar
pixhawk committed
     <property name="sizeConstraint">
      <enum>QLayout::SetDefaultConstraint</enum>
     </property>
     <item>
      <widget class="QPushButton" name="connectButton">
       <property name="text">
        <string>Connect</string>
       </property>
       <property name="checkable">
        <bool>false</bool>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="deleteButton">
       <property name="text">
        <string>Delete Link</string>
pixhawk's avatar
pixhawk committed
       </property>
      </widget>
     </item>
     <item>
      <widget class="QPushButton" name="closeButton">
       <property name="text">
        <string>Close</string>
       </property>
       <property name="default">
        <bool>true</bool>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QLabel" name="connectionStatusLabel">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="text">
      <string>Disconnected</string>
     </property>
    </widget>
   </item>
pixhawk's avatar
pixhawk committed
  </layout>
  <action name="actionDelete">
   <property name="text">
    <string>Delete</string>
   </property>
   <property name="toolTip">
    <string>Delete this link</string>
   </property>
  </action>
  <action name="actionConnect">
   <property name="text">
    <string>Connect</string>
   </property>
   <property name="toolTip">
    <string>Connect this link</string>
   </property>
  </action>
  <action name="actionClose">
   <property name="text">
    <string>Close</string>
   </property>
   <property name="toolTip">
    <string>Close the configuration window</string>
   </property>
  </action>
  <zorder>line</zorder>
  <zorder>linkGroupBox</zorder>
  <zorder>protocolGroupBox</zorder>
  <zorder>connectionStatusLabel</zorder>
  <zorder>advCheckBox</zorder>
  <zorder>protocolTypeGroupBox</zorder>
  <zorder>linkType</zorder>
  <zorder>label</zorder>
pixhawk's avatar
pixhawk committed
 </widget>
 <tabstops>
  <tabstop>linkType</tabstop>
  <tabstop>linkScrollArea</tabstop>
  <tabstop>advCheckBox</tabstop>
  <tabstop>connectionType</tabstop>
  <tabstop>advancedOptionsCheckBox</tabstop>
  <tabstop>protocolScrollArea</tabstop>
  <tabstop>connectButton</tabstop>
  <tabstop>deleteButton</tabstop>
  <tabstop>closeButton</tabstop>
 </tabstops>
pixhawk's avatar
pixhawk committed
 <resources/>
 <connections>
  <connection>
   <sender>actionClose</sender>
   <signal>triggered()</signal>
   <receiver>commSettings</receiver>
   <slot>close()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel">
     <x>224</x>
     <y>195</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>