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