tools/designer/src/lib/shared/formlayoutrowdialog.ui
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <ui version="4.0">
       
     3  <class>FormLayoutRowDialog</class>
       
     4  <widget class="QDialog" name="FormLayoutRowDialog">
       
     5   <property name="windowTitle">
       
     6    <string>Add Form Layout Row</string>
       
     7   </property>
       
     8   <layout class="QVBoxLayout" name="verticalLayout">
       
     9    <item>
       
    10     <layout class="QFormLayout" name="formLayout">
       
    11      <property name="fieldGrowthPolicy">
       
    12       <enum>QFormLayout::ExpandingFieldsGrow</enum>
       
    13      </property>
       
    14      <item row="0" column="0">
       
    15       <widget class="QLabel" name="labelTextLabel">
       
    16        <property name="text">
       
    17         <string>&amp;Label text:</string>
       
    18        </property>
       
    19        <property name="buddy">
       
    20         <cstring>labelTextLineEdit</cstring>
       
    21        </property>
       
    22       </widget>
       
    23      </item>
       
    24      <item row="0" column="1">
       
    25       <widget class="QLineEdit" name="labelTextLineEdit">
       
    26        <property name="minimumSize">
       
    27         <size>
       
    28          <width>180</width>
       
    29          <height>0</height>
       
    30         </size>
       
    31        </property>
       
    32       </widget>
       
    33      </item>
       
    34      <item row="1" column="1">
       
    35       <widget class="QLineEdit" name="labelNameLineEdit"/>
       
    36      </item>
       
    37      <item row="2" column="0">
       
    38       <widget class="QLabel" name="fieldClassLabel">
       
    39        <property name="text">
       
    40         <string>Field &amp;type:</string>
       
    41        </property>
       
    42        <property name="buddy">
       
    43         <cstring>fieldClassComboBox</cstring>
       
    44        </property>
       
    45       </widget>
       
    46      </item>
       
    47      <item row="2" column="1">
       
    48       <widget class="QComboBox" name="fieldClassComboBox">
       
    49        <property name="sizePolicy">
       
    50         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
       
    51          <horstretch>0</horstretch>
       
    52          <verstretch>0</verstretch>
       
    53         </sizepolicy>
       
    54        </property>
       
    55       </widget>
       
    56      </item>
       
    57      <item row="3" column="0">
       
    58       <widget class="QLabel" name="fieldNameLabel">
       
    59        <property name="text">
       
    60         <string>&amp;Field name:</string>
       
    61        </property>
       
    62        <property name="buddy">
       
    63         <cstring>fieldNameLineEdit</cstring>
       
    64        </property>
       
    65       </widget>
       
    66      </item>
       
    67      <item row="4" column="0">
       
    68       <widget class="QLabel" name="buddyLabel">
       
    69        <property name="text">
       
    70         <string>&amp;Buddy:</string>
       
    71        </property>
       
    72        <property name="buddy">
       
    73         <cstring>buddyCheckBox</cstring>
       
    74        </property>
       
    75       </widget>
       
    76      </item>
       
    77      <item row="4" column="1">
       
    78       <widget class="QCheckBox" name="buddyCheckBox">
       
    79        <property name="text">
       
    80         <string/>
       
    81        </property>
       
    82       </widget>
       
    83      </item>
       
    84      <item row="5" column="0">
       
    85       <widget class="QLabel" name="rowLabel">
       
    86        <property name="text">
       
    87         <string>&amp;Row:</string>
       
    88        </property>
       
    89        <property name="buddy">
       
    90         <cstring>rowSpinBox</cstring>
       
    91        </property>
       
    92       </widget>
       
    93      </item>
       
    94      <item row="5" column="1">
       
    95       <widget class="QSpinBox" name="rowSpinBox"/>
       
    96      </item>
       
    97      <item row="3" column="1">
       
    98       <widget class="QLineEdit" name="fieldNameLineEdit"/>
       
    99      </item>
       
   100      <item row="1" column="0">
       
   101       <widget class="QLabel" name="labelNameLabel">
       
   102        <property name="text">
       
   103         <string>Label &amp;name:</string>
       
   104        </property>
       
   105        <property name="buddy">
       
   106         <cstring>labelNameLineEdit</cstring>
       
   107        </property>
       
   108       </widget>
       
   109      </item>
       
   110     </layout>
       
   111    </item>
       
   112    <item>
       
   113     <widget class="Line" name="line">
       
   114      <property name="orientation">
       
   115       <enum>Qt::Horizontal</enum>
       
   116      </property>
       
   117     </widget>
       
   118    </item>
       
   119    <item>
       
   120     <widget class="QDialogButtonBox" name="buttonBox">
       
   121      <property name="orientation">
       
   122       <enum>Qt::Horizontal</enum>
       
   123      </property>
       
   124      <property name="standardButtons">
       
   125       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
       
   126      </property>
       
   127     </widget>
       
   128    </item>
       
   129   </layout>
       
   130  </widget>
       
   131  <resources/>
       
   132  <connections>
       
   133   <connection>
       
   134    <sender>buttonBox</sender>
       
   135    <signal>accepted()</signal>
       
   136    <receiver>FormLayoutRowDialog</receiver>
       
   137    <slot>accept()</slot>
       
   138    <hints>
       
   139     <hint type="sourcelabel">
       
   140      <x>248</x>
       
   141      <y>254</y>
       
   142     </hint>
       
   143     <hint type="destinationlabel">
       
   144      <x>157</x>
       
   145      <y>274</y>
       
   146     </hint>
       
   147    </hints>
       
   148   </connection>
       
   149   <connection>
       
   150    <sender>buttonBox</sender>
       
   151    <signal>rejected()</signal>
       
   152    <receiver>FormLayoutRowDialog</receiver>
       
   153    <slot>reject()</slot>
       
   154    <hints>
       
   155     <hint type="sourcelabel">
       
   156      <x>316</x>
       
   157      <y>260</y>
       
   158     </hint>
       
   159     <hint type="destinationlabel">
       
   160      <x>286</x>
       
   161      <y>274</y>
       
   162     </hint>
       
   163    </hints>
       
   164   </connection>
       
   165  </connections>
       
   166 </ui>