Subversion Repositories Scribus

Rev

Rev 17709 | Rev 20280 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
14393 cbradney 1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
12885 fschmid 3
 <class>PolygonWidgetBase</class>
14393 cbradney 4
 <widget class="QWidget" name="PolygonWidgetBase">
5
  <property name="geometry">
12885 fschmid 6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
19363 craig 9
    <width>558</width>
10
    <height>560</height>
12885 fschmid 11
   </rect>
12
  </property>
14393 cbradney 13
  <property name="sizePolicy">
14
   <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
12885 fschmid 15
    <horstretch>0</horstretch>
16
    <verstretch>0</verstretch>
17
   </sizepolicy>
18
  </property>
14393 cbradney 19
  <property name="windowTitle">
12885 fschmid 20
   <string>Form</string>
21
  </property>
19363 craig 22
  <layout class="QGridLayout" name="gridLayout_3">
23
   <item row="0" column="0">
24
    <layout class="QGridLayout" name="gridLayout">
25
     <item row="0" column="0">
26
      <widget class="QLabel" name="label">
27
       <property name="text">
28
        <string>Corn&amp;ers:</string>
29
       </property>
30
       <property name="buddy">
31
        <cstring>cornersSpinBox</cstring>
32
       </property>
33
      </widget>
12885 fschmid 34
     </item>
19363 craig 35
     <item row="0" column="1">
36
      <widget class="ScrSpinBox" name="cornersSpinBox">
14393 cbradney 37
       <property name="toolTip">
19363 craig 38
        <string>Number of corners for polygons</string>
12885 fschmid 39
       </property>
19363 craig 40
       <property name="suffix">
41
        <string notr="true"/>
12885 fschmid 42
       </property>
19363 craig 43
       <property name="minimum">
44
        <number>3</number>
12885 fschmid 45
       </property>
19363 craig 46
       <property name="maximum">
47
        <number>999</number>
48
       </property>
12885 fschmid 49
      </widget>
50
     </item>
19363 craig 51
     <item row="1" column="0">
52
      <widget class="QLabel" name="label_2">
53
       <property name="text">
54
        <string>&amp;Rotation:</string>
55
       </property>
56
       <property name="buddy">
57
        <cstring>rotationSpinBox</cstring>
58
       </property>
59
      </widget>
60
     </item>
61
     <item row="1" column="1">
62
      <widget class="ScrSpinBox" name="rotationSpinBox">
63
       <property name="toolTip">
64
        <string>Degrees of rotation for polygons</string>
65
       </property>
66
       <property name="minimum">
67
        <number>-180</number>
68
       </property>
69
       <property name="maximum">
70
        <number>180</number>
71
       </property>
72
      </widget>
73
     </item>
74
     <item row="2" column="0">
75
      <widget class="QSlider" name="rotationSlider">
76
       <property name="toolTip">
77
        <string>Degrees of rotation for polygons</string>
78
       </property>
79
       <property name="minimum">
80
        <number>-180</number>
81
       </property>
82
       <property name="maximum">
83
        <number>180</number>
84
       </property>
85
       <property name="orientation">
86
        <enum>Qt::Horizontal</enum>
87
       </property>
88
       <property name="tickPosition">
89
        <enum>QSlider::TicksBelow</enum>
90
       </property>
91
      </widget>
92
     </item>
16203 fschmid 93
    </layout>
94
   </item>
19363 craig 95
   <item row="0" column="1" rowspan="2">
16203 fschmid 96
    <layout class="QVBoxLayout" name="verticalLayout_2">
97
     <item>
98
      <widget class="QLabel" name="Preview">
99
       <property name="sizePolicy">
100
        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
101
         <horstretch>0</horstretch>
102
         <verstretch>0</verstretch>
103
        </sizepolicy>
12885 fschmid 104
       </property>
16203 fschmid 105
       <property name="minimumSize">
106
        <size>
107
         <width>280</width>
108
         <height>280</height>
109
        </size>
12885 fschmid 110
       </property>
16203 fschmid 111
       <property name="maximumSize">
112
        <size>
113
         <width>280</width>
114
         <height>280</height>
115
        </size>
12885 fschmid 116
       </property>
16203 fschmid 117
       <property name="sizeIncrement">
118
        <size>
119
         <width>0</width>
120
         <height>0</height>
121
        </size>
12885 fschmid 122
       </property>
14393 cbradney 123
       <property name="toolTip">
16203 fschmid 124
        <string>Sample Polygon</string>
12885 fschmid 125
       </property>
16203 fschmid 126
       <property name="frameShape">
127
        <enum>QFrame::Panel</enum>
12885 fschmid 128
       </property>
16203 fschmid 129
       <property name="frameShadow">
130
        <enum>QFrame::Sunken</enum>
12885 fschmid 131
       </property>
16203 fschmid 132
       <property name="lineWidth">
133
        <number>2</number>
12885 fschmid 134
       </property>
16193 fschmid 135
       <property name="text">
16203 fschmid 136
        <string/>
16193 fschmid 137
       </property>
16203 fschmid 138
       <property name="alignment">
139
        <set>Qt::AlignCenter</set>
16193 fschmid 140
       </property>
141
      </widget>
142
     </item>
16203 fschmid 143
     <item>
144
      <spacer name="verticalSpacer">
16193 fschmid 145
       <property name="orientation">
16203 fschmid 146
        <enum>Qt::Vertical</enum>
16193 fschmid 147
       </property>
16203 fschmid 148
       <property name="sizeHint" stdset="0">
149
        <size>
150
         <width>20</width>
151
         <height>40</height>
152
        </size>
16193 fschmid 153
       </property>
16203 fschmid 154
      </spacer>
16193 fschmid 155
     </item>
12885 fschmid 156
    </layout>
157
   </item>
19363 craig 158
   <item row="1" column="0">
159
    <widget class="QGroupBox" name="applyConvexGroupBox">
160
     <property name="toolTip">
161
      <string>Apply Convex/Concave Factor to change shape of Polygons</string>
162
     </property>
163
     <property name="title">
164
      <string>Apply &amp;Factor</string>
165
     </property>
166
     <property name="checkable">
167
      <bool>true</bool>
168
     </property>
169
     <layout class="QGridLayout" name="gridLayout_2">
170
      <item row="0" column="0">
171
       <widget class="QLabel" name="label_3">
172
        <property name="text">
173
         <string>&amp;Factor:</string>
174
        </property>
175
        <property name="buddy">
176
         <cstring>factorSpinBox</cstring>
177
        </property>
178
       </widget>
179
      </item>
180
      <item row="0" column="1">
181
       <widget class="ScrSpinBox" name="factorSpinBox">
182
        <property name="toolTip">
183
         <string>A negative value will make the polygon concave (or star shaped), a positive value will make it convex</string>
184
        </property>
185
        <property name="suffix">
186
         <string> %</string>
187
        </property>
188
        <property name="minimum">
189
         <number>-100</number>
190
        </property>
191
        <property name="maximum">
192
         <number>100</number>
193
        </property>
194
       </widget>
195
      </item>
196
      <item row="1" column="0">
197
       <widget class="QSlider" name="factorSlider">
198
        <property name="toolTip">
199
         <string>A negative value will make the polygon concave (or star shaped), a positive value will make it convex</string>
200
        </property>
201
        <property name="minimum">
202
         <number>-100</number>
203
        </property>
204
        <property name="maximum">
205
         <number>100</number>
206
        </property>
207
        <property name="orientation">
208
         <enum>Qt::Horizontal</enum>
209
        </property>
210
        <property name="tickPosition">
211
         <enum>QSlider::TicksBelow</enum>
212
        </property>
213
       </widget>
214
      </item>
215
      <item row="2" column="0">
216
       <widget class="QLabel" name="label_4">
217
        <property name="text">
218
         <string>Inner Rotation:</string>
219
        </property>
220
       </widget>
221
      </item>
222
      <item row="2" column="1">
223
       <widget class="ScrSpinBox" name="innerRotationspinBox">
224
        <property name="minimum">
225
         <number>-180</number>
226
        </property>
227
        <property name="maximum">
228
         <number>180</number>
229
        </property>
230
       </widget>
231
      </item>
232
      <item row="3" column="0">
233
       <widget class="QSlider" name="innerRotationSlider">
234
        <property name="minimum">
235
         <number>-180</number>
236
        </property>
237
        <property name="maximum">
238
         <number>180</number>
239
        </property>
240
        <property name="orientation">
241
         <enum>Qt::Horizontal</enum>
242
        </property>
243
        <property name="tickPosition">
244
         <enum>QSlider::TicksBelow</enum>
245
        </property>
246
       </widget>
247
      </item>
248
      <item row="4" column="0">
249
       <widget class="QLabel" name="label_5">
250
        <property name="text">
251
         <string>Inner C&amp;urvature:</string>
252
        </property>
253
        <property name="buddy">
254
         <cstring>curvatureSpinBox</cstring>
255
        </property>
256
       </widget>
257
      </item>
258
      <item row="4" column="1">
259
       <widget class="ScrSpinBox" name="curvatureSpinBox">
260
        <property name="suffix">
261
         <string> %</string>
262
        </property>
263
        <property name="maximum">
264
         <number>100</number>
265
        </property>
266
       </widget>
267
      </item>
268
      <item row="5" column="0">
269
       <widget class="QSlider" name="curvatureSlider">
270
        <property name="maximum">
271
         <number>100</number>
272
        </property>
273
        <property name="orientation">
274
         <enum>Qt::Horizontal</enum>
275
        </property>
276
        <property name="tickPosition">
277
         <enum>QSlider::TicksBelow</enum>
278
        </property>
279
       </widget>
280
      </item>
281
      <item row="6" column="0">
282
       <widget class="QLabel" name="label_6">
283
        <property name="text">
284
         <string>Outer Curvature:</string>
285
        </property>
286
       </widget>
287
      </item>
288
      <item row="6" column="1">
289
       <widget class="ScrSpinBox" name="OuterCurvatureSpinBox">
290
        <property name="suffix">
291
         <string> %</string>
292
        </property>
293
        <property name="maximum">
294
         <number>100</number>
295
        </property>
296
       </widget>
297
      </item>
298
      <item row="7" column="0">
299
       <widget class="QSlider" name="OuterCurvatureSlider">
300
        <property name="maximum">
301
         <number>100</number>
302
        </property>
303
        <property name="orientation">
304
         <enum>Qt::Horizontal</enum>
305
        </property>
306
        <property name="tickPosition">
307
         <enum>QSlider::TicksBelow</enum>
308
        </property>
309
       </widget>
310
      </item>
311
     </layout>
312
     <zorder>label_3</zorder>
313
     <zorder>factorSpinBox</zorder>
314
     <zorder>factorSlider</zorder>
315
     <zorder>label_5</zorder>
316
     <zorder>curvatureSpinBox</zorder>
317
     <zorder>curvatureSlider</zorder>
318
     <zorder>label_6</zorder>
319
     <zorder>OuterCurvatureSpinBox</zorder>
320
     <zorder>OuterCurvatureSlider</zorder>
321
     <zorder>innerRotationSlider</zorder>
322
     <zorder>innerRotationspinBox</zorder>
323
     <zorder>label_4</zorder>
324
    </widget>
325
   </item>
12885 fschmid 326
  </layout>
327
 </widget>
17420 fschmid 328
 <customwidgets>
329
  <customwidget>
330
   <class>ScrSpinBox</class>
331
   <extends>QSpinBox</extends>
332
   <header location="global">ui/scrspinbox.h</header>
333
  </customwidget>
334
 </customwidgets>
12885 fschmid 335
 <resources/>
336
 <connections/>
337
</ui>