QGCTextLabel.ui 3.67 KB
Newer Older
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>QGCTextLabel</class>
 <widget class="QWidget" name="QGCTextLabel">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>554</width>
    <height>107</height>
11 12 13 14 15
   </rect>
  </property>
  <property name="windowTitle">
   <string>Form</string>
  </property>
16
  <layout class="QVBoxLayout" name="verticalLayout">
17 18 19 20 21 22 23 24 25 26 27 28 29
   <item>
    <widget class="Line" name="editLine1">
     <property name="minimumSize">
      <size>
       <width>0</width>
       <height>0</height>
      </size>
     </property>
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
30 31 32 33 34 35 36 37 38 39 40 41 42 43
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout">
     <item>
      <widget class="QLineEdit" name="editNameLabel">
       <property name="text">
        <string/>
       </property>
       <property name="placeholderText">
        <string>Label Description</string>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QCheckBox" name="isMavCommand">
44 45 46
       <property name="toolTip">
        <string>This is only for advanced use, and allows a label to display the results of a Command Button.</string>
       </property>
47 48 49 50 51 52
       <property name="text">
        <string>Mav Command</string>
       </property>
      </widget>
     </item>
    </layout>
53
   </item>
54 55 56 57 58 59 60 61 62 63 64
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout_2">
     <item>
      <widget class="QLabel" name="nameLabel">
       <property name="minimumSize">
        <size>
         <width>50</width>
         <height>0</height>
        </size>
       </property>
       <property name="text">
65
        <string>Text Label</string>
66 67 68 69 70 71 72 73 74
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QLabel" name="textLabel">
       <property name="text">
75
        <string>mav result</string>
76 77 78 79
       </property>
      </widget>
     </item>
    </layout>
80
   </item>
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
   <item>
    <layout class="QHBoxLayout" name="horizontalLayout_3">
     <item>
      <spacer name="horizontalSpacer">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>40</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
     <item>
      <widget class="QPushButton" name="editFinishButton">
       <property name="text">
        <string>Done</string>
       </property>
      </widget>
     </item>
    </layout>
104
   </item>
105 106 107 108 109 110 111 112 113 114 115 116 117
   <item>
    <widget class="Line" name="editLine2">
     <property name="minimumSize">
      <size>
       <width>0</width>
       <height>0</height>
      </size>
     </property>
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
118 119 120 121 122 123 124 125 126 127 128
  </layout>
 </widget>
 <resources/>
 <connections>
  <connection>
   <sender>editNameLabel</sender>
   <signal>textChanged(QString)</signal>
   <receiver>nameLabel</receiver>
   <slot>setText(QString)</slot>
   <hints>
    <hint type="sourcelabel">
129 130
     <x>280</x>
     <y>32</y>
131 132 133 134 135 136 137
    </hint>
    <hint type="destinationlabel">
     <x>114</x>
     <y>55</y>
    </hint>
   </hints>
  </connection>
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
  <connection>
   <sender>editNameLabel</sender>
   <signal>returnPressed()</signal>
   <receiver>editFinishButton</receiver>
   <slot>animateClick()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>136</x>
     <y>20</y>
    </hint>
    <hint type="destinationlabel">
     <x>498</x>
     <y>86</y>
    </hint>
   </hints>
  </connection>
154 155
 </connections>
</ui>