home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qt3_emx.zip / tools / designer / templates / Dialog_with_Buttons_(Bottom).ui < prev    next >
Text File  |  2001-08-12  |  4KB  |  123 lines

  1. <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
  2. <class>MyDialog</class>
  3. <widget class="QDialog">
  4.     <property name="name">
  5.         <cstring>MyDialog</cstring>
  6.     </property>
  7.     <property name="geometry">
  8.         <rect>
  9.             <x>0</x>
  10.             <y>0</y>
  11.             <width>511</width>
  12.             <height>282</height>
  13.         </rect>
  14.     </property>
  15.     <property name="caption">
  16.         <string>MyDialog</string>
  17.     </property>
  18.     <property name="sizeGripEnabled">
  19.         <bool>true</bool>
  20.     </property>
  21.     <widget class="QLayoutWidget">
  22.         <property name="name">
  23.             <cstring>Layout1</cstring>
  24.         </property>
  25.         <property name="geometry">
  26.             <rect>
  27.                 <x>20</x>
  28.                 <y>240</y>
  29.                 <width>476</width>
  30.                 <height>33</height>
  31.             </rect>
  32.         </property>
  33.         <hbox>
  34.             <property name="name">
  35.                 <cstring>unnamed</cstring>
  36.             </property>
  37.             <property name="margin">
  38.                 <number>0</number>
  39.             </property>
  40.             <property name="spacing">
  41.                 <number>6</number>
  42.             </property>
  43.             <widget class="QPushButton">
  44.                 <property name="name">
  45.                     <cstring>buttonHelp</cstring>
  46.                 </property>
  47.                 <property name="text">
  48.                     <string>Help</string>
  49.                 </property>
  50.                 <property name="accel">
  51.                     <number>4144</number>
  52.                 </property>
  53.                 <property name="autoDefault">
  54.                     <bool>true</bool>
  55.                 </property>
  56.             </widget>
  57.             <spacer>
  58.                 <property name="name" stdset="0">
  59.                     <cstring>Horizontal Spacing2</cstring>
  60.                 </property>
  61.                 <property name="orientation">
  62.                     <enum>Horizontal</enum>
  63.                 </property>
  64.                 <property name="sizeType">
  65.                     <enum>Expanding</enum>
  66.                 </property>
  67.                 <property name="sizeHint">
  68.                     <size>
  69.                         <width>20</width>
  70.                         <height>20</height>
  71.                     </size>
  72.                 </property>
  73.             </spacer>
  74.             <widget class="QPushButton">
  75.                 <property name="name">
  76.                     <cstring>buttonOk</cstring>
  77.                 </property>
  78.                 <property name="text">
  79.                     <string>OK</string>
  80.                 </property>
  81.                 <property name="accel">
  82.                     <number>0</number>
  83.                 </property>
  84.                 <property name="autoDefault">
  85.                     <bool>true</bool>
  86.                 </property>
  87.                 <property name="default">
  88.                     <bool>true</bool>
  89.                 </property>
  90.             </widget>
  91.             <widget class="QPushButton">
  92.                 <property name="name">
  93.                     <cstring>buttonCancel</cstring>
  94.                 </property>
  95.                 <property name="text">
  96.                     <string>Cancel</string>
  97.                 </property>
  98.                 <property name="accel">
  99.                     <number>0</number>
  100.                 </property>
  101.                 <property name="autoDefault">
  102.                     <bool>true</bool>
  103.                 </property>
  104.             </widget>
  105.         </hbox>
  106.     </widget>
  107. </widget>
  108. <connections>
  109.     <connection>
  110.         <sender>buttonOk</sender>
  111.         <signal>clicked()</signal>
  112.         <receiver>MyDialog</receiver>
  113.         <slot>accept()</slot>
  114.     </connection>
  115.     <connection>
  116.         <sender>buttonCancel</sender>
  117.         <signal>clicked()</signal>
  118.         <receiver>MyDialog</receiver>
  119.         <slot>reject()</slot>
  120.     </connection>
  121. </connections>
  122. </UI>
  123.