wdghatchingoptions.ui 12.7 KB
Newer Older
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>WdgHatchingOptions</class>
 <widget class="QWidget" name="WdgHatchingOptions">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>588</width>
    <height>450</height>
11 12 13
   </rect>
  </property>
  <property name="sizePolicy">
14 15
   <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
    <horstretch>0</horstretch>
16 17 18
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
19
  <layout class="QVBoxLayout" name="verticalLayout_2">
20 21 22 23 24 25 26 27 28 29
   <property name="leftMargin">
    <number>0</number>
   </property>
   <property name="topMargin">
    <number>0</number>
   </property>
   <property name="rightMargin">
    <number>0</number>
   </property>
   <property name="bottomMargin">
30
    <number>0</number>
31
   </property>
32
   <item>
33
    <layout class="QGridLayout" name="gridLayout">
34 35 36 37 38 39 40 41 42 43 44 45 46 47
     <item row="0" column="0">
      <widget class="QLabel" name="label_14">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="layoutDirection">
        <enum>Qt::LeftToRight</enum>
       </property>
       <property name="frameShape">
        <enum>QFrame::NoFrame</enum>
       </property>
48
       <property name="text">
49 50 51 52
        <string>Angle:</string>
       </property>
       <property name="scaledContents">
        <bool>false</bool>
53
       </property>
54 55
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
56 57 58
       </property>
      </widget>
     </item>
59
     <item row="0" column="1">
60
      <widget class="KisDoubleSliderSpinBox" name="angleKisDoubleSliderSpinBox" native="true">
61
       <property name="sizePolicy">
62 63 64
        <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
         <horstretch>1</horstretch>
         <verstretch>1</verstretch>
65 66
        </sizepolicy>
       </property>
67 68 69 70 71
       <property name="minimumSize">
        <size>
         <width>0</width>
         <height>20</height>
        </size>
72
       </property>
73 74 75 76 77
       <property name="maximumSize">
        <size>
         <width>16777215</width>
         <height>23</height>
        </size>
78 79 80
       </property>
      </widget>
     </item>
81 82
     <item row="1" column="0">
      <widget class="QLabel" name="label_18">
83 84 85 86 87 88 89
       <property name="sizePolicy">
        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="text">
90
        <string>Separation:</string>
91 92 93 94 95 96
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
     </item>
97
     <item row="1" column="1">
98
      <widget class="KisDoubleSliderSpinBox" name="separationKisDoubleSliderSpinBox" native="true">
99
       <property name="sizePolicy">
100
        <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
         <horstretch>1</horstretch>
         <verstretch>1</verstretch>
        </sizepolicy>
       </property>
       <property name="minimumSize">
        <size>
         <width>0</width>
         <height>20</height>
        </size>
       </property>
       <property name="maximumSize">
        <size>
         <width>16777215</width>
         <height>23</height>
        </size>
116 117 118
       </property>
      </widget>
     </item>
119 120
     <item row="2" column="0">
      <widget class="QLabel" name="label_20">
121
       <property name="sizePolicy">
122 123 124
        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
125 126
        </sizepolicy>
       </property>
127 128
       <property name="text">
        <string>Thickness:</string>
129
       </property>
130 131
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
132 133 134
       </property>
      </widget>
     </item>
135
     <item row="2" column="1">
136
      <widget class="KisDoubleSliderSpinBox" name="thicknessKisDoubleSliderSpinBox" native="true">
137
       <property name="sizePolicy">
138
        <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
139 140
         <horstretch>1</horstretch>
         <verstretch>1</verstretch>
141 142
        </sizepolicy>
       </property>
143 144 145 146 147
       <property name="minimumSize">
        <size>
         <width>0</width>
         <height>20</height>
        </size>
148
       </property>
149 150 151 152 153
       <property name="maximumSize">
        <size>
         <width>16777215</width>
         <height>23</height>
        </size>
154
       </property>
155 156
      </widget>
     </item>
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
     <item row="3" column="0">
      <widget class="QLabel" name="label_22">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="text">
        <string>Origin X:</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
     </item>
173
     <item row="3" column="1">
174
      <widget class="KisDoubleSliderSpinBox" name="originXKisDoubleSliderSpinBox" native="true">
175
       <property name="sizePolicy">
176
        <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
177 178 179
         <horstretch>1</horstretch>
         <verstretch>1</verstretch>
        </sizepolicy>
180
       </property>
181 182 183 184 185
       <property name="minimumSize">
        <size>
         <width>0</width>
         <height>20</height>
        </size>
186
       </property>
187 188 189 190 191
       <property name="maximumSize">
        <size>
         <width>16777215</width>
         <height>23</height>
        </size>
192 193 194
       </property>
      </widget>
     </item>
195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210
     <item row="4" column="0">
      <widget class="QLabel" name="label_24">
       <property name="sizePolicy">
        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="text">
        <string>Origin Y:</string>
       </property>
       <property name="alignment">
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
     </item>
211
     <item row="4" column="1">
212
      <widget class="KisDoubleSliderSpinBox" name="originYKisDoubleSliderSpinBox" native="true">
213
       <property name="sizePolicy">
214
        <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
215 216 217
         <horstretch>1</horstretch>
         <verstretch>1</verstretch>
        </sizepolicy>
218
       </property>
219
       <property name="minimumSize">
220
        <size>
221
         <width>0</width>
222 223 224
         <height>20</height>
        </size>
       </property>
225 226 227 228 229 230 231 232
       <property name="maximumSize">
        <size>
         <width>16777215</width>
         <height>23</height>
        </size>
       </property>
      </widget>
     </item>
233
    </layout>
234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251
   </item>
   <item>
    <widget class="QGroupBox" name="groupBox">
     <property name="minimumSize">
      <size>
       <width>301</width>
       <height>161</height>
      </size>
     </property>
     <property name="title">
      <string>Crosshatching style</string>
     </property>
     <property name="checkable">
      <bool>false</bool>
     </property>
     <property name="checked">
      <bool>false</bool>
     </property>
252
     <layout class="QVBoxLayout" name="verticalLayout">
253
      <item>
254 255 256 257 258 259
       <widget class="QRadioButton" name="noCrosshatchingRadioButton">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
260
        </property>
261
        <property name="minimumSize">
262
         <size>
263 264
          <width>210</width>
          <height>0</height>
265 266
         </size>
        </property>
267
        <property name="text">
268
         <string>No crosshatch&amp;ing</string>
269 270 271 272 273
        </property>
        <property name="checked">
         <bool>true</bool>
        </property>
       </widget>
274 275
      </item>
      <item>
276 277 278 279 280 281
       <widget class="QRadioButton" name="perpendicularRadioButton">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
282
        </property>
283 284 285 286 287
        <property name="minimumSize">
         <size>
          <width>210</width>
          <height>0</height>
         </size>
288
        </property>
289
        <property name="text">
290
         <string>Pe&amp;rpendicular plane only</string>
291
        </property>
292 293
        <property name="checked">
         <bool>false</bool>
294
        </property>
295 296 297 298 299 300 301 302 303
       </widget>
      </item>
      <item>
       <widget class="QRadioButton" name="minusThenPlusRadioButton">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
304
        </property>
305 306 307 308 309 310 311
        <property name="minimumSize">
         <size>
          <width>210</width>
          <height>0</height>
         </size>
        </property>
        <property name="text">
312
         <string>-&amp;45° plane then +45° plane</string>
313 314
        </property>
       </widget>
315 316
      </item>
      <item>
317 318 319 320 321 322
       <widget class="QRadioButton" name="plusThenMinusRadioButton">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
323
        </property>
324
        <property name="minimumSize">
325
         <size>
326 327
          <width>210</width>
          <height>0</height>
328 329
         </size>
        </property>
330
        <property name="text">
331
         <string>+45° plane &amp;then -45° plane</string>
332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349
        </property>
       </widget>
      </item>
      <item>
       <widget class="QRadioButton" name="moirePatternRadioButton">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="minimumSize">
         <size>
          <width>210</width>
          <height>0</height>
         </size>
        </property>
        <property name="text">
350
         <string>&amp;Moiré pattern</string>
351 352
        </property>
       </widget>
353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="groupBox_2">
     <property name="minimumSize">
      <size>
       <width>301</width>
       <height>95</height>
      </size>
     </property>
     <property name="title">
      <string>Separation Style</string>
     </property>
     <property name="checkable">
      <bool>false</bool>
     </property>
     <property name="checked">
      <bool>false</bool>
     </property>
374 375 376 377 378
     <layout class="QFormLayout" name="formLayout">
      <item row="0" column="0">
       <widget class="QLabel" name="label">
        <property name="text">
         <string>Input-based intervals:</string>
379
        </property>
380 381 382
        <property name="alignment">
         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
        </property>
383
       </widget>
384
      </item>
385
      <item row="0" column="1">
386
       <widget class="KisIntParseSpinBox" name="separationIntervalSpinBox">
387 388 389 390 391
        <property name="sizePolicy">
         <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
392
        </property>
393 394
        <property name="accelerated">
         <bool>false</bool>
395
        </property>
396 397
        <property name="keyboardTracking">
         <bool>false</bool>
398
        </property>
399 400 401 402 403
        <property name="minimum">
         <number>2</number>
        </property>
        <property name="maximum">
         <number>7</number>
404
        </property>
405 406 407 408
        <property name="value">
         <number>5</number>
        </property>
       </widget>
409 410 411 412
      </item>
     </layout>
    </widget>
   </item>
413 414 415 416 417 418 419 420 421 422 423 424 425
   <item>
    <spacer name="verticalSpacer">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>0</width>
       <height>0</height>
      </size>
     </property>
    </spacer>
   </item>
426
  </layout>
427 428
 </widget>
 <customwidgets>
429 430 431
  <customwidget>
   <class>KisIntParseSpinBox</class>
   <extends>QSpinBox</extends>
432
   <header>kis_int_parse_spin_box.h</header>
433
  </customwidget>
434 435 436 437 438 439 440 441 442 443
  <customwidget>
   <class>KisDoubleSliderSpinBox</class>
   <extends>QWidget</extends>
   <header>kis_slider_spin_box.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
 <resources/>
 <connections/>
</ui>