Содержимое файла | Последнее изменение | Открыть журнал | RSS
Редакция | Автор | № строки | Строка |
---|---|---|---|
5 | diffor | 1 | <ui version="4.0" > |
2 | <author>Gordos Kund</author> |
||
3 | <class>TDPreviewDialog</class> |
||
4 | <widget class="QDialog" name="TDPreviewDialog" > |
||
5 | <property name="geometry" > |
||
6 | <rect> |
||
7 | <x>0</x> |
||
8 | <y>0</y> |
||
9 | <width>815</width> |
||
10 | <height>745</height> |
||
11 | </rect> |
||
12 | </property> |
||
13 | <property name="windowTitle" > |
||
14 | <string>Dialog</string> |
||
15 | </property> |
||
16 | <layout class="QVBoxLayout" > |
||
17 | <item> |
||
18 | <layout class="QHBoxLayout" > |
||
19 | <item> |
||
20 | <widget class="QToolButton" name="zoomInToolButton" > |
||
21 | <property name="toolTip" > |
||
22 | <string>Zoom in</string> |
||
23 | </property> |
||
24 | <property name="text" > |
||
25 | <string>...</string> |
||
26 | </property> |
||
27 | <property name="icon" > |
||
28 | <iconset resource="../tableprinterresource.qrc" > |
||
29 | <normaloff>:/16x16/icons/16x16/actions/viewzoomin.png</normaloff>:/16x16/icons/16x16/actions/viewzoomin.png</iconset> |
||
30 | </property> |
||
31 | </widget> |
||
32 | </item> |
||
33 | <item> |
||
34 | <widget class="QToolButton" name="zoomOutToolButton" > |
||
35 | <property name="toolTip" > |
||
36 | <string>Zoom Out</string> |
||
37 | </property> |
||
38 | <property name="text" > |
||
39 | <string>...</string> |
||
40 | </property> |
||
41 | <property name="icon" > |
||
42 | <iconset resource="../tableprinterresource.qrc" > |
||
43 | <normaloff>:/16x16/icons/16x16/actions/viewzoomout.png</normaloff>:/16x16/icons/16x16/actions/viewzoomout.png</iconset> |
||
44 | </property> |
||
45 | </widget> |
||
46 | </item> |
||
47 | <item> |
||
48 | <spacer> |
||
49 | <property name="orientation" > |
||
50 | <enum>Qt::Horizontal</enum> |
||
51 | </property> |
||
52 | <property name="sizeHint" stdset="0" > |
||
53 | <size> |
||
54 | <width>40</width> |
||
55 | <height>20</height> |
||
56 | </size> |
||
57 | </property> |
||
58 | </spacer> |
||
59 | </item> |
||
60 | <item> |
||
61 | <widget class="QLabel" name="label" > |
||
62 | <property name="text" > |
||
63 | <string>Page</string> |
||
64 | </property> |
||
65 | </widget> |
||
66 | </item> |
||
67 | <item> |
||
68 | <widget class="QSlider" name="horizontalSlider" > |
||
69 | <property name="toolTip" > |
||
70 | <string>Select Page</string> |
||
71 | </property> |
||
72 | <property name="minimum" > |
||
73 | <number>1</number> |
||
74 | </property> |
||
75 | <property name="pageStep" > |
||
76 | <number>1</number> |
||
77 | </property> |
||
78 | <property name="value" > |
||
79 | <number>1</number> |
||
80 | </property> |
||
81 | <property name="tracking" > |
||
82 | <bool>false</bool> |
||
83 | </property> |
||
84 | <property name="orientation" > |
||
85 | <enum>Qt::Horizontal</enum> |
||
86 | </property> |
||
87 | <property name="tickPosition" > |
||
88 | <enum>QSlider::NoTicks</enum> |
||
89 | </property> |
||
90 | <property name="tickInterval" > |
||
91 | <number>0</number> |
||
92 | </property> |
||
93 | </widget> |
||
94 | </item> |
||
95 | <item> |
||
96 | <widget class="QToolButton" name="prevToolButton" > |
||
97 | <property name="toolTip" > |
||
98 | <string>Previous Page</string> |
||
99 | </property> |
||
100 | <property name="text" > |
||
101 | <string><</string> |
||
102 | </property> |
||
103 | <property name="icon" > |
||
104 | <iconset resource="../tableprinterresource.qrc" > |
||
105 | <normaloff>:/16x16/icons/16x16/actions/1leftarrow.png</normaloff>:/16x16/icons/16x16/actions/1leftarrow.png</iconset> |
||
106 | </property> |
||
107 | </widget> |
||
108 | </item> |
||
109 | <item> |
||
110 | <widget class="QSpinBox" name="pageSpinBox" > |
||
111 | <property name="toolTip" > |
||
112 | <string>Type page number here</string> |
||
113 | </property> |
||
114 | <property name="buttonSymbols" > |
||
115 | <enum>QAbstractSpinBox::NoButtons</enum> |
||
116 | </property> |
||
117 | <property name="keyboardTracking" > |
||
118 | <bool>false</bool> |
||
119 | </property> |
||
120 | <property name="minimum" > |
||
121 | <number>1</number> |
||
122 | </property> |
||
123 | </widget> |
||
124 | </item> |
||
125 | <item> |
||
126 | <widget class="QToolButton" name="nextToolButton" > |
||
127 | <property name="toolTip" > |
||
128 | <string>Next Page</string> |
||
129 | </property> |
||
130 | <property name="text" > |
||
131 | <string>></string> |
||
132 | </property> |
||
133 | <property name="icon" > |
||
134 | <iconset resource="../tableprinterresource.qrc" > |
||
135 | <normaloff>:/16x16/icons/16x16/actions/1rightarrow.png</normaloff>:/16x16/icons/16x16/actions/1rightarrow.png</iconset> |
||
136 | </property> |
||
137 | </widget> |
||
138 | </item> |
||
139 | <item> |
||
140 | <spacer> |
||
141 | <property name="orientation" > |
||
142 | <enum>Qt::Horizontal</enum> |
||
143 | </property> |
||
144 | <property name="sizeHint" stdset="0" > |
||
145 | <size> |
||
146 | <width>40</width> |
||
147 | <height>20</height> |
||
148 | </size> |
||
149 | </property> |
||
150 | </spacer> |
||
151 | </item> |
||
152 | <item> |
||
153 | <widget class="QToolButton" name="setupToolButton" > |
||
154 | <property name="toolTip" > |
||
155 | <string>Page Settings</string> |
||
156 | </property> |
||
157 | <property name="text" > |
||
158 | <string>...</string> |
||
159 | </property> |
||
160 | <property name="icon" > |
||
161 | <iconset resource="../tableprinterresource.qrc" > |
||
162 | <normaloff>:/16x16/icons/16x16/actions/configure.png</normaloff>:/16x16/icons/16x16/actions/configure.png</iconset> |
||
163 | </property> |
||
164 | </widget> |
||
165 | </item> |
||
166 | </layout> |
||
167 | </item> |
||
168 | <item> |
||
169 | <widget class="QGraphicsView" name="graphicsView" > |
||
170 | <property name="renderHints" > |
||
171 | <set>QPainter::TextAntialiasing</set> |
||
172 | </property> |
||
173 | <property name="dragMode" > |
||
174 | <enum>QGraphicsView::ScrollHandDrag</enum> |
||
175 | </property> |
||
176 | </widget> |
||
177 | </item> |
||
178 | <item> |
||
179 | <layout class="QHBoxLayout" > |
||
180 | <item> |
||
181 | <spacer> |
||
182 | <property name="orientation" > |
||
183 | <enum>Qt::Horizontal</enum> |
||
184 | </property> |
||
185 | <property name="sizeHint" stdset="0" > |
||
186 | <size> |
||
187 | <width>40</width> |
||
188 | <height>20</height> |
||
189 | </size> |
||
190 | </property> |
||
191 | </spacer> |
||
192 | </item> |
||
193 | <item> |
||
194 | <widget class="QPushButton" name="okPushButton" > |
||
195 | <property name="toolTip" > |
||
196 | <string>Print Document</string> |
||
197 | </property> |
||
198 | <property name="text" > |
||
199 | <string>&Ok</string> |
||
200 | </property> |
||
201 | <property name="icon" > |
||
202 | <iconset resource="../tableprinterresource.qrc" > |
||
203 | <normaloff>:/16x16/icons/16x16/actions/ok.png</normaloff>:/16x16/icons/16x16/actions/ok.png</iconset> |
||
204 | </property> |
||
205 | </widget> |
||
206 | </item> |
||
207 | <item> |
||
208 | <widget class="QPushButton" name="cancelPushButton" > |
||
209 | <property name="toolTip" > |
||
210 | <string>Cancel</string> |
||
211 | </property> |
||
212 | <property name="text" > |
||
213 | <string>&Cancel</string> |
||
214 | </property> |
||
215 | <property name="icon" > |
||
216 | <iconset resource="../tableprinterresource.qrc" > |
||
217 | <normaloff>:/16x16/icons/16x16/actions/button_cancel.png</normaloff>:/16x16/icons/16x16/actions/button_cancel.png</iconset> |
||
218 | </property> |
||
219 | </widget> |
||
220 | </item> |
||
221 | </layout> |
||
222 | </item> |
||
223 | </layout> |
||
224 | </widget> |
||
225 | <tabstops> |
||
226 | <tabstop>okPushButton</tabstop> |
||
227 | <tabstop>cancelPushButton</tabstop> |
||
228 | <tabstop>zoomInToolButton</tabstop> |
||
229 | <tabstop>zoomOutToolButton</tabstop> |
||
230 | <tabstop>setupToolButton</tabstop> |
||
231 | </tabstops> |
||
232 | <resources> |
||
233 | <include location="../tableprinterresource.qrc" /> |
||
234 | </resources> |
||
235 | <connections> |
||
236 | <connection> |
||
237 | <sender>cancelPushButton</sender> |
||
238 | <signal>clicked()</signal> |
||
239 | <receiver>TDPreviewDialog</receiver> |
||
240 | <slot>reject()</slot> |
||
241 | <hints> |
||
242 | <hint type="sourcelabel" > |
||
243 | <x>565</x> |
||
244 | <y>450</y> |
||
245 | </hint> |
||
246 | <hint type="destinationlabel" > |
||
247 | <x>470</x> |
||
248 | <y>392</y> |
||
249 | </hint> |
||
250 | </hints> |
||
251 | </connection> |
||
252 | <connection> |
||
253 | <sender>okPushButton</sender> |
||
254 | <signal>clicked()</signal> |
||
255 | <receiver>TDPreviewDialog</receiver> |
||
256 | <slot>accept()</slot> |
||
257 | <hints> |
||
258 | <hint type="sourcelabel" > |
||
259 | <x>480</x> |
||
260 | <y>450</y> |
||
261 | </hint> |
||
262 | <hint type="destinationlabel" > |
||
263 | <x>367</x> |
||
264 | <y>388</y> |
||
265 | </hint> |
||
266 | </hints> |
||
267 | </connection> |
||
268 | <connection> |
||
269 | <sender>pageSpinBox</sender> |
||
270 | <signal>valueChanged(int)</signal> |
||
271 | <receiver>horizontalSlider</receiver> |
||
272 | <slot>setValue(int)</slot> |
||
273 | <hints> |
||
274 | <hint type="sourcelabel" > |
||
275 | <x>375</x> |
||
276 | <y>14</y> |
||
277 | </hint> |
||
278 | <hint type="destinationlabel" > |
||
279 | <x>286</x> |
||
280 | <y>26</y> |
||
281 | </hint> |
||
282 | </hints> |
||
283 | </connection> |
||
284 | </connections> |
||
285 | </ui> |