qtmobility/examples/publish-subscribe/publisherdialog.ui
changeset 14 6fbed849b4f4
parent 1 2b40d63a9c3d
equal deleted inserted replaced
11:06b8e2af4411 14:6fbed849b4f4
     5   <property name="geometry">
     5   <property name="geometry">
     6    <rect>
     6    <rect>
     7     <x>0</x>
     7     <x>0</x>
     8     <y>0</y>
     8     <y>0</y>
     9     <width>240</width>
     9     <width>240</width>
    10     <height>320</height>
    10     <height>338</height>
    11    </rect>
    11    </rect>
    12   </property>
    12   </property>
    13   <property name="windowTitle">
    13   <property name="windowTitle">
    14    <string>Publisher</string>
    14    <string>Publisher</string>
    15   </property>
    15   </property>
    16   <layout class="QFormLayout" name="formLayout">
    16   <layout class="QGridLayout" name="gridLayout">
    17    <property name="rowWrapPolicy">
    17    <item row="0" column="1">
    18     <enum>QFormLayout::WrapLongRows</enum>
       
    19    </property>
       
    20    <item row="4" column="0">
       
    21     <widget class="QLabel" name="label_2">
       
    22      <property name="text">
       
    23       <string>intValue:</string>
       
    24      </property>
       
    25      <property name="buddy">
       
    26       <cstring>intValue</cstring>
       
    27      </property>
       
    28     </widget>
       
    29    </item>
       
    30    <item row="4" column="1">
       
    31     <widget class="QSpinBox" name="intValue">
       
    32      <property name="sizePolicy">
       
    33       <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
       
    34        <horstretch>0</horstretch>
       
    35        <verstretch>0</verstretch>
       
    36       </sizepolicy>
       
    37      </property>
       
    38     </widget>
       
    39    </item>
       
    40    <item row="0" column="0">
       
    41     <widget class="QLabel" name="label">
    18     <widget class="QLabel" name="label">
    42      <property name="text">
    19      <property name="text">
    43       <string>Base path:</string>
    20       <string>Base path:</string>
    44      </property>
    21      </property>
    45      <property name="buddy">
    22      <property name="buddy">
    46       <cstring>basePath</cstring>
    23       <cstring>basePath</cstring>
    47      </property>
    24      </property>
    48     </widget>
    25     </widget>
    49    </item>
    26    </item>
    50    <item row="0" column="1">
    27    <item row="0" column="2">
    51     <widget class="QLineEdit" name="basePath">
    28     <widget class="QLineEdit" name="basePath">
    52      <property name="sizePolicy">
    29      <property name="sizePolicy">
    53       <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
    30       <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
    54        <horstretch>0</horstretch>
    31        <horstretch>0</horstretch>
    55        <verstretch>0</verstretch>
    32        <verstretch>0</verstretch>
    58      <property name="text">
    35      <property name="text">
    59       <string>/example</string>
    36       <string>/example</string>
    60      </property>
    37      </property>
    61     </widget>
    38     </widget>
    62    </item>
    39    </item>
    63    <item row="1" column="0" colspan="2">
    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">
    64     <widget class="QPushButton" name="connectButton">
   174     <widget class="QPushButton" name="connectButton">
    65      <property name="sizePolicy">
   175      <property name="sizePolicy">
    66       <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
   176       <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
    67        <horstretch>0</horstretch>
   177        <horstretch>0</horstretch>
    68        <verstretch>0</verstretch>
   178        <verstretch>0</verstretch>
    71      <property name="text">
   181      <property name="text">
    72       <string>Connect</string>
   182       <string>Connect</string>
    73      </property>
   183      </property>
    74     </widget>
   184     </widget>
    75    </item>
   185    </item>
    76    <item row="5" column="0" colspan="2">
   186    <item row="3" column="2">
    77     <widget class="QPushButton" name="unsetIntButton">
       
    78      <property name="sizePolicy">
       
    79       <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
       
    80        <horstretch>0</horstretch>
       
    81        <verstretch>0</verstretch>
       
    82       </sizepolicy>
       
    83      </property>
       
    84      <property name="text">
       
    85       <string>Unset</string>
       
    86      </property>
       
    87     </widget>
       
    88    </item>
       
    89    <item row="10" column="0" colspan="2">
       
    90     <widget class="QPushButton" name="setStringButton">
       
    91      <property name="sizePolicy">
       
    92       <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
       
    93        <horstretch>0</horstretch>
       
    94        <verstretch>0</verstretch>
       
    95       </sizepolicy>
       
    96      </property>
       
    97      <property name="text">
       
    98       <string>Set</string>
       
    99      </property>
       
   100     </widget>
       
   101    </item>
       
   102    <item row="7" column="0">
       
   103     <widget class="QLabel" name="label_3">
       
   104      <property name="text">
       
   105       <string>stringValue:</string>
       
   106      </property>
       
   107      <property name="buddy">
       
   108       <cstring>stringValue</cstring>
       
   109      </property>
       
   110     </widget>
       
   111    </item>
       
   112    <item row="7" column="1">
       
   113     <widget class="QLineEdit" name="stringValue">
       
   114      <property name="sizePolicy">
       
   115       <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
       
   116        <horstretch>0</horstretch>
       
   117        <verstretch>0</verstretch>
       
   118       </sizepolicy>
       
   119      </property>
       
   120      <property name="text">
       
   121       <string>testString</string>
       
   122      </property>
       
   123     </widget>
       
   124    </item>
       
   125    <item row="11" column="0">
       
   126     <widget class="QLabel" name="label_4">
       
   127      <property name="text">
       
   128       <string>byteArrayValue:</string>
       
   129      </property>
       
   130     </widget>
       
   131    </item>
       
   132    <item row="11" column="1">
       
   133     <widget class="QLineEdit" name="byteArrayValue">
       
   134      <property name="sizePolicy">
       
   135       <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
       
   136        <horstretch>0</horstretch>
       
   137        <verstretch>0</verstretch>
       
   138       </sizepolicy>
       
   139      </property>
       
   140      <property name="text">
       
   141       <string>testByteArray</string>
       
   142      </property>
       
   143     </widget>
       
   144    </item>
       
   145    <item row="13" column="0" colspan="2">
       
   146     <widget class="QPushButton" name="setByteArrayButton">
       
   147      <property name="sizePolicy">
       
   148       <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
       
   149        <horstretch>0</horstretch>
       
   150        <verstretch>0</verstretch>
       
   151       </sizepolicy>
       
   152      </property>
       
   153      <property name="text">
       
   154       <string>Set</string>
       
   155      </property>
       
   156     </widget>
       
   157    </item>
       
   158    <item row="14" column="0" colspan="2">
       
   159     <spacer name="verticalSpacer">
       
   160      <property name="orientation">
       
   161       <enum>Qt::Vertical</enum>
       
   162      </property>
       
   163      <property name="sizeHint" stdset="0">
       
   164       <size>
       
   165        <width>20</width>
       
   166        <height>196</height>
       
   167       </size>
       
   168      </property>
       
   169     </spacer>
       
   170    </item>
       
   171    <item row="15" column="0" colspan="2">
       
   172     <widget class="QDialogButtonBox" name="buttonBox">
   187     <widget class="QDialogButtonBox" name="buttonBox">
   173      <property name="orientation">
   188      <property name="orientation">
   174       <enum>Qt::Horizontal</enum>
   189       <enum>Qt::Horizontal</enum>
   175      </property>
   190      </property>
   176      <property name="standardButtons">
   191      <property name="standardButtons">
   178      </property>
   193      </property>
   179     </widget>
   194     </widget>
   180    </item>
   195    </item>
   181   </layout>
   196   </layout>
   182  </widget>
   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>
   183  <resources/>
   210  <resources/>
   184  <connections>
   211  <connections>
   185   <connection>
   212   <connection>
   186    <sender>buttonBox</sender>
   213    <sender>buttonBox</sender>
   187    <signal>accepted()</signal>
   214    <signal>accepted()</signal>