FreeCAD

Форк
0
/
TaskPanel_SetStyle.ui 
524 строки · 15.3 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>Form</class>
4
 <widget class="QWidget" name="Form">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>287</width>
10
    <height>945</height>
11
   </rect>
12
  </property>
13
  <property name="windowTitle">
14
   <string>Style settings</string>
15
  </property>
16
  <layout class="QVBoxLayout" name="verticalLayout">
17
   <item>
18
    <layout class="QHBoxLayout" name="horizontalLayout_2">
19
     <item>
20
      <widget class="QComboBox" name="comboPresets">
21
       <property name="toolTip">
22
        <string>Fill the values below from a stored style preset</string>
23
       </property>
24
       <item>
25
        <property name="text">
26
         <string>Load preset</string>
27
        </property>
28
       </item>
29
      </widget>
30
     </item>
31
     <item>
32
      <widget class="QPushButton" name="saveButton">
33
       <property name="maximumSize">
34
        <size>
35
         <width>32</width>
36
         <height>16777215</height>
37
        </size>
38
       </property>
39
       <property name="toolTip">
40
        <string>Save the current style as a preset...</string>
41
       </property>
42
       <property name="text">
43
        <string/>
44
       </property>
45
       <property name="icon">
46
        <iconset theme="gtk-save">
47
         <normaloff>.</normaloff>.</iconset>
48
       </property>
49
      </widget>
50
     </item>
51
    </layout>
52
   </item>
53
   <item>
54
    <widget class="QGroupBox" name="groupBox">
55
     <property name="title">
56
      <string>Shapes</string>
57
     </property>
58
     <layout class="QGridLayout" name="gridLayout" columnstretch="1,0" columnminimumwidth="0,120">
59
      <property name="sizeConstraint">
60
       <enum>QLayout::SetDefaultConstraint</enum>
61
      </property>
62
      <item row="0" column="0">
63
       <widget class="QLabel" name="label_ShapeColor">
64
        <property name="text">
65
         <string>Shape color</string>
66
        </property>
67
       </widget>
68
      </item>
69
      <item row="0" column="1">
70
       <widget class="Gui::ColorButton" name="ShapeColor">
71
       </widget>
72
      </item>
73
      <item row="1" column="0">
74
       <widget class="QLabel" name="label_Transparency">
75
        <property name="text">
76
         <string>Transparency</string>
77
        </property>
78
       </widget>
79
      </item>
80
      <item row="1" column="1">
81
       <widget class="QSpinBox" name="Transparency">
82
        <property name="suffix">
83
         <string notr="true"> %</string>
84
        </property>
85
        <property name="maximum">
86
         <number>100</number>
87
        </property>
88
       </widget>
89
      </item>
90
      <item row="2" column="0">
91
       <widget class="QLabel" name="label_LineColor">
92
        <property name="text">
93
         <string>Line color</string>
94
        </property>
95
       </widget>
96
      </item>
97
      <item row="2" column="1">
98
       <widget class="Gui::ColorButton" name="LineColor">
99
       </widget>
100
      </item>
101
      <item row="3" column="0">
102
       <widget class="QLabel" name="label_LineWidth">
103
        <property name="text">
104
         <string>Line width</string>
105
        </property>
106
       </widget>
107
      </item>
108
      <item row="3" column="1">
109
       <widget class="QSpinBox" name="LineWidth">
110
        <property name="suffix">
111
         <string> px</string>
112
        </property>
113
       </widget>
114
      </item>
115
      <item row="4" column="0">
116
       <widget class="QLabel" name="label_PointColor">
117
        <property name="text">
118
         <string>Point color</string>
119
        </property>
120
       </widget>
121
      </item>
122
      <item row="4" column="1">
123
       <widget class="Gui::ColorButton" name="PointColor">
124
       </widget>
125
      </item>
126
      <item row="5" column="0">
127
       <widget class="QLabel" name="label_PointSize">
128
        <property name="text">
129
         <string>Point size</string>
130
        </property>
131
       </widget>
132
      </item>
133
      <item row="5" column="1">
134
       <widget class="QSpinBox" name="PointSize">
135
        <property name="suffix">
136
         <string> px</string>
137
        </property>
138
       </widget>
139
      </item>
140
      <item row="6" column="0">
141
       <widget class="QLabel" name="label_DrawStyle">
142
        <property name="text">
143
         <string>Draw style</string>
144
        </property>
145
       </widget>
146
      </item>
147
      <item row="6" column="1">
148
       <widget class="QComboBox" name="DrawStyle">
149
        <item>
150
         <property name="text">
151
          <string>Solid</string>
152
         </property>
153
        </item>
154
        <item>
155
         <property name="text">
156
          <string>Dashed</string>
157
         </property>
158
        </item>
159
        <item>
160
         <property name="text">
161
          <string>Dotted</string>
162
         </property>
163
        </item>
164
        <item>
165
         <property name="text">
166
          <string>DashDot</string>
167
         </property>
168
        </item>
169
       </widget>
170
      </item>
171
      <item row="7" column="0">
172
       <widget class="QLabel" name="label_DisplayMode">
173
        <property name="text">
174
         <string>Display mode</string>
175
        </property>
176
       </widget>
177
      </item>
178
      <item row="7" column="1">
179
       <widget class="QComboBox" name="DisplayMode">
180
        <item>
181
         <property name="text">
182
          <string>Flat Lines</string>
183
         </property>
184
        </item>
185
        <item>
186
         <property name="text">
187
          <string>Shaded</string>
188
         </property>
189
        </item>
190
        <item>
191
         <property name="text">
192
          <string>Wireframe</string>
193
         </property>
194
        </item>
195
        <item>
196
         <property name="text">
197
          <string>Points</string>
198
         </property>
199
        </item>
200
       </widget>
201
      </item>
202
     </layout>
203
    </widget>
204
   </item>
205
   <item>
206
    <widget class="QGroupBox" name="groupBox_2">
207
     <property name="title">
208
      <string>Annotations</string>
209
     </property>
210
     <layout class="QGridLayout" name="gridLayout_2" columnstretch="1,0" columnminimumwidth="0,120">
211
      <item row="0" column="0">
212
       <widget class="QLabel" name="label_TextColor">
213
        <property name="text">
214
         <string>Text color</string>
215
        </property>
216
       </widget>
217
      </item>
218
      <item row="0" column="1">
219
       <widget class="Gui::ColorButton" name="TextColor">
220
        <property name="toolTip">
221
         <string>The color for texts, dimension texts and label texts</string>
222
        </property>
223
       </widget>
224
      </item>
225
      <item row="1" column="0">
226
       <widget class="QLabel" name="label_TextFont">
227
        <property name="text">
228
         <string>Font name</string>
229
        </property>
230
       </widget>
231
      </item>
232
      <item row="1" column="1">
233
       <widget class="QFontComboBox" name="TextFont">
234
        <property name="sizePolicy">
235
         <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
236
          <horstretch>0</horstretch>
237
          <verstretch>0</verstretch>
238
         </sizepolicy>
239
        </property>
240
        <property name="toolTip">
241
         <string>The font for texts, dimensions and labels</string>
242
        </property>
243
       </widget>
244
      </item>
245
      <item row="2" column="0">
246
       <widget class="QLabel" name="label_TextSize">
247
        <property name="text">
248
         <string>Font size</string>
249
        </property>
250
       </widget>
251
      </item>
252
      <item row="2" column="1">
253
       <widget class="Gui::InputField" name="TextSize">
254
        <property name="toolTip">
255
         <string>The height for texts, dimension texts and label texts</string>
256
        </property>
257
        <property name="unit" stdset="0">
258
         <string notr="true"/>
259
        </property>
260
       </widget>
261
      </item>
262
      <item row="3" column="0">
263
       <widget class="QLabel" name="label_LineSpacing">
264
        <property name="text">
265
         <string>Line spacing</string>
266
        </property>
267
       </widget>
268
      </item>
269
      <item row="3" column="1">
270
       <widget class="QDoubleSpinBox" name="LineSpacing">
271
        <property name="toolTip">
272
         <string>The line spacing for multi-line texts and labels (relative to the font size)</string>
273
        </property>
274
       </widget>
275
      </item>
276
      <item row="4" column="0">
277
       <widget class="QLabel" name="label_ScaleMultiplier">
278
        <property name="text">
279
         <string>Scale multiplier</string>
280
        </property>
281
       </widget>
282
      </item>
283
      <item row="4" column="1">
284
       <widget class="QDoubleSpinBox" name="ScaleMultiplier">
285
        <property name="toolTip">
286
         <string>The annotation scale multiplier is the inverse of the scale set in the 
287
Annotation scale widget. If the scale is 1:100 the multiplier is 100.</string>
288
        </property>
289
       </widget>
290
      </item>
291
     </layout>
292
    </widget>
293
   </item>
294
   <item>
295
    <widget class="QGroupBox" name="groupBox_3">
296
     <property name="title">
297
      <string>Dimensions</string>
298
     </property>
299
     <layout class="QGridLayout" name="gridLayout_3" columnstretch="1,0" columnminimumwidth="0,120">
300
      <item row="0" column="0">
301
       <widget class="QLabel" name="label_AnnoLineColor">
302
        <property name="text">
303
         <string>Line and arrow color</string>
304
        </property>
305
       </widget>
306
      </item>
307
      <item row="0" column="1">
308
       <widget class="Gui::ColorButton" name="AnnoLineColor">
309
       </widget>
310
      </item>
311
      <item row="1" column="0">
312
       <widget class="QLabel" name="label_AnnoLineWidth">
313
        <property name="text">
314
         <string>Line width</string>
315
        </property>
316
       </widget>
317
      </item>
318
      <item row="1" column="1">
319
       <widget class="QSpinBox" name="AnnoLineWidth">
320
        <property name="suffix">
321
         <string> px</string>
322
        </property>
323
       </widget>
324
      </item>
325
      <item row="2" column="0">
326
       <widget class="QLabel" name="label_ArrowStyle">
327
        <property name="text">
328
         <string>Arrow type</string>
329
        </property>
330
       </widget>
331
      </item>
332
      <item row="2" column="1">
333
       <widget class="QComboBox" name="ArrowStyle">
334
        <item>
335
         <property name="text">
336
          <string>Dot</string>
337
         </property>
338
        </item>
339
        <item>
340
         <property name="text">
341
          <string>Circle</string>
342
         </property>
343
        </item>
344
        <item>
345
         <property name="text">
346
          <string>Arrow</string>
347
         </property>
348
        </item>
349
        <item>
350
         <property name="text">
351
          <string>Tick</string>
352
         </property>
353
        </item>
354
        <item>
355
         <property name="text">
356
          <string>Tick-2</string>
357
         </property>
358
        </item>
359
       </widget>
360
      </item>
361
      <item row="3" column="0">
362
       <widget class="QLabel" name="label_ArrowSize">
363
        <property name="text">
364
         <string>Arrow size</string>
365
        </property>
366
       </widget>
367
      </item>
368
      <item row="3" column="1">
369
       <widget class="Gui::InputField" name="ArrowSize">
370
        <property name="unit" stdset="0">
371
         <string notr="true"/>
372
        </property>
373
       </widget>
374
      </item>
375
      <item row="4" column="0">
376
       <widget class="QLabel" name="label_ShowUnit">
377
        <property name="text">
378
         <string>Show unit</string>
379
        </property>
380
       </widget>
381
      </item>
382
      <item row="4" column="1">
383
       <widget class="QCheckBox" name="ShowUnit">
384
        <property name="toolTip">
385
         <string>If checked, a unit symbol is added to dimension texts</string>
386
        </property>
387
        <property name="text">
388
         <string/>
389
        </property>
390
       </widget>
391
      </item>
392
      <item row="5" column="0">
393
       <widget class="QLabel" name="label_UnitOverride">
394
        <property name="text">
395
         <string>Unit override</string>
396
        </property>
397
       </widget>
398
      </item>
399
      <item row="5" column="1">
400
       <widget class="QLineEdit" name="UnitOverride">
401
        <property name="toolTip">
402
         <string>The unit override for dimensions. Leave blank to use the current FreeCAD unit.</string>
403
        </property>
404
       </widget>
405
      </item>
406
      <item row="6" column="0">
407
       <widget class="QLabel" name="label_DimOvershoot">
408
        <property name="text">
409
         <string>Dim overshoot</string>
410
        </property>
411
       </widget>
412
      </item>
413
      <item row="6" column="1">
414
       <widget class="Gui::InputField" name="DimOvershoot">
415
        <property name="toolTip">
416
         <string>The distance the dimension line is extended past the extension lines</string>
417
        </property>
418
        <property name="unit" stdset="0">
419
         <string notr="true"/>
420
        </property>
421
       </widget>
422
      </item>
423
      <item row="7" column="0">
424
       <widget class="QLabel" name="label_ExtLines">
425
        <property name="text">
426
         <string>Ext lines</string>
427
        </property>
428
       </widget>
429
      </item>
430
      <item row="7" column="1">
431
       <widget class="Gui::InputField" name="ExtLines">
432
        <property name="toolTip">
433
         <string>The length of extension lines. Use 0 for full extension lines. A negative value
434
defines the gap between the ends of the extension lines and the measured points.
435
A positive value defines the maximum length of the extension lines. Only used
436
for linear dimensions.</string>
437
        </property>
438
        <property name="unit" stdset="0">
439
         <string notr="true"/>
440
        </property>
441
       </widget>
442
      </item>
443
      <item row="8" column="0">
444
       <widget class="QLabel" name="label_ExtOvershoot">
445
        <property name="text">
446
         <string>Ext overshoot</string>
447
        </property>
448
       </widget>
449
      </item>
450
      <item row="8" column="1">
451
       <widget class="Gui::InputField" name="ExtOvershoot">
452
        <property name="toolTip">
453
         <string>The length of extension lines above the dimension line</string>
454
        </property>
455
        <property name="unit" stdset="0">
456
         <string notr="true"/>
457
        </property>
458
       </widget>
459
      </item>
460
      <item row="9" column="0">
461
       <widget class="QLabel" name="label_TextSpacing">
462
        <property name="text">
463
         <string>Text spacing</string>
464
        </property>
465
       </widget>
466
      </item>
467
      <item row="9" column="1">
468
       <widget class="Gui::InputField" name="TextSpacing">
469
        <property name="toolTip">
470
         <string>The space between the dimension line and the dimension text</string>
471
        </property>
472
        <property name="unit" stdset="0">
473
         <string notr="true"/>
474
        </property>
475
       </widget>
476
      </item>
477
     </layout>
478
    </widget>
479
   </item>
480
   <item>
481
    <layout class="QHBoxLayout" name="horizontalLayout">
482
     <item>
483
      <widget class="QPushButton" name="applyButton">
484
       <property name="toolTip">
485
        <string>Apply the above style to selected object(s)</string>
486
       </property>
487
       <property name="text">
488
        <string>Selected</string>
489
       </property>
490
       <property name="icon">
491
        <iconset theme="gtk-apply">
492
         <normaloff>.</normaloff>.</iconset>
493
       </property>
494
      </widget>
495
     </item>
496
     <item>
497
      <widget class="QPushButton" name="annotButton">
498
       <property name="toolTip">
499
        <string>Apply the above style to all annotations (texts, dimensions and labels)</string>
500
       </property>
501
       <property name="text">
502
        <string>Annotations</string>
503
       </property>
504
      </widget>
505
     </item>
506
    </layout>
507
   </item>
508
  </layout>
509
 </widget>
510
 <customwidgets>
511
  <customwidget>
512
   <class>Gui::InputField</class>
513
   <extends>QLineEdit</extends>
514
   <header>Gui/InputField.h</header>
515
  </customwidget>
516
  <customwidget>
517
   <class>Gui::ColorButton</class>
518
   <extends>QPushButton</extends>
519
   <header>Gui/Widgets.h</header>
520
  </customwidget>
521
 </customwidgets>
522
 <resources/>
523
 <connections/>
524
</ui>
525

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.