examples/publish-subscribe/subscriberdialog.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>SubscriberDialog</class>
       
     4  <widget class="QDialog" name="SubscriberDialog">
       
     5   <property name="geometry">
       
     6    <rect>
       
     7     <x>0</x>
       
     8     <y>0</y>
       
     9     <width>400</width>
       
    10     <height>320</height>
       
    11    </rect>
       
    12   </property>
       
    13   <property name="windowTitle">
       
    14    <string>Subscriber</string>
       
    15   </property>
       
    16   <layout class="QVBoxLayout" name="verticalLayout">
       
    17    <item>
       
    18     <layout class="QHBoxLayout" name="horizontalLayout">
       
    19      <item>
       
    20       <widget class="QLabel" name="label">
       
    21        <property name="text">
       
    22         <string>Base path:</string>
       
    23        </property>
       
    24       </widget>
       
    25      </item>
       
    26      <item>
       
    27       <widget class="QLineEdit" name="basePath">
       
    28        <property name="sizePolicy">
       
    29         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
       
    30          <horstretch>0</horstretch>
       
    31          <verstretch>0</verstretch>
       
    32         </sizepolicy>
       
    33        </property>
       
    34        <property name="text">
       
    35         <string>/example</string>
       
    36        </property>
       
    37       </widget>
       
    38      </item>
       
    39     </layout>
       
    40    </item>
       
    41    <item>
       
    42     <widget class="QPushButton" name="connectButton">
       
    43      <property name="text">
       
    44       <string>Connect</string>
       
    45      </property>
       
    46     </widget>
       
    47    </item>
       
    48    <item>
       
    49     <widget class="QDialogButtonBox" name="buttonBox">
       
    50      <property name="orientation">
       
    51       <enum>Qt::Horizontal</enum>
       
    52      </property>
       
    53      <property name="standardButtons">
       
    54       <set>QDialogButtonBox::Close</set>
       
    55      </property>
       
    56     </widget>
       
    57    </item>
       
    58   </layout>
       
    59  </widget>
       
    60  <tabstops>
       
    61   <tabstop>basePath</tabstop>
       
    62   <tabstop>connectButton</tabstop>
       
    63   <tabstop>buttonBox</tabstop>
       
    64  </tabstops>
       
    65  <resources/>
       
    66  <connections>
       
    67   <connection>
       
    68    <sender>buttonBox</sender>
       
    69    <signal>accepted()</signal>
       
    70    <receiver>SubscriberDialog</receiver>
       
    71    <slot>accept()</slot>
       
    72    <hints>
       
    73     <hint type="sourcelabel">
       
    74      <x>248</x>
       
    75      <y>254</y>
       
    76     </hint>
       
    77     <hint type="destinationlabel">
       
    78      <x>157</x>
       
    79      <y>274</y>
       
    80     </hint>
       
    81    </hints>
       
    82   </connection>
       
    83   <connection>
       
    84    <sender>buttonBox</sender>
       
    85    <signal>rejected()</signal>
       
    86    <receiver>SubscriberDialog</receiver>
       
    87    <slot>reject()</slot>
       
    88    <hints>
       
    89     <hint type="sourcelabel">
       
    90      <x>316</x>
       
    91      <y>260</y>
       
    92     </hint>
       
    93     <hint type="destinationlabel">
       
    94      <x>286</x>
       
    95      <y>274</y>
       
    96     </hint>
       
    97    </hints>
       
    98   </connection>
       
    99  </connections>
       
   100 </ui>