qtmobility/examples/publish-subscribe/publisherdialog_hor.ui
changeset 4 90517678cc4f
child 14 6fbed849b4f4
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <ui version="4.0">
       
     3  <class>PublisherDialog</class>
       
     4  <widget class="QDialog" name="PublisherDialog">
       
     5   <property name="geometry">
       
     6    <rect>
       
     7     <x>0</x>
       
     8     <y>0</y>
       
     9     <width>404</width>
       
    10     <height>182</height>
       
    11    </rect>
       
    12   </property>
       
    13   <property name="windowTitle">
       
    14    <string>Publisher</string>
       
    15   </property>
       
    16   <layout class="QGridLayout" name="gridLayout">
       
    17    <item row="0" column="0">
       
    18     <widget class="QLabel" name="label">
       
    19      <property name="sizePolicy">
       
    20       <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
       
    21        <horstretch>0</horstretch>
       
    22        <verstretch>0</verstretch>
       
    23       </sizepolicy>
       
    24      </property>
       
    25      <property name="text">
       
    26       <string>Base path:</string>
       
    27      </property>
       
    28      <property name="buddy">
       
    29       <cstring>basePath</cstring>
       
    30      </property>
       
    31     </widget>
       
    32    </item>
       
    33    <item row="0" column="1">
       
    34     <widget class="QLineEdit" name="basePath">
       
    35      <property name="sizePolicy">
       
    36       <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
       
    37        <horstretch>0</horstretch>
       
    38        <verstretch>0</verstretch>
       
    39       </sizepolicy>
       
    40      </property>
       
    41      <property name="text">
       
    42       <string>/example</string>
       
    43      </property>
       
    44     </widget>
       
    45    </item>
       
    46    <item row="2" column="0">
       
    47     <widget class="QLabel" name="label_2">
       
    48      <property name="sizePolicy">
       
    49       <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
       
    50        <horstretch>0</horstretch>
       
    51        <verstretch>0</verstretch>
       
    52       </sizepolicy>
       
    53      </property>
       
    54      <property name="text">
       
    55       <string>intValue:</string>
       
    56      </property>
       
    57      <property name="buddy">
       
    58       <cstring>intValue</cstring>
       
    59      </property>
       
    60     </widget>
       
    61    </item>
       
    62    <item row="2" column="1">
       
    63     <widget class="QSpinBox" name="intValue">
       
    64      <property name="sizePolicy">
       
    65       <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
       
    66        <horstretch>0</horstretch>
       
    67        <verstretch>0</verstretch>
       
    68       </sizepolicy>
       
    69      </property>
       
    70     </widget>
       
    71    </item>
       
    72    <item row="4" column="0">
       
    73     <widget class="QLabel" name="label_3">
       
    74      <property name="sizePolicy">
       
    75       <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
       
    76        <horstretch>0</horstretch>
       
    77        <verstretch>0</verstretch>
       
    78       </sizepolicy>
       
    79      </property>
       
    80      <property name="text">
       
    81       <string>stringValue:</string>
       
    82      </property>
       
    83      <property name="buddy">
       
    84       <cstring>stringValue</cstring>
       
    85      </property>
       
    86     </widget>
       
    87    </item>
       
    88    <item row="4" column="1">
       
    89     <widget class="QLineEdit" name="stringValue">
       
    90      <property name="sizePolicy">
       
    91       <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
       
    92        <horstretch>0</horstretch>
       
    93        <verstretch>0</verstretch>
       
    94       </sizepolicy>
       
    95      </property>
       
    96      <property name="text">
       
    97       <string>testString</string>
       
    98      </property>
       
    99     </widget>
       
   100    </item>
       
   101    <item row="6" column="0">
       
   102     <widget class="QLabel" name="label_4">
       
   103      <property name="sizePolicy">
       
   104       <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
       
   105        <horstretch>0</horstretch>
       
   106        <verstretch>0</verstretch>
       
   107       </sizepolicy>
       
   108      </property>
       
   109      <property name="text">
       
   110       <string>byteArrayValue:</string>
       
   111      </property>
       
   112     </widget>
       
   113    </item>
       
   114    <item row="6" column="1">
       
   115     <widget class="QLineEdit" name="byteArrayValue">
       
   116      <property name="sizePolicy">
       
   117       <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
       
   118        <horstretch>0</horstretch>
       
   119        <verstretch>0</verstretch>
       
   120       </sizepolicy>
       
   121      </property>
       
   122      <property name="text">
       
   123       <string>testByteArray</string>
       
   124      </property>
       
   125     </widget>
       
   126    </item>
       
   127    <item row="8" column="0" colspan="2">
       
   128     <spacer name="verticalSpacer">
       
   129      <property name="orientation">
       
   130       <enum>Qt::Vertical</enum>
       
   131      </property>
       
   132      <property name="sizeHint" stdset="0">
       
   133       <size>
       
   134        <width>20</width>
       
   135        <height>196</height>
       
   136       </size>
       
   137      </property>
       
   138     </spacer>
       
   139    </item>
       
   140    <item row="0" column="2">
       
   141     <widget class="QPushButton" name="connectButton">
       
   142      <property name="sizePolicy">
       
   143       <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
       
   144        <horstretch>0</horstretch>
       
   145        <verstretch>0</verstretch>
       
   146       </sizepolicy>
       
   147      </property>
       
   148      <property name="text">
       
   149       <string>Connect</string>
       
   150      </property>
       
   151     </widget>
       
   152    </item>
       
   153    <item row="2" column="2">
       
   154     <widget class="QPushButton" name="unsetIntButton">
       
   155      <property name="sizePolicy">
       
   156       <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
       
   157        <horstretch>0</horstretch>
       
   158        <verstretch>0</verstretch>
       
   159       </sizepolicy>
       
   160      </property>
       
   161      <property name="text">
       
   162       <string>Unset</string>
       
   163      </property>
       
   164     </widget>
       
   165    </item>
       
   166    <item row="4" column="2">
       
   167     <widget class="QPushButton" name="setStringButton">
       
   168      <property name="sizePolicy">
       
   169       <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
       
   170        <horstretch>0</horstretch>
       
   171        <verstretch>0</verstretch>
       
   172       </sizepolicy>
       
   173      </property>
       
   174      <property name="text">
       
   175       <string>Set</string>
       
   176      </property>
       
   177     </widget>
       
   178    </item>
       
   179    <item row="6" column="2">
       
   180     <widget class="QPushButton" name="setByteArrayButton">
       
   181      <property name="sizePolicy">
       
   182       <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
       
   183        <horstretch>0</horstretch>
       
   184        <verstretch>0</verstretch>
       
   185       </sizepolicy>
       
   186      </property>
       
   187      <property name="text">
       
   188       <string>Set</string>
       
   189      </property>
       
   190     </widget>
       
   191    </item>
       
   192    <item row="8" column="2">
       
   193     <widget class="QDialogButtonBox" name="buttonBox">
       
   194      <property name="orientation">
       
   195       <enum>Qt::Horizontal</enum>
       
   196      </property>
       
   197      <property name="standardButtons">
       
   198       <set>QDialogButtonBox::Close</set>
       
   199      </property>
       
   200     </widget>
       
   201    </item>
       
   202   </layout>
       
   203  </widget>
       
   204  <resources/>
       
   205  <connections>
       
   206   <connection>
       
   207    <sender>buttonBox</sender>
       
   208    <signal>accepted()</signal>
       
   209    <receiver>PublisherDialog</receiver>
       
   210    <slot>accept()</slot>
       
   211    <hints>
       
   212     <hint type="sourcelabel">
       
   213      <x>248</x>
       
   214      <y>254</y>
       
   215     </hint>
       
   216     <hint type="destinationlabel">
       
   217      <x>157</x>
       
   218      <y>274</y>
       
   219     </hint>
       
   220    </hints>
       
   221   </connection>
       
   222   <connection>
       
   223    <sender>buttonBox</sender>
       
   224    <signal>rejected()</signal>
       
   225    <receiver>PublisherDialog</receiver>
       
   226    <slot>reject()</slot>
       
   227    <hints>
       
   228     <hint type="sourcelabel">
       
   229      <x>316</x>
       
   230      <y>260</y>
       
   231     </hint>
       
   232     <hint type="destinationlabel">
       
   233      <x>286</x>
       
   234      <y>274</y>
       
   235     </hint>
       
   236    </hints>
       
   237   </connection>
       
   238  </connections>
       
   239 </ui>