Changeset View
Changeset View
Standalone View
Standalone View
plugins/extensions/imagesize/wdg_canvassize.ui
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
---|---|---|---|---|---|
2 | <ui version="4.0"> | 2 | <ui version="4.0"> | ||
3 | <class>WdgCanvasSize</class> | 3 | <class>WdgCanvasSize</class> | ||
4 | <widget class="QWidget" name="WdgCanvasSize"> | 4 | <widget class="QWidget" name="WdgCanvasSize"> | ||
5 | <property name="geometry"> | 5 | <property name="geometry"> | ||
6 | <rect> | 6 | <rect> | ||
7 | <x>0</x> | 7 | <x>0</x> | ||
8 | <y>0</y> | 8 | <y>0</y> | ||
9 | <width>367</width> | 9 | <width>395</width> | ||
10 | <height>380</height> | 10 | <height>387</height> | ||
11 | </rect> | 11 | </rect> | ||
12 | </property> | 12 | </property> | ||
13 | <property name="windowTitle"> | 13 | <property name="windowTitle"> | ||
14 | <string>Canvas Size</string> | 14 | <string>Canvas Size</string> | ||
15 | </property> | 15 | </property> | ||
16 | <layout class="QVBoxLayout" name="verticalLayout"> | 16 | <layout class="QVBoxLayout" name="verticalLayout"> | ||
17 | <item> | 17 | <item> | ||
18 | <widget class="QGroupBox" name="groupBox_2"> | 18 | <widget class="QGroupBox" name="groupBox_2"> | ||
19 | <property name="title"> | 19 | <property name="title"> | ||
20 | <string>New Size</string> | 20 | <string>New Size</string> | ||
21 | </property> | 21 | </property> | ||
22 | <property name="flat"> | 22 | <property name="flat"> | ||
23 | <bool>true</bool> | 23 | <bool>true</bool> | ||
24 | </property> | 24 | </property> | ||
25 | <layout class="QGridLayout" name="gridLayout_2"> | 25 | <layout class="QGridLayout" name="gridLayout_2"> | ||
26 | <item row="0" column="2"> | 26 | <item row="0" column="2"> | ||
27 | <widget class="QSpinBox" name="newWidth"> | 27 | <widget class="KisIntParseSpinBox" name="newWidth"> | ||
28 | <property name="minimum"> | 28 | <property name="minimum"> | ||
29 | <number>1</number> | 29 | <number>1</number> | ||
30 | </property> | 30 | </property> | ||
31 | <property name="maximum"> | 31 | <property name="maximum"> | ||
32 | <number>100000</number> | 32 | <number>100000</number> | ||
33 | </property> | 33 | </property> | ||
34 | </widget> | 34 | </widget> | ||
35 | </item> | 35 | </item> | ||
36 | <item row="1" column="1"> | 36 | <item row="1" column="1"> | ||
37 | <widget class="QLabel" name="lblNewHeight"> | 37 | <widget class="QLabel" name="lblNewHeight"> | ||
38 | <property name="text"> | 38 | <property name="text"> | ||
39 | <string>Height:</string> | 39 | <string>Height:</string> | ||
40 | </property> | 40 | </property> | ||
41 | <property name="alignment"> | 41 | <property name="alignment"> | ||
42 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | 42 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | ||
43 | </property> | 43 | </property> | ||
44 | </widget> | 44 | </widget> | ||
45 | </item> | 45 | </item> | ||
46 | <item row="1" column="3"> | 46 | <item row="1" column="3"> | ||
47 | <widget class="QComboBox" name="heightUnit"/> | 47 | <widget class="QComboBox" name="heightUnit"/> | ||
48 | </item> | 48 | </item> | ||
49 | <item row="0" column="4" rowspan="2"> | 49 | <item row="0" column="4" rowspan="2"> | ||
50 | <widget class="KoAspectButton" name="aspectRatioBtn"/> | 50 | <widget class="KoAspectButton" name="aspectRatioBtn" native="true"/> | ||
51 | </item> | 51 | </item> | ||
52 | <item row="1" column="2"> | 52 | <item row="1" column="2"> | ||
53 | <widget class="QSpinBox" name="newHeight"> | 53 | <widget class="KisIntParseSpinBox" name="newHeight"> | ||
54 | <property name="minimum"> | 54 | <property name="minimum"> | ||
55 | <number>1</number> | 55 | <number>1</number> | ||
56 | </property> | 56 | </property> | ||
57 | <property name="maximum"> | 57 | <property name="maximum"> | ||
58 | <number>100000</number> | 58 | <number>100000</number> | ||
59 | </property> | 59 | </property> | ||
60 | </widget> | 60 | </widget> | ||
61 | </item> | 61 | </item> | ||
62 | <item row="0" column="1"> | 62 | <item row="0" column="1"> | ||
63 | <widget class="QLabel" name="lblNewWidth"> | 63 | <widget class="QLabel" name="lblNewWidth"> | ||
64 | <property name="text"> | 64 | <property name="text"> | ||
65 | <string>Width:</string> | 65 | <string>Width:</string> | ||
66 | </property> | 66 | </property> | ||
67 | <property name="alignment"> | 67 | <property name="alignment"> | ||
68 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | 68 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | ||
69 | </property> | 69 | </property> | ||
70 | </widget> | 70 | </widget> | ||
71 | </item> | 71 | </item> | ||
72 | <item row="0" column="2"> | 72 | <item row="0" column="2"> | ||
73 | <widget class="QDoubleSpinBox" name="newWidthDouble"> | 73 | <widget class="KisDoubleParseSpinBox" name="newWidthDouble"> | ||
74 | <property name="decimals"> | 74 | <property name="decimals"> | ||
75 | <number>4</number> | 75 | <number>4</number> | ||
76 | </property> | 76 | </property> | ||
77 | <property name="minimum"> | 77 | <property name="minimum"> | ||
78 | <double>0.000100000000000</double> | 78 | <double>0.000100000000000</double> | ||
79 | </property> | 79 | </property> | ||
80 | <property name="maximum"> | 80 | <property name="maximum"> | ||
81 | <double>10000.000000000000000</double> | 81 | <double>10000.000000000000000</double> | ||
82 | </property> | 82 | </property> | ||
83 | <property name="singleStep"> | 83 | <property name="singleStep"> | ||
84 | <double>0.100000000000000</double> | 84 | <double>0.100000000000000</double> | ||
85 | </property> | 85 | </property> | ||
86 | </widget> | 86 | </widget> | ||
87 | </item> | 87 | </item> | ||
88 | <item row="1" column="2"> | 88 | <item row="1" column="2"> | ||
89 | <widget class="QDoubleSpinBox" name="newHeightDouble"> | 89 | <widget class="KisDoubleParseSpinBox" name="newHeightDouble"> | ||
90 | <property name="decimals"> | 90 | <property name="decimals"> | ||
91 | <number>4</number> | 91 | <number>4</number> | ||
92 | </property> | 92 | </property> | ||
93 | <property name="minimum"> | 93 | <property name="minimum"> | ||
94 | <double>0.000100000000000</double> | 94 | <double>0.000100000000000</double> | ||
95 | </property> | 95 | </property> | ||
96 | <property name="maximum"> | 96 | <property name="maximum"> | ||
97 | <double>10000.000000000000000</double> | 97 | <double>10000.000000000000000</double> | ||
▲ Show 20 Lines • Show All 101 Lines • ▼ Show 20 Line(s) | 197 | <widget class="QLabel" name="lblXOff"> | |||
199 | <string>X:</string> | 199 | <string>X:</string> | ||
200 | </property> | 200 | </property> | ||
201 | <property name="alignment"> | 201 | <property name="alignment"> | ||
202 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | 202 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | ||
203 | </property> | 203 | </property> | ||
204 | </widget> | 204 | </widget> | ||
205 | </item> | 205 | </item> | ||
206 | <item row="0" column="2"> | 206 | <item row="0" column="2"> | ||
207 | <widget class="QSpinBox" name="xOffset"> | 207 | <widget class="KisIntParseSpinBox" name="xOffset"> | ||
208 | <property name="minimum"> | 208 | <property name="minimum"> | ||
209 | <number>-100000</number> | 209 | <number>-100000</number> | ||
210 | </property> | 210 | </property> | ||
211 | <property name="maximum"> | 211 | <property name="maximum"> | ||
212 | <number>100000</number> | 212 | <number>100000</number> | ||
213 | </property> | 213 | </property> | ||
214 | </widget> | 214 | </widget> | ||
215 | </item> | 215 | </item> | ||
216 | <item row="0" column="2"> | 216 | <item row="0" column="2"> | ||
217 | <widget class="QDoubleSpinBox" name="xOffsetDouble"> | 217 | <widget class="KisDoubleParseSpinBox" name="xOffsetDouble"> | ||
218 | <property name="decimals"> | 218 | <property name="decimals"> | ||
219 | <number>4</number> | 219 | <number>4</number> | ||
220 | </property> | 220 | </property> | ||
221 | <property name="minimum"> | 221 | <property name="minimum"> | ||
222 | <double>-10000.000000000000000</double> | 222 | <double>-10000.000000000000000</double> | ||
223 | </property> | 223 | </property> | ||
224 | <property name="maximum"> | 224 | <property name="maximum"> | ||
225 | <double>10000.000000000000000</double> | 225 | <double>10000.000000000000000</double> | ||
Show All 35 Lines | 259 | <widget class="QLabel" name="lblYOff"> | |||
261 | <string>Y:</string> | 261 | <string>Y:</string> | ||
262 | </property> | 262 | </property> | ||
263 | <property name="alignment"> | 263 | <property name="alignment"> | ||
264 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | 264 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | ||
265 | </property> | 265 | </property> | ||
266 | </widget> | 266 | </widget> | ||
267 | </item> | 267 | </item> | ||
268 | <item row="1" column="2"> | 268 | <item row="1" column="2"> | ||
269 | <widget class="QSpinBox" name="yOffset"> | 269 | <widget class="KisIntParseSpinBox" name="yOffset"> | ||
270 | <property name="minimum"> | 270 | <property name="minimum"> | ||
271 | <number>-100000</number> | 271 | <number>-100000</number> | ||
272 | </property> | 272 | </property> | ||
273 | <property name="maximum"> | 273 | <property name="maximum"> | ||
274 | <number>100000</number> | 274 | <number>100000</number> | ||
275 | </property> | 275 | </property> | ||
276 | </widget> | 276 | </widget> | ||
277 | </item> | 277 | </item> | ||
278 | <item row="1" column="2"> | 278 | <item row="1" column="2"> | ||
279 | <widget class="QDoubleSpinBox" name="yOffsetDouble"> | 279 | <widget class="KisDoubleParseSpinBox" name="yOffsetDouble"> | ||
280 | <property name="decimals"> | 280 | <property name="decimals"> | ||
281 | <number>4</number> | 281 | <number>4</number> | ||
282 | </property> | 282 | </property> | ||
283 | <property name="minimum"> | 283 | <property name="minimum"> | ||
284 | <double>-10000.000000000000000</double> | 284 | <double>-10000.000000000000000</double> | ||
285 | </property> | 285 | </property> | ||
286 | <property name="maximum"> | 286 | <property name="maximum"> | ||
287 | <double>10000.000000000000000</double> | 287 | <double>10000.000000000000000</double> | ||
Show All 38 Lines | 301 | <widget class="QFrame" name="previewCanvas"> | |||
326 | </property> | 326 | </property> | ||
327 | <property name="rightMargin"> | 327 | <property name="rightMargin"> | ||
328 | <number>2</number> | 328 | <number>2</number> | ||
329 | </property> | 329 | </property> | ||
330 | <property name="bottomMargin"> | 330 | <property name="bottomMargin"> | ||
331 | <number>2</number> | 331 | <number>2</number> | ||
332 | </property> | 332 | </property> | ||
333 | <item> | 333 | <item> | ||
334 | <widget class="KCanvasPreview" name="canvasPreview"/> | 334 | <widget class="KCanvasPreview" name="canvasPreview" native="true"/> | ||
335 | </item> | 335 | </item> | ||
336 | </layout> | 336 | </layout> | ||
337 | </widget> | 337 | </widget> | ||
338 | </item> | 338 | </item> | ||
339 | <item row="3" column="2"> | 339 | <item row="3" column="2"> | ||
340 | <layout class="QHBoxLayout" name="horizontalLayout"> | 340 | <layout class="QHBoxLayout" name="horizontalLayout"> | ||
341 | <item> | 341 | <item> | ||
342 | <layout class="QGridLayout" name="gridLayout_3"> | 342 | <layout class="QGridLayout" name="gridLayout_3"> | ||
▲ Show 20 Lines • Show All 304 Lines • ▼ Show 20 Line(s) | 642 | <customwidgets> | |||
647 | <container>1</container> | 647 | <container>1</container> | ||
648 | </customwidget> | 648 | </customwidget> | ||
649 | <customwidget> | 649 | <customwidget> | ||
650 | <class>KCanvasPreview</class> | 650 | <class>KCanvasPreview</class> | ||
651 | <extends>QWidget</extends> | 651 | <extends>QWidget</extends> | ||
652 | <header>kcanvaspreview.h</header> | 652 | <header>kcanvaspreview.h</header> | ||
653 | <container>1</container> | 653 | <container>1</container> | ||
654 | </customwidget> | 654 | </customwidget> | ||
655 | <customwidget> | ||||
656 | <class>KisDoubleParseSpinBox</class> | ||||
657 | <extends>QDoubleSpinBox</extends> | ||||
658 | <header>kis_double_parse_spin_box.h</header> | ||||
659 | </customwidget> | ||||
660 | <customwidget> | ||||
661 | <class>KisIntParseSpinBox</class> | ||||
662 | <extends>QSpinBox</extends> | ||||
663 | <header>kis_int_parse_spin_box.h</header> | ||||
664 | </customwidget> | ||||
655 | </customwidgets> | 665 | </customwidgets> | ||
656 | <tabstops> | 666 | <tabstops> | ||
657 | <tabstop>newWidth</tabstop> | 667 | <tabstop>newWidth</tabstop> | ||
658 | <tabstop>newWidthDouble</tabstop> | 668 | <tabstop>newWidthDouble</tabstop> | ||
659 | <tabstop>widthUnit</tabstop> | 669 | <tabstop>widthUnit</tabstop> | ||
660 | <tabstop>newHeight</tabstop> | 670 | <tabstop>newHeight</tabstop> | ||
661 | <tabstop>newHeightDouble</tabstop> | 671 | <tabstop>newHeightDouble</tabstop> | ||
662 | <tabstop>heightUnit</tabstop> | 672 | <tabstop>heightUnit</tabstop> | ||
Show All 20 Lines |