eric6/IconEditor/IconSizeDialog.ui

changeset 6942
2602857055c5
parent 0
de9c2efb9d02
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 <ui version="4.0" >
2 <class>IconSizeDialog</class>
3 <widget class="QDialog" name="IconSizeDialog" >
4 <property name="geometry" >
5 <rect>
6 <x>0</x>
7 <y>0</y>
8 <width>232</width>
9 <height>78</height>
10 </rect>
11 </property>
12 <property name="windowTitle" >
13 <string>Icon Size</string>
14 </property>
15 <property name="sizeGripEnabled" >
16 <bool>true</bool>
17 </property>
18 <layout class="QGridLayout" name="gridLayout" >
19 <item row="0" column="0" >
20 <widget class="QLabel" name="label" >
21 <property name="text" >
22 <string>Size:</string>
23 </property>
24 </widget>
25 </item>
26 <item row="0" column="1" >
27 <widget class="QSpinBox" name="widthSpin" >
28 <property name="toolTip" >
29 <string>Enter the width of the icon</string>
30 </property>
31 <property name="alignment" >
32 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
33 </property>
34 <property name="minimum" >
35 <number>1</number>
36 </property>
37 <property name="maximum" >
38 <number>256</number>
39 </property>
40 <property name="value" >
41 <number>32</number>
42 </property>
43 </widget>
44 </item>
45 <item row="0" column="2" >
46 <widget class="QLabel" name="label_2" >
47 <property name="text" >
48 <string>X</string>
49 </property>
50 <property name="alignment" >
51 <set>Qt::AlignCenter</set>
52 </property>
53 </widget>
54 </item>
55 <item row="0" column="3" >
56 <widget class="QSpinBox" name="heightSpin" >
57 <property name="toolTip" >
58 <string>Enter the height of the icon</string>
59 </property>
60 <property name="alignment" >
61 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
62 </property>
63 <property name="minimum" >
64 <number>1</number>
65 </property>
66 <property name="maximum" >
67 <number>256</number>
68 </property>
69 <property name="value" >
70 <number>32</number>
71 </property>
72 </widget>
73 </item>
74 <item row="0" column="4" >
75 <spacer name="horizontalSpacer_2" >
76 <property name="orientation" >
77 <enum>Qt::Horizontal</enum>
78 </property>
79 <property name="sizeHint" stdset="0" >
80 <size>
81 <width>42</width>
82 <height>20</height>
83 </size>
84 </property>
85 </spacer>
86 </item>
87 <item row="1" column="0" colspan="5" >
88 <widget class="QDialogButtonBox" name="buttonBox" >
89 <property name="orientation" >
90 <enum>Qt::Horizontal</enum>
91 </property>
92 <property name="standardButtons" >
93 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
94 </property>
95 </widget>
96 </item>
97 </layout>
98 </widget>
99 <tabstops>
100 <tabstop>widthSpin</tabstop>
101 <tabstop>heightSpin</tabstop>
102 <tabstop>buttonBox</tabstop>
103 </tabstops>
104 <resources/>
105 <connections>
106 <connection>
107 <sender>buttonBox</sender>
108 <signal>accepted()</signal>
109 <receiver>IconSizeDialog</receiver>
110 <slot>accept()</slot>
111 <hints>
112 <hint type="sourcelabel" >
113 <x>248</x>
114 <y>254</y>
115 </hint>
116 <hint type="destinationlabel" >
117 <x>157</x>
118 <y>274</y>
119 </hint>
120 </hints>
121 </connection>
122 <connection>
123 <sender>buttonBox</sender>
124 <signal>rejected()</signal>
125 <receiver>IconSizeDialog</receiver>
126 <slot>reject()</slot>
127 <hints>
128 <hint type="sourcelabel" >
129 <x>316</x>
130 <y>260</y>
131 </hint>
132 <hint type="destinationlabel" >
133 <x>286</x>
134 <y>274</y>
135 </hint>
136 </hints>
137 </connection>
138 </connections>
139 </ui>

eric ide

mercurial