examples/dbus/dbus-chat/chatsetnickname.ui
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <ui version="4.0" >
       
     2  <author></author>
       
     3  <comment></comment>
       
     4  <exportmacro></exportmacro>
       
     5  <class>NicknameDialog</class>
       
     6  <widget class="QDialog" name="NicknameDialog" >
       
     7   <property name="geometry" >
       
     8    <rect>
       
     9     <x>0</x>
       
    10     <y>0</y>
       
    11     <width>396</width>
       
    12     <height>105</height>
       
    13    </rect>
       
    14   </property>
       
    15   <property name="sizePolicy" >
       
    16    <sizepolicy>
       
    17     <hsizetype>1</hsizetype>
       
    18     <vsizetype>1</vsizetype>
       
    19     <horstretch>0</horstretch>
       
    20     <verstretch>0</verstretch>
       
    21    </sizepolicy>
       
    22   </property>
       
    23   <property name="windowTitle" >
       
    24    <string>Set nickname</string>
       
    25   </property>
       
    26   <layout class="QVBoxLayout" >
       
    27    <property name="margin" >
       
    28     <number>9</number>
       
    29    </property>
       
    30    <property name="spacing" >
       
    31     <number>6</number>
       
    32    </property>
       
    33    <item>
       
    34     <layout class="QVBoxLayout" >
       
    35      <property name="margin" >
       
    36       <number>0</number>
       
    37      </property>
       
    38      <property name="spacing" >
       
    39       <number>6</number>
       
    40      </property>
       
    41      <item>
       
    42       <widget class="QLabel" name="label" >
       
    43        <property name="sizePolicy" >
       
    44         <sizepolicy>
       
    45          <hsizetype>1</hsizetype>
       
    46          <vsizetype>1</vsizetype>
       
    47          <horstretch>0</horstretch>
       
    48          <verstretch>0</verstretch>
       
    49         </sizepolicy>
       
    50        </property>
       
    51        <property name="text" >
       
    52         <string>New nickname:</string>
       
    53        </property>
       
    54       </widget>
       
    55      </item>
       
    56      <item>
       
    57       <widget class="QLineEdit" name="nickname" />
       
    58      </item>
       
    59     </layout>
       
    60    </item>
       
    61    <item>
       
    62     <layout class="QHBoxLayout" >
       
    63      <property name="margin" >
       
    64       <number>0</number>
       
    65      </property>
       
    66      <property name="spacing" >
       
    67       <number>6</number>
       
    68      </property>
       
    69      <item>
       
    70       <spacer>
       
    71        <property name="orientation" >
       
    72         <enum>Qt::Horizontal</enum>
       
    73        </property>
       
    74        <property name="sizeHint" >
       
    75         <size>
       
    76          <width>131</width>
       
    77          <height>31</height>
       
    78         </size>
       
    79        </property>
       
    80       </spacer>
       
    81      </item>
       
    82      <item>
       
    83       <widget class="QPushButton" name="okButton" >
       
    84        <property name="text" >
       
    85         <string>OK</string>
       
    86        </property>
       
    87       </widget>
       
    88      </item>
       
    89      <item>
       
    90       <widget class="QPushButton" name="cancelButton" >
       
    91        <property name="text" >
       
    92         <string>Cancel</string>
       
    93        </property>
       
    94       </widget>
       
    95      </item>
       
    96      <item>
       
    97       <spacer>
       
    98        <property name="orientation" >
       
    99         <enum>Qt::Horizontal</enum>
       
   100        </property>
       
   101        <property name="sizeHint" >
       
   102         <size>
       
   103          <width>40</width>
       
   104          <height>20</height>
       
   105         </size>
       
   106        </property>
       
   107       </spacer>
       
   108      </item>
       
   109     </layout>
       
   110    </item>
       
   111   </layout>
       
   112  </widget>
       
   113  <pixmapfunction></pixmapfunction>
       
   114  <resources/>
       
   115  <connections>
       
   116   <connection>
       
   117    <sender>okButton</sender>
       
   118    <signal>clicked()</signal>
       
   119    <receiver>NicknameDialog</receiver>
       
   120    <slot>accept()</slot>
       
   121    <hints>
       
   122     <hint type="sourcelabel" >
       
   123      <x>278</x>
       
   124      <y>253</y>
       
   125     </hint>
       
   126     <hint type="destinationlabel" >
       
   127      <x>96</x>
       
   128      <y>254</y>
       
   129     </hint>
       
   130    </hints>
       
   131   </connection>
       
   132   <connection>
       
   133    <sender>cancelButton</sender>
       
   134    <signal>clicked()</signal>
       
   135    <receiver>NicknameDialog</receiver>
       
   136    <slot>reject()</slot>
       
   137    <hints>
       
   138     <hint type="sourcelabel" >
       
   139      <x>369</x>
       
   140      <y>253</y>
       
   141     </hint>
       
   142     <hint type="destinationlabel" >
       
   143      <x>179</x>
       
   144      <y>282</y>
       
   145     </hint>
       
   146    </hints>
       
   147   </connection>
       
   148  </connections>
       
   149 </ui>