Graphics/ZoomDialog.ui

Wed, 06 Jan 2010 19:24:47 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 06 Jan 2010 19:24:47 +0000
changeset 24
9233b51b54d1
parent 0
de9c2efb9d02
permissions
-rw-r--r--

Fixed a copy-paste bug.

<ui version="4.0" >
 <class>ZoomDialog</class>
 <widget class="QDialog" name="ZoomDialog" >
  <property name="geometry" >
   <rect>
    <x>0</x>
    <y>0</y>
    <width>271</width>
    <height>77</height>
   </rect>
  </property>
  <property name="windowTitle" >
   <string>Zoom</string>
  </property>
  <property name="sizeGripEnabled" >
   <bool>true</bool>
  </property>
  <layout class="QVBoxLayout" >
   <item>
    <layout class="QHBoxLayout" >
     <item>
      <widget class="QLabel" name="label" >
       <property name="text" >
        <string>Zoom &amp;Factor:</string>
       </property>
       <property name="buddy" >
        <cstring>zoomSpinBox</cstring>
       </property>
      </widget>
     </item>
     <item>
      <widget class="QDoubleSpinBox" name="zoomSpinBox" >
       <property name="sizePolicy" >
        <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="toolTip" >
        <string>Enter zoom factor</string>
       </property>
       <property name="alignment" >
        <set>Qt::AlignRight</set>
       </property>
       <property name="minimum" >
        <double>0.010000000000000</double>
       </property>
       <property name="maximum" >
        <double>1000.000000000000000</double>
       </property>
       <property name="value" >
        <double>1.000000000000000</double>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QDialogButtonBox" name="buttonBox" >
     <property name="orientation" >
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="standardButtons" >
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <tabstops>
  <tabstop>zoomSpinBox</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>buttonBox</sender>
   <signal>accepted()</signal>
   <receiver>ZoomDialog</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>21</x>
     <y>46</y>
    </hint>
    <hint type="destinationlabel" >
     <x>21</x>
     <y>65</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>buttonBox</sender>
   <signal>rejected()</signal>
   <receiver>ZoomDialog</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>62</x>
     <y>50</y>
    </hint>
    <hint type="destinationlabel" >
     <x>62</x>
     <y>69</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>

eric ide

mercurial