wdgnewimage.ui 17.9 KB
Newer Older
Halla Rempt's avatar
Halla Rempt committed
1
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2
<class>WdgNewImage</class>
3 4
<widget class="QWidget">
    <property name="name">
5
        <cstring>WdgNewImage</cstring>
6 7 8 9 10
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
11
            <width>572</width>
12
            <height>595</height>
13 14 15 16 17
        </rect>
    </property>
    <property name="caption">
        <string>New Image</string>
    </property>
18
    <vbox>
19 20 21
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
Thomas Zander's avatar
Thomas Zander committed
22 23 24
        <property name="margin">
            <number>0</number>
        </property>
25
        <widget class="QLabel">
26 27 28 29 30 31 32 33 34 35
            <property name="name">
                <cstring>lblName</cstring>
            </property>
            <property name="text">
                <string>&amp;Name:</string>
            </property>
            <property name="buddy" stdset="0">
                <cstring>txtName</cstring>
            </property>
        </widget>
36
        <widget class="QLineEdit">
37 38 39 40 41 42 43
            <property name="name">
                <cstring>txtName</cstring>
            </property>
            <property name="text">
                <string>untitled-1</string>
            </property>
        </widget>
44
        <widget class="QGroupBox">
45 46 47 48 49 50 51 52 53 54
            <property name="name">
                <cstring>grpImage</cstring>
            </property>
            <property name="title">
                <string>&amp;Image Size</string>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
Thomas Zander's avatar
Thomas Zander committed
55
                <widget class="QLabel" row="1" column="0">
56
                    <property name="name">
Thomas Zander's avatar
Thomas Zander committed
57
                        <cstring>lblHeight</cstring>
58 59
                    </property>
                    <property name="text">
Thomas Zander's avatar
Thomas Zander committed
60
                        <string>&amp;Height:</string>
61 62
                    </property>
                    <property name="buddy" stdset="0">
Thomas Zander's avatar
Thomas Zander committed
63 64 65 66 67 68 69 70 71 72 73 74
                        <cstring>intHeight</cstring>
                    </property>
                </widget>
                <widget class="QLabel" row="0" column="0">
                    <property name="name">
                        <cstring>lblWidth</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;Width:</string>
                    </property>
                    <property name="buddy" stdset="0">
                        <cstring>intWidth</cstring>
75 76
                    </property>
                </widget>
77
                <widget class="KIntNumInput" row="0" column="1">
78
                    <property name="name">
79
                        <cstring>intWidth</cstring>
80
                    </property>
81 82
                    <property name="value">
                        <number>1600</number>
83
                    </property>
84 85
                    <property name="minValue">
                        <number>0</number>
86
                    </property>
87 88
                    <property name="maxValue">
                        <number>10000</number>
89 90
                    </property>
                </widget>
91
                <widget class="KIntNumInput" row="1" column="1">
92
                    <property name="name">
93
                        <cstring>intHeight</cstring>
94 95
                    </property>
                    <property name="value">
96
                        <number>1200</number>
97 98
                    </property>
                    <property name="minValue">
99
                        <number>0</number>
100 101
                    </property>
                    <property name="maxValue">
102
                        <number>10000</number>
103 104
                    </property>
                </widget>
Thomas Zander's avatar
Thomas Zander committed
105
                <widget class="QLabel" row="0" column="2">
106
                    <property name="name">
Thomas Zander's avatar
Thomas Zander committed
107 108 109 110 111 112
                        <cstring>lblResolution</cstring>
                    </property>
                    <property name="text">
                        <string>&amp;Resolution:</string>
                    </property>
                    <property name="buddy" stdset="0">
113
                        <cstring>doubleResolution</cstring>
114
                    </property>
Thomas Zander's avatar
Thomas Zander committed
115 116 117 118 119 120 121 122
                </widget>
                <widget class="KDoubleSpinBox" row="0" column="3">
                    <property name="name">
                        <cstring>doubleResolution</cstring>
                    </property>
                    <property name="suffix">
                        <string> dpi</string>
                    </property>
123 124
                    <property name="maxValue">
                        <number>500</number>
125 126
                    </property>
                    <property name="minValue">
127
                        <number>1</number>
128
                    </property>
129 130 131 132 133
                    <property name="lineStep">
                        <number>10</number>
                    </property>
                    <property name="value">
                        <number>100</number>
134 135
                    </property>
                </widget>
Thomas Zander's avatar
Thomas Zander committed
136
                <spacer row="0" column="4" rowspan="2" colspan="1">
137
                    <property name="name">
Thomas Zander's avatar
Thomas Zander committed
138
                        <cstring>spacer1</cstring>
139
                    </property>
Thomas Zander's avatar
Thomas Zander committed
140 141
                    <property name="orientation">
                        <enum>Horizontal</enum>
142
                    </property>
Thomas Zander's avatar
Thomas Zander committed
143 144
                    <property name="sizeType">
                        <enum>Expanding</enum>
145
                    </property>
Thomas Zander's avatar
Thomas Zander committed
146 147 148 149 150
                    <property name="sizeHint">
                        <size>
                            <width>131</width>
                            <height>61</height>
                        </size>
151
                    </property>
Thomas Zander's avatar
Thomas Zander committed
152
                </spacer>
153 154
            </grid>
        </widget>
155
        <widget class="QGroupBox">
156 157 158 159 160 161 162 163 164 165
            <property name="name">
                <cstring>grpMode</cstring>
            </property>
            <property name="title">
                <string>Mode</string>
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
166
                <widget class="QLabel" row="0" column="0">
167
                    <property name="name">
168
                        <cstring>lblColorSpaces</cstring>
169 170
                    </property>
                    <property name="text">
171
                        <string>Color space:</string>
172 173
                    </property>
                    <property name="buddy" stdset="0">
174
                        <cstring>cmbColorSpaces</cstring>
175 176
                    </property>
                </widget>
177
                <widget class="KisCmbIDList" row="0" column="1">
178
                    <property name="name">
179
                        <cstring>cmbColorSpaces</cstring>
180 181
                    </property>
                </widget>
182 183 184 185 186 187
                <widget class="QComboBox" row="1" column="1">
                    <item>
                        <property name="text">
                            <string>None</string>
                        </property>
                    </item>
188 189 190 191
                    <property name="name">
                        <cstring>cmbProfile</cstring>
                    </property>
                </widget>
192
                <widget class="QLabel" row="1" column="0">
193
                    <property name="name">
194
                        <cstring>lblProfiles</cstring>
195 196
                    </property>
                    <property name="text">
197
                        <string>Profile:</string>
198 199 200 201 202 203 204
                    </property>
                    <property name="buddy" stdset="0">
                        <cstring>cmbProfile</cstring>
                    </property>
                </widget>
            </grid>
        </widget>
205
        <widget class="QGroupBox">
206 207 208 209
            <property name="name">
                <cstring>grpContents</cstring>
            </property>
            <property name="title">
210
                <string>Contents</string>
211 212 213 214 215
            </property>
            <grid>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
216
                <widget class="QTextEdit" row="2" column="1">
217 218 219 220
                    <property name="name">
                        <cstring>txtDescription</cstring>
                    </property>
                </widget>
221 222
                <widget class="QLabel" row="0" column="0">
                    <property name="name">
223
                        <cstring>lblColor</cstring>
224 225 226 227
                    </property>
                    <property name="text">
                        <string>Canvas color:</string>
                    </property>
228 229 230
                    <property name="buddy" stdset="0">
                        <cstring>cmbColor</cstring>
                    </property>
231 232 233 234 235 236 237
                </widget>
                <widget class="KColorCombo" row="0" column="1">
                    <property name="name">
                        <cstring>cmbColor</cstring>
                    </property>
                </widget>
                <widget class="QLabel" row="2" column="0">
238
                    <property name="name">
239
                        <cstring>lblDescription</cstring>
240 241 242 243
                    </property>
                    <property name="text">
                        <string>Description:</string>
                    </property>
244 245 246
                    <property name="alignment">
                        <set>AlignTop</set>
                    </property>
247 248
                    <property name="buddy" stdset="0">
                        <cstring>txtDescription</cstring>
249 250
                    </property>
                </widget>
251
                <widget class="QLabel" row="1" column="0">
252
                    <property name="name">
253 254 255 256
                        <cstring>lblOpacity</cstring>
                    </property>
                    <property name="text">
                        <string>Opacity:</string>
257
                    </property>
258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324
                    <property name="buddy" stdset="0">
                        <cstring>sliderOpacity</cstring>
                    </property>
                </widget>
                <widget class="QFrame" row="1" column="1">
                    <property name="name">
                        <cstring>opacityPanel</cstring>
                    </property>
                    <property name="frameShape">
                        <enum>NoFrame</enum>
                    </property>
                    <property name="frameShadow">
                        <enum>Plain</enum>
                    </property>
                    <hbox>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <property name="margin">
                            <number>0</number>
                        </property>
                        <widget class="QLabel">
                            <property name="name">
                                <cstring>textLabel1</cstring>
                            </property>
                            <property name="text">
                                <string>Transparent</string>
                            </property>
                        </widget>
                        <widget class="QSlider">
                            <property name="name">
                                <cstring>sliderOpacity</cstring>
                            </property>
                            <property name="maxValue">
                                <number>100</number>
                            </property>
                            <property name="pageStep">
                                <number>10</number>
                            </property>
                            <property name="value">
                                <number>100</number>
                            </property>
                            <property name="orientation">
                                <enum>Horizontal</enum>
                            </property>
                            <property name="tickmarks">
                                <enum>Below</enum>
                            </property>
                            <property name="tickInterval">
                                <number>20</number>
                            </property>
                            <property name="toolTip" stdset="0">
                                <string>Opacity of the background color.</string>
                            </property>
                            <property name="whatsThis" stdset="0">
                                <string>Opacity of the background color.</string>
                            </property>
                        </widget>
                        <widget class="QLabel">
                            <property name="name">
                                <cstring>textLabel2</cstring>
                            </property>
                            <property name="text">
                                <string>Opaque</string>
                            </property>
                        </widget>
                    </hbox>
325 326 327
                </widget>
            </grid>
        </widget>
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375
        <widget class="QLayoutWidget">
            <property name="name">
                <cstring>layout1</cstring>
            </property>
            <hbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <spacer>
                    <property name="name">
                        <cstring>spacer2</cstring>
                    </property>
                    <property name="orientation">
                        <enum>Horizontal</enum>
                    </property>
                    <property name="sizeType">
                        <enum>Expanding</enum>
                    </property>
                    <property name="sizeHint">
                        <size>
                            <width>480</width>
                            <height>21</height>
                        </size>
                    </property>
                </spacer>
                <widget class="QPushButton">
                    <property name="name">
                        <cstring>m_createButton</cstring>
                    </property>
                    <property name="text">
                        <string>Create</string>
                    </property>
                </widget>
            </hbox>
        </widget>
        <spacer>
            <property name="name">
                <cstring>spacer3</cstring>
            </property>
            <property name="orientation">
                <enum>Vertical</enum>
            </property>
            <property name="sizeType">
                <enum>Expanding</enum>
            </property>
            <property name="sizeHint">
                <size>
                    <width>21</width>
376
                    <height>0</height>
377 378 379 380
                </size>
            </property>
        </spacer>
    </vbox>
381 382
</widget>
<customwidgets>
383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398
    <customwidget>
        <class>KisCmbIDList</class>
        <header location="local">kis_cmb_idlist.h</header>
        <sizehint>
            <width>1</width>
            <height>24</height>
        </sizehint>
        <container>0</container>
        <sizepolicy>
            <hordata>5</hordata>
            <verdata>5</verdata>
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
        </sizepolicy>
        <pixmap>image0</pixmap>
    </customwidget>
399
</customwidgets>
400 401
<images>
    <image name="image0">
402
        <data format="PNG" length="870">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000032d49444154388db59531681c4714863f892dde8004b320c32e3870020b74458a6b0f5458e581c016a809a8496b42208454098604d2c4904a6954a410511ae752085b858c1208dc35221244b00119f60ac12ee860062c980719708a95a248f129459cd7cceeccf0edb76fff61a706830197d5ed765ff3166a30184c4d5d829fed3c7bdd5e6ce3bda71a5738ef301802e1d6d179477152303c1842bc822797a64fbf7b4a9a43be00ada817cb0e12011c2611205ccd73755f9c087c6b19bef0d7c100f5b8267d07caf10fe8ab9210156320fc01be16aa5a11043307f30b20a21041019985f48ef2f7fa0becc68e80475fd584e831b396f210f67795c3831a4940a3228925bb27f4d652ba4b01a199b73342f3981be0ca57745042ac30c632d853b6373d44b056c8ef0922508d94d14be59b2f4aeaf58cd5751069e06f3436890114332b9487d0bf80f61e64dc5f813c3790045453f67703fd4d4f7f6b4496b5597e689044af194f5f5e841800210478bee3d1a8f41e64acbe0f69ae6852e1cf0ccf7f74f4d652defbc042226c6f55e8f89f91bb6e9c387c9d521c9558db988a3416fe3c67e32b4779ec7167f0e8939ce19ea7fc5d298a80c875f03563930855ed2081bc05e91d5014ef53363eaf288e3d6285ee520a338e76c7a251a94e41e30470d3631004a262672e3eca59cec6978ef2b889979d11f2bb904af3be92081a416e28dfe831983920b1142345d5b0ff2234a6334276d7321ad53c795c511ca654a5a251996f19b83d158ef602b45a423d52f67703abeb29ee4ce9de4fc93378f218462f6b3efdb042cf3d59666977a0aa6fe9310888d25b13342afd4dcffeaee3d147399da540ab13f8f8b39c2cb3f8710d11ba2b96f9c57fcd7180287497a03ecde86f8dd8fe1a867b9ef6bb1612a84a871f6bd35b94e217a53832589970f2dcd85d9c7d4580d57521cbdaf4bfaf288e95e268d4ec8e60e72ccb0f2dbffea454e71e8d29f57882717152509482a48d8924b0bc12e82ee51445a03a6da079cbd0eec0fc22142b06620e89a3fc8d3783870743d814d2bc8994aa6ff286472e764902e5a96f72bbd3b4c37b280e95aa9e604c84e1cf978b37c74935797d7ae2ca7fac6968fe51ff0bf86dc30783c1d49f0baa9bb819e612310000000049454e44ae426082</data>
403 404
    </image>
</images>
405 406
<tabstops>
    <tabstop>txtName</tabstop>
407 408 409 410 411 412 413 414
    <tabstop>intWidth</tabstop>
    <tabstop>intHeight</tabstop>
    <tabstop>doubleResolution</tabstop>
    <tabstop>cmbColorSpaces</tabstop>
    <tabstop>cmbProfile</tabstop>
    <tabstop>cmbColor</tabstop>
    <tabstop>sliderOpacity</tabstop>
    <tabstop>txtDescription</tabstop>
415 416 417
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
Thomas Zander's avatar
Thomas Zander committed
418
    <includehint>knuminput.h</includehint>
419 420 421 422
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
    <includehint>knuminput.h</includehint>
423
    <includehint>kiscmbidlist.h</includehint>
424 425 426
    <includehint>kcolorcombo.h</includehint>
</includehints>
</UI>