1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
|
<ui version="4.0" >
<author>Copyright (c) 2006 Fabrizio Pollastri</author>
<class>example</class>
<widget class="QMainWindow" name="example" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>280</width>
<height>50</height>
</rect>
</property>
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle" >
<string>AVC Qt4 spin box example</string>
</property>
<property name="autoFillBackground" >
<bool>true</bool>
</property>
<widget class="QWidget" name="centralwidget" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>3</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="autoFillBackground" >
<bool>true</bool>
</property>
<widget class="QWidget" name="layoutWidget" >
<property name="geometry" >
<rect>
<x>3</x>
<y>10</y>
<width>271</width>
<height>35</height>
</rect>
</property>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
<widget class="QLabel" name="spin_value__label" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>label</string>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spin_value__spinbox" >
<property name="maximumSize" >
<size>
<width>200</width>
<height>200</height>
</size>
</property>
<property name="maximum" >
<number>1000000</number>
</property>
<property name="minimum" >
<number>-1000000</number>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</widget>
<includes/>
<resources/>
<connections/>
</ui>
|