examples/publish-subscribe/publisherdialog_hor.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>404</width>
       
    10     <height>153</height>
       
    11    </rect>
       
    12   </property>
       
    13   <property name="windowTitle">
       
    14    <string>Publisher</string>
       
    15   </property>
       
    16   <layout class="QGridLayout" name="gridLayout_2">
       
    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="0" column="2" colspan="2">
       
    47     <widget class="QPushButton" name="connectButton">
       
    48      <property name="sizePolicy">
       
    49       <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
       
    50        <horstretch>0</horstretch>
       
    51        <verstretch>0</verstretch>
       
    52       </sizepolicy>
       
    53      </property>
       
    54      <property name="text">
       
    55       <string>Connect</string>
       
    56      </property>
       
    57     </widget>
       
    58    </item>
       
    59    <item row="1" column="0" colspan="4">
       
    60     <widget class="QWidget" name="setters" native="true">
       
    61      <layout class="QGridLayout" name="gridLayout">
       
    62       <property name="margin">
       
    63        <number>0</number>
       
    64       </property>
       
    65       <item row="0" column="0">
       
    66        <widget class="QLabel" name="label_2">
       
    67         <property name="sizePolicy">
       
    68          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
       
    69           <horstretch>0</horstretch>
       
    70           <verstretch>0</verstretch>
       
    71          </sizepolicy>
       
    72         </property>
       
    73         <property name="text">
       
    74          <string>intValue:</string>
       
    75         </property>
       
    76         <property name="buddy">
       
    77          <cstring>intValue</cstring>
       
    78         </property>
       
    79        </widget>
       
    80       </item>
       
    81       <item row="0" column="1">
       
    82        <widget class="QSpinBox" name="intValue">
       
    83         <property name="sizePolicy">
       
    84          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
       
    85           <horstretch>0</horstretch>
       
    86           <verstretch>0</verstretch>
       
    87          </sizepolicy>
       
    88         </property>
       
    89        </widget>
       
    90       </item>
       
    91       <item row="0" column="2">
       
    92        <widget class="QPushButton" name="unsetIntButton">
       
    93         <property name="sizePolicy">
       
    94          <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
       
    95           <horstretch>0</horstretch>
       
    96           <verstretch>0</verstretch>
       
    97          </sizepolicy>
       
    98         </property>
       
    99         <property name="text">
       
   100          <string>Unset</string>
       
   101         </property>
       
   102        </widget>
       
   103       </item>
       
   104       <item row="1" column="0">
       
   105        <widget class="QLabel" name="label_3">
       
   106         <property name="sizePolicy">
       
   107          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
       
   108           <horstretch>0</horstretch>
       
   109           <verstretch>0</verstretch>
       
   110          </sizepolicy>
       
   111         </property>
       
   112         <property name="text">
       
   113          <string>stringValue:</string>
       
   114         </property>
       
   115         <property name="buddy">
       
   116          <cstring>stringValue</cstring>
       
   117         </property>
       
   118        </widget>
       
   119       </item>
       
   120       <item row="1" column="1">
       
   121        <widget class="QLineEdit" name="stringValue">
       
   122         <property name="sizePolicy">
       
   123          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
       
   124           <horstretch>0</horstretch>
       
   125           <verstretch>0</verstretch>
       
   126          </sizepolicy>
       
   127         </property>
       
   128         <property name="text">
       
   129          <string>testString</string>
       
   130         </property>
       
   131        </widget>
       
   132       </item>
       
   133       <item row="1" column="2">
       
   134        <widget class="QPushButton" name="setStringButton">
       
   135         <property name="sizePolicy">
       
   136          <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
       
   137           <horstretch>0</horstretch>
       
   138           <verstretch>0</verstretch>
       
   139          </sizepolicy>
       
   140         </property>
       
   141         <property name="text">
       
   142          <string>Set</string>
       
   143         </property>
       
   144        </widget>
       
   145       </item>
       
   146       <item row="2" column="0">
       
   147        <widget class="QLabel" name="label_4">
       
   148         <property name="sizePolicy">
       
   149          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
       
   150           <horstretch>0</horstretch>
       
   151           <verstretch>0</verstretch>
       
   152          </sizepolicy>
       
   153         </property>
       
   154         <property name="text">
       
   155          <string>byteArrayValue:</string>
       
   156         </property>
       
   157        </widget>
       
   158       </item>
       
   159       <item row="2" column="1">
       
   160        <widget class="QLineEdit" name="byteArrayValue">
       
   161         <property name="sizePolicy">
       
   162          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
       
   163           <horstretch>0</horstretch>
       
   164           <verstretch>0</verstretch>
       
   165          </sizepolicy>
       
   166         </property>
       
   167         <property name="text">
       
   168          <string>testByteArray</string>
       
   169         </property>
       
   170        </widget>
       
   171       </item>
       
   172       <item row="2" column="2">
       
   173        <widget class="QPushButton" name="setByteArrayButton">
       
   174         <property name="sizePolicy">
       
   175          <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
       
   176           <horstretch>0</horstretch>
       
   177           <verstretch>0</verstretch>
       
   178          </sizepolicy>
       
   179         </property>
       
   180         <property name="text">
       
   181          <string>Set</string>
       
   182         </property>
       
   183        </widget>
       
   184       </item>
       
   185      </layout>
       
   186     </widget>
       
   187    </item>
       
   188    <item row="2" column="0" colspan="4">
       
   189     <spacer name="verticalSpacer">
       
   190      <property name="orientation">
       
   191       <enum>Qt::Vertical</enum>
       
   192      </property>
       
   193      <property name="sizeHint" stdset="0">
       
   194       <size>
       
   195        <width>20</width>
       
   196        <height>196</height>
       
   197       </size>
       
   198      </property>
       
   199     </spacer>
       
   200    </item>
       
   201    <item row="3" column="2">
       
   202     <widget class="QDialogButtonBox" name="buttonBox">
       
   203      <property name="orientation">
       
   204       <enum>Qt::Horizontal</enum>
       
   205      </property>
       
   206      <property name="standardButtons">
       
   207       <set>QDialogButtonBox::Close</set>
       
   208      </property>
       
   209     </widget>
       
   210    </item>
       
   211   </layout>
       
   212  </widget>
       
   213  <tabstops>
       
   214   <tabstop>basePath</tabstop>
       
   215   <tabstop>connectButton</tabstop>
       
   216   <tabstop>intValue</tabstop>
       
   217   <tabstop>unsetIntButton</tabstop>
       
   218   <tabstop>stringValue</tabstop>
       
   219   <tabstop>setStringButton</tabstop>
       
   220   <tabstop>byteArrayValue</tabstop>
       
   221   <tabstop>setByteArrayButton</tabstop>
       
   222   <tabstop>buttonBox</tabstop>
       
   223  </tabstops>
       
   224  <resources/>
       
   225  <connections>
       
   226   <connection>
       
   227    <sender>buttonBox</sender>
       
   228    <signal>accepted()</signal>
       
   229    <receiver>PublisherDialog</receiver>
       
   230    <slot>accept()</slot>
       
   231    <hints>
       
   232     <hint type="sourcelabel">
       
   233      <x>248</x>
       
   234      <y>254</y>
       
   235     </hint>
       
   236     <hint type="destinationlabel">
       
   237      <x>157</x>
       
   238      <y>274</y>
       
   239     </hint>
       
   240    </hints>
       
   241   </connection>
       
   242   <connection>
       
   243    <sender>buttonBox</sender>
       
   244    <signal>rejected()</signal>
       
   245    <receiver>PublisherDialog</receiver>
       
   246    <slot>reject()</slot>
       
   247    <hints>
       
   248     <hint type="sourcelabel">
       
   249      <x>316</x>
       
   250      <y>260</y>
       
   251     </hint>
       
   252     <hint type="destinationlabel">
       
   253      <x>286</x>
       
   254      <y>274</y>
       
   255     </hint>
       
   256    </hints>
       
   257   </connection>
       
   258  </connections>
       
   259 </ui>