FreeCAD

Форк
0
/
mrichtextedit.ui 
642 строки · 18.7 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>MRichTextEdit</class>
4
 <widget class="QWidget" name="MRichTextEdit">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>879</width>
10
    <height>312</height>
11
   </rect>
12
  </property>
13
  <property name="windowTitle">
14
   <string notr="true"/>
15
  </property>
16
  <layout class="QVBoxLayout" name="verticalLayout">
17
   <property name="spacing">
18
    <number>1</number>
19
   </property>
20
   <property name="margin">
21
    <number>1</number>
22
   </property>
23
   <item>
24
    <widget class="QWidget" name="f_toolbar">
25
     <layout class="QHBoxLayout" name="horizontalLayout">
26
      <property name="spacing">
27
       <number>2</number>
28
      </property>
29
      <property name="margin">
30
       <number>0</number>
31
      </property>
32
      <item>
33
       <widget class="QToolButton" name="f_save">
34
        <property name="toolTip">
35
         <string>Save changes</string>
36
        </property>
37
        <property name="text">
38
         <string/>
39
        </property>
40
        <property name="icon">
41
         <iconset resource="Resources/TechDraw.qrc">
42
          <normaloff>:/icons/MRTE/document-save.svg</normaloff>:/icons/MRTE/document-save.svg</iconset>
43
        </property>
44
       </widget>
45
      </item>
46
      <item>
47
       <widget class="QToolButton" name="f_exit">
48
        <property name="toolTip">
49
         <string>Close editor</string>
50
        </property>
51
        <property name="text">
52
         <string/>
53
        </property>
54
        <property name="icon">
55
         <iconset resource="Resources/TechDraw.qrc">
56
          <normaloff>:/icons/MRTE/application-exit.svg</normaloff>:/icons/MRTE/application-exit.svg</iconset>
57
        </property>
58
       </widget>
59
      </item>
60
      <item>
61
       <widget class="Line" name="line_7">
62
        <property name="orientation">
63
         <enum>Qt::Vertical</enum>
64
        </property>
65
       </widget>
66
      </item>
67
      <item>
68
       <widget class="QComboBox" name="f_paragraph">
69
        <property name="focusPolicy">
70
         <enum>Qt::ClickFocus</enum>
71
        </property>
72
        <property name="toolTip">
73
         <string>Paragraph formatting</string>
74
        </property>
75
        <property name="editable">
76
         <bool>true</bool>
77
        </property>
78
       </widget>
79
      </item>
80
      <item>
81
       <widget class="Line" name="line_4">
82
        <property name="orientation">
83
         <enum>Qt::Vertical</enum>
84
        </property>
85
       </widget>
86
      </item>
87
      <item>
88
       <widget class="QToolButton" name="f_undo">
89
        <property name="enabled">
90
         <bool>false</bool>
91
        </property>
92
        <property name="focusPolicy">
93
         <enum>Qt::ClickFocus</enum>
94
        </property>
95
        <property name="toolTip">
96
         <string>Undo (CTRL+Z)</string>
97
        </property>
98
        <property name="text">
99
         <string>Undo</string>
100
        </property>
101
        <property name="icon">
102
         <iconset resource="Resources/TechDraw.qrc">
103
          <normaloff>:/icons/MRTE/edit-undo.svg</normaloff>:/icons/MRTE/edit-undo.svg</iconset>
104
        </property>
105
        <property name="iconSize">
106
         <size>
107
          <width>16</width>
108
          <height>16</height>
109
         </size>
110
        </property>
111
       </widget>
112
      </item>
113
      <item>
114
       <widget class="QToolButton" name="f_redo">
115
        <property name="enabled">
116
         <bool>false</bool>
117
        </property>
118
        <property name="focusPolicy">
119
         <enum>Qt::ClickFocus</enum>
120
        </property>
121
        <property name="toolTip">
122
         <string>Redo</string>
123
        </property>
124
        <property name="text">
125
         <string>Redo</string>
126
        </property>
127
        <property name="icon">
128
         <iconset resource="Resources/TechDraw.qrc">
129
          <normaloff>:/icons/MRTE/edit-redo.svg</normaloff>:/icons/MRTE/edit-redo.svg</iconset>
130
        </property>
131
        <property name="iconSize">
132
         <size>
133
          <width>16</width>
134
          <height>16</height>
135
         </size>
136
        </property>
137
       </widget>
138
      </item>
139
      <item>
140
       <widget class="QToolButton" name="f_cut">
141
        <property name="focusPolicy">
142
         <enum>Qt::ClickFocus</enum>
143
        </property>
144
        <property name="toolTip">
145
         <string>Cut (CTRL+X)</string>
146
        </property>
147
        <property name="text">
148
         <string>Cut</string>
149
        </property>
150
        <property name="icon">
151
         <iconset resource="Resources/TechDraw.qrc">
152
          <normaloff>:/icons/MRTE/edit-cut.svg</normaloff>:/icons/MRTE/edit-cut.svg</iconset>
153
        </property>
154
        <property name="iconSize">
155
         <size>
156
          <width>16</width>
157
          <height>16</height>
158
         </size>
159
        </property>
160
       </widget>
161
      </item>
162
      <item>
163
       <widget class="QToolButton" name="f_copy">
164
        <property name="focusPolicy">
165
         <enum>Qt::ClickFocus</enum>
166
        </property>
167
        <property name="toolTip">
168
         <string>Copy (CTRL+C)</string>
169
        </property>
170
        <property name="text">
171
         <string>Copy</string>
172
        </property>
173
        <property name="icon">
174
         <iconset resource="Resources/TechDraw.qrc">
175
          <normaloff>:/icons/MRTE/edit-copy.svg</normaloff>:/icons/MRTE/edit-copy.svg</iconset>
176
        </property>
177
        <property name="iconSize">
178
         <size>
179
          <width>16</width>
180
          <height>16</height>
181
         </size>
182
        </property>
183
       </widget>
184
      </item>
185
      <item>
186
       <widget class="QToolButton" name="f_paste">
187
        <property name="focusPolicy">
188
         <enum>Qt::ClickFocus</enum>
189
        </property>
190
        <property name="toolTip">
191
         <string>Paste (CTRL+V)</string>
192
        </property>
193
        <property name="text">
194
         <string>Paste</string>
195
        </property>
196
        <property name="icon">
197
         <iconset resource="Resources/TechDraw.qrc">
198
          <normaloff>:/icons/MRTE/edit-paste.svg</normaloff>:/icons/MRTE/edit-paste.svg</iconset>
199
        </property>
200
        <property name="iconSize">
201
         <size>
202
          <width>16</width>
203
          <height>16</height>
204
         </size>
205
        </property>
206
       </widget>
207
      </item>
208
      <item>
209
       <widget class="Line" name="line">
210
        <property name="orientation">
211
         <enum>Qt::Vertical</enum>
212
        </property>
213
       </widget>
214
      </item>
215
      <item>
216
       <widget class="QToolButton" name="f_link">
217
        <property name="focusPolicy">
218
         <enum>Qt::ClickFocus</enum>
219
        </property>
220
        <property name="toolTip">
221
         <string>Link (CTRL+L)</string>
222
        </property>
223
        <property name="text">
224
         <string>Link</string>
225
        </property>
226
        <property name="icon">
227
         <iconset resource="Resources/TechDraw.qrc">
228
          <normaloff>:/icons/MRTE/internet-web-browser.svg</normaloff>:/icons/MRTE/internet-web-browser.svg</iconset>
229
        </property>
230
        <property name="iconSize">
231
         <size>
232
          <width>16</width>
233
          <height>16</height>
234
         </size>
235
        </property>
236
        <property name="checkable">
237
         <bool>true</bool>
238
        </property>
239
       </widget>
240
      </item>
241
      <item>
242
       <widget class="Line" name="line_3">
243
        <property name="orientation">
244
         <enum>Qt::Vertical</enum>
245
        </property>
246
       </widget>
247
      </item>
248
      <item>
249
       <widget class="QToolButton" name="f_bold">
250
        <property name="focusPolicy">
251
         <enum>Qt::ClickFocus</enum>
252
        </property>
253
        <property name="toolTip">
254
         <string notr="true">Bold (CTRL+B)</string>
255
        </property>
256
        <property name="text">
257
         <string>Bold</string>
258
        </property>
259
        <property name="icon">
260
         <iconset resource="Resources/TechDraw.qrc">
261
          <normaloff>:/icons/MRTE/textBold.svg</normaloff>:/icons/MRTE/textBold.svg</iconset>
262
        </property>
263
        <property name="iconSize">
264
         <size>
265
          <width>16</width>
266
          <height>16</height>
267
         </size>
268
        </property>
269
        <property name="checkable">
270
         <bool>true</bool>
271
        </property>
272
       </widget>
273
      </item>
274
      <item>
275
       <widget class="QToolButton" name="f_italic">
276
        <property name="focusPolicy">
277
         <enum>Qt::ClickFocus</enum>
278
        </property>
279
        <property name="toolTip">
280
         <string>Italic (CTRL+I)</string>
281
        </property>
282
        <property name="text">
283
         <string>Italic</string>
284
        </property>
285
        <property name="icon">
286
         <iconset resource="Resources/TechDraw.qrc">
287
          <normaloff>:/icons/MRTE/textItalic.svg</normaloff>:/icons/MRTE/textItalic.svg</iconset>
288
        </property>
289
        <property name="iconSize">
290
         <size>
291
          <width>16</width>
292
          <height>16</height>
293
         </size>
294
        </property>
295
        <property name="checkable">
296
         <bool>true</bool>
297
        </property>
298
       </widget>
299
      </item>
300
      <item>
301
       <widget class="QToolButton" name="f_underline">
302
        <property name="focusPolicy">
303
         <enum>Qt::ClickFocus</enum>
304
        </property>
305
        <property name="toolTip">
306
         <string>Underline (CTRL+U)</string>
307
        </property>
308
        <property name="text">
309
         <string>Underline</string>
310
        </property>
311
        <property name="icon">
312
         <iconset resource="Resources/TechDraw.qrc">
313
          <normaloff>:/icons/MRTE/textUnderline.svg</normaloff>:/icons/MRTE/textUnderline.svg</iconset>
314
        </property>
315
        <property name="iconSize">
316
         <size>
317
          <width>16</width>
318
          <height>16</height>
319
         </size>
320
        </property>
321
        <property name="checkable">
322
         <bool>true</bool>
323
        </property>
324
       </widget>
325
      </item>
326
      <item>
327
       <widget class="QToolButton" name="f_strikeout">
328
        <property name="toolTip">
329
         <string>Strikethrough</string>
330
        </property>
331
        <property name="text">
332
         <string>Strike Out</string>
333
        </property>
334
        <property name="icon">
335
         <iconset resource="Resources/TechDraw.qrc">
336
          <normaloff>:/icons/MRTE/textStrike.svg</normaloff>:/icons/MRTE/textStrike.svg</iconset>
337
        </property>
338
        <property name="iconSize">
339
         <size>
340
          <width>16</width>
341
          <height>16</height>
342
         </size>
343
        </property>
344
        <property name="checkable">
345
         <bool>true</bool>
346
        </property>
347
       </widget>
348
      </item>
349
      <item>
350
       <widget class="Line" name="line_5">
351
        <property name="orientation">
352
         <enum>Qt::Vertical</enum>
353
        </property>
354
       </widget>
355
      </item>
356
      <item>
357
       <widget class="QToolButton" name="f_list_bullet">
358
        <property name="focusPolicy">
359
         <enum>Qt::ClickFocus</enum>
360
        </property>
361
        <property name="toolTip">
362
         <string>Bullet list (CTRL+-)</string>
363
        </property>
364
        <property name="text">
365
         <string/>
366
        </property>
367
        <property name="icon">
368
         <iconset resource="Resources/TechDraw.qrc">
369
          <normaloff>:/icons/MRTE/listBullet.svg</normaloff>:/icons/MRTE/listBullet.svg</iconset>
370
        </property>
371
        <property name="iconSize">
372
         <size>
373
          <width>16</width>
374
          <height>16</height>
375
         </size>
376
        </property>
377
        <property name="checkable">
378
         <bool>true</bool>
379
        </property>
380
       </widget>
381
      </item>
382
      <item>
383
       <widget class="QToolButton" name="f_list_ordered">
384
        <property name="focusPolicy">
385
         <enum>Qt::ClickFocus</enum>
386
        </property>
387
        <property name="toolTip">
388
         <string>Ordered list (CTRL+=)</string>
389
        </property>
390
        <property name="text">
391
         <string/>
392
        </property>
393
        <property name="icon">
394
         <iconset resource="Resources/TechDraw.qrc">
395
          <normaloff>:/icons/MRTE/listNumber.svg</normaloff>:/icons/MRTE/listNumber.svg</iconset>
396
        </property>
397
        <property name="iconSize">
398
         <size>
399
          <width>16</width>
400
          <height>16</height>
401
         </size>
402
        </property>
403
        <property name="checkable">
404
         <bool>true</bool>
405
        </property>
406
       </widget>
407
      </item>
408
      <item>
409
       <widget class="QToolButton" name="f_indent_dec">
410
        <property name="focusPolicy">
411
         <enum>Qt::ClickFocus</enum>
412
        </property>
413
        <property name="toolTip">
414
         <string>Decrease indentation (CTRL+,)</string>
415
        </property>
416
        <property name="text">
417
         <string>Decrease indentation</string>
418
        </property>
419
        <property name="icon">
420
         <iconset resource="Resources/TechDraw.qrc">
421
          <normaloff>:/icons/MRTE/indentLess.svg</normaloff>:/icons/MRTE/indentLess.svg</iconset>
422
        </property>
423
        <property name="iconSize">
424
         <size>
425
          <width>16</width>
426
          <height>16</height>
427
         </size>
428
        </property>
429
       </widget>
430
      </item>
431
      <item>
432
       <widget class="QToolButton" name="f_indent_inc">
433
        <property name="focusPolicy">
434
         <enum>Qt::ClickFocus</enum>
435
        </property>
436
        <property name="toolTip">
437
         <string>Increase indentation (CTRL+.)</string>
438
        </property>
439
        <property name="text">
440
         <string>Increase indentation</string>
441
        </property>
442
        <property name="icon">
443
         <iconset resource="Resources/TechDraw.qrc">
444
          <normaloff>:/icons/MRTE/indentMore.svg</normaloff>:/icons/MRTE/indentMore.svg</iconset>
445
        </property>
446
        <property name="iconSize">
447
         <size>
448
          <width>16</width>
449
          <height>16</height>
450
         </size>
451
        </property>
452
       </widget>
453
      </item>
454
      <item>
455
       <widget class="Line" name="line_2">
456
        <property name="orientation">
457
         <enum>Qt::Vertical</enum>
458
        </property>
459
       </widget>
460
      </item>
461
      <item>
462
       <widget class="QToolButton" name="f_fgcolor">
463
        <property name="minimumSize">
464
         <size>
465
          <width>0</width>
466
          <height>0</height>
467
         </size>
468
        </property>
469
        <property name="focusPolicy">
470
         <enum>Qt::ClickFocus</enum>
471
        </property>
472
        <property name="toolTip">
473
         <string>Text foreground color</string>
474
        </property>
475
        <property name="text">
476
         <string/>
477
        </property>
478
        <property name="icon">
479
         <iconset resource="Resources/TechDraw.qrc">
480
          <normaloff>:/icons/MRTE/fgColor.svg</normaloff>:/icons/MRTE/fgColor.svg</iconset>
481
        </property>
482
        <property name="iconSize">
483
         <size>
484
          <width>16</width>
485
          <height>16</height>
486
         </size>
487
        </property>
488
       </widget>
489
      </item>
490
      <item>
491
       <widget class="QToolButton" name="f_bgcolor">
492
        <property name="focusPolicy">
493
         <enum>Qt::ClickFocus</enum>
494
        </property>
495
        <property name="toolTip">
496
         <string>Text background color</string>
497
        </property>
498
        <property name="text">
499
         <string>Background</string>
500
        </property>
501
        <property name="icon">
502
         <iconset resource="Resources/TechDraw.qrc">
503
          <normaloff>:/icons/MRTE/bgColor.svg</normaloff>:/icons/MRTE/bgColor.svg</iconset>
504
        </property>
505
        <property name="iconSize">
506
         <size>
507
          <width>16</width>
508
          <height>16</height>
509
         </size>
510
        </property>
511
        <property name="toolButtonStyle">
512
         <enum>Qt::ToolButtonIconOnly</enum>
513
        </property>
514
        <property name="arrowType">
515
         <enum>Qt::NoArrow</enum>
516
        </property>
517
       </widget>
518
      </item>
519
      <item>
520
       <widget class="QComboBox" name="f_fontsize">
521
        <property name="focusPolicy">
522
         <enum>Qt::ClickFocus</enum>
523
        </property>
524
        <property name="toolTip">
525
         <string>Font size</string>
526
        </property>
527
        <property name="editable">
528
         <bool>true</bool>
529
        </property>
530
       </widget>
531
      </item>
532
      <item>
533
       <widget class="Line" name="line_6">
534
        <property name="orientation">
535
         <enum>Qt::Vertical</enum>
536
        </property>
537
       </widget>
538
      </item>
539
      <item>
540
       <widget class="QToolButton" name="f_image">
541
        <property name="text">
542
         <string notr="true"/>
543
        </property>
544
        <property name="icon">
545
         <iconset resource="Resources/TechDraw.qrc">
546
          <normaloff>:/icons/MRTE/insertImage.svg</normaloff>:/icons/MRTE/insertImage.svg</iconset>
547
        </property>
548
       </widget>
549
      </item>
550
      <item>
551
       <spacer name="horizontalSpacer">
552
        <property name="orientation">
553
         <enum>Qt::Horizontal</enum>
554
        </property>
555
        <property name="sizeHint" stdset="0">
556
         <size>
557
          <width>40</width>
558
          <height>20</height>
559
         </size>
560
        </property>
561
       </spacer>
562
      </item>
563
      <item>
564
       <widget class="QToolButton" name="f_menu">
565
        <property name="toolTip">
566
         <string>More functions</string>
567
        </property>
568
        <property name="text">
569
         <string/>
570
        </property>
571
        <property name="icon">
572
         <iconset resource="Resources/TechDraw.qrc">
573
          <normaloff>:/icons/MRTE/menu.svg</normaloff>:/icons/MRTE/menu.svg</iconset>
574
        </property>
575
       </widget>
576
      </item>
577
     </layout>
578
     <zorder>f_paragraph</zorder>
579
     <zorder>line_4</zorder>
580
     <zorder>f_undo</zorder>
581
     <zorder>f_redo</zorder>
582
     <zorder>f_cut</zorder>
583
     <zorder>f_copy</zorder>
584
     <zorder>f_paste</zorder>
585
     <zorder>line</zorder>
586
     <zorder>f_link</zorder>
587
     <zorder>line_3</zorder>
588
     <zorder>f_italic</zorder>
589
     <zorder>f_underline</zorder>
590
     <zorder>line_2</zorder>
591
     <zorder>f_fontsize</zorder>
592
     <zorder>line_5</zorder>
593
     <zorder>f_list_bullet</zorder>
594
     <zorder>f_list_ordered</zorder>
595
     <zorder>f_indent_dec</zorder>
596
     <zorder>f_indent_inc</zorder>
597
     <zorder>f_bold</zorder>
598
     <zorder>f_bgcolor</zorder>
599
     <zorder>f_strikeout</zorder>
600
     <zorder>f_image</zorder>
601
     <zorder>line_6</zorder>
602
     <zorder>f_menu</zorder>
603
     <zorder>f_fgcolor</zorder>
604
     <zorder>f_save</zorder>
605
     <zorder>f_exit</zorder>
606
     <zorder>line_7</zorder>
607
    </widget>
608
   </item>
609
   <item>
610
    <widget class="MTextEdit" name="f_textedit">
611
     <property name="toolTip">
612
      <string>More functions</string>
613
     </property>
614
     <property name="autoFormatting">
615
      <set>QTextEdit::AutoNone</set>
616
     </property>
617
     <property name="tabChangesFocus">
618
      <bool>true</bool>
619
     </property>
620
    </widget>
621
   </item>
622
  </layout>
623
 </widget>
624
 <customwidgets>
625
  <customwidget>
626
   <class>MTextEdit</class>
627
   <extends>QTextEdit</extends>
628
   <header>mtextedit.h</header>
629
  </customwidget>
630
 </customwidgets>
631
 <tabstops>
632
  <tabstop>f_textedit</tabstop>
633
  <tabstop>f_strikeout</tabstop>
634
  <tabstop>f_image</tabstop>
635
  <tabstop>f_menu</tabstop>
636
 </tabstops>
637
 <resources>
638
  <include location="Resources/TechDraw.qrc"/>
639
  <include location="Resources/TechDraw.qrc"/>
640
 </resources>
641
 <connections/>
642
</ui>
643

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

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

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

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