1
<?xml version="1.0" encoding="UTF-8"?>
3
<class>MRichTextEdit</class>
4
<widget class="QWidget" name="MRichTextEdit">
5
<property name="geometry">
13
<property name="windowTitle">
16
<layout class="QVBoxLayout" name="verticalLayout">
17
<property name="spacing">
20
<property name="margin">
24
<widget class="QWidget" name="f_toolbar">
25
<layout class="QHBoxLayout" name="horizontalLayout">
26
<property name="spacing">
29
<property name="margin">
33
<widget class="QToolButton" name="f_save">
34
<property name="toolTip">
35
<string>Save changes</string>
37
<property name="text">
40
<property name="icon">
41
<iconset resource="Resources/TechDraw.qrc">
42
<normaloff>:/icons/MRTE/document-save.svg</normaloff>:/icons/MRTE/document-save.svg</iconset>
47
<widget class="QToolButton" name="f_exit">
48
<property name="toolTip">
49
<string>Close editor</string>
51
<property name="text">
54
<property name="icon">
55
<iconset resource="Resources/TechDraw.qrc">
56
<normaloff>:/icons/MRTE/application-exit.svg</normaloff>:/icons/MRTE/application-exit.svg</iconset>
61
<widget class="Line" name="line_7">
62
<property name="orientation">
63
<enum>Qt::Vertical</enum>
68
<widget class="QComboBox" name="f_paragraph">
69
<property name="focusPolicy">
70
<enum>Qt::ClickFocus</enum>
72
<property name="toolTip">
73
<string>Paragraph formatting</string>
75
<property name="editable">
81
<widget class="Line" name="line_4">
82
<property name="orientation">
83
<enum>Qt::Vertical</enum>
88
<widget class="QToolButton" name="f_undo">
89
<property name="enabled">
92
<property name="focusPolicy">
93
<enum>Qt::ClickFocus</enum>
95
<property name="toolTip">
96
<string>Undo (CTRL+Z)</string>
98
<property name="text">
101
<property name="icon">
102
<iconset resource="Resources/TechDraw.qrc">
103
<normaloff>:/icons/MRTE/edit-undo.svg</normaloff>:/icons/MRTE/edit-undo.svg</iconset>
105
<property name="iconSize">
114
<widget class="QToolButton" name="f_redo">
115
<property name="enabled">
118
<property name="focusPolicy">
119
<enum>Qt::ClickFocus</enum>
121
<property name="toolTip">
122
<string>Redo</string>
124
<property name="text">
125
<string>Redo</string>
127
<property name="icon">
128
<iconset resource="Resources/TechDraw.qrc">
129
<normaloff>:/icons/MRTE/edit-redo.svg</normaloff>:/icons/MRTE/edit-redo.svg</iconset>
131
<property name="iconSize">
140
<widget class="QToolButton" name="f_cut">
141
<property name="focusPolicy">
142
<enum>Qt::ClickFocus</enum>
144
<property name="toolTip">
145
<string>Cut (CTRL+X)</string>
147
<property name="text">
150
<property name="icon">
151
<iconset resource="Resources/TechDraw.qrc">
152
<normaloff>:/icons/MRTE/edit-cut.svg</normaloff>:/icons/MRTE/edit-cut.svg</iconset>
154
<property name="iconSize">
163
<widget class="QToolButton" name="f_copy">
164
<property name="focusPolicy">
165
<enum>Qt::ClickFocus</enum>
167
<property name="toolTip">
168
<string>Copy (CTRL+C)</string>
170
<property name="text">
171
<string>Copy</string>
173
<property name="icon">
174
<iconset resource="Resources/TechDraw.qrc">
175
<normaloff>:/icons/MRTE/edit-copy.svg</normaloff>:/icons/MRTE/edit-copy.svg</iconset>
177
<property name="iconSize">
186
<widget class="QToolButton" name="f_paste">
187
<property name="focusPolicy">
188
<enum>Qt::ClickFocus</enum>
190
<property name="toolTip">
191
<string>Paste (CTRL+V)</string>
193
<property name="text">
194
<string>Paste</string>
196
<property name="icon">
197
<iconset resource="Resources/TechDraw.qrc">
198
<normaloff>:/icons/MRTE/edit-paste.svg</normaloff>:/icons/MRTE/edit-paste.svg</iconset>
200
<property name="iconSize">
209
<widget class="Line" name="line">
210
<property name="orientation">
211
<enum>Qt::Vertical</enum>
216
<widget class="QToolButton" name="f_link">
217
<property name="focusPolicy">
218
<enum>Qt::ClickFocus</enum>
220
<property name="toolTip">
221
<string>Link (CTRL+L)</string>
223
<property name="text">
224
<string>Link</string>
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>
230
<property name="iconSize">
236
<property name="checkable">
242
<widget class="Line" name="line_3">
243
<property name="orientation">
244
<enum>Qt::Vertical</enum>
249
<widget class="QToolButton" name="f_bold">
250
<property name="focusPolicy">
251
<enum>Qt::ClickFocus</enum>
253
<property name="toolTip">
254
<string notr="true">Bold (CTRL+B)</string>
256
<property name="text">
257
<string>Bold</string>
259
<property name="icon">
260
<iconset resource="Resources/TechDraw.qrc">
261
<normaloff>:/icons/MRTE/textBold.svg</normaloff>:/icons/MRTE/textBold.svg</iconset>
263
<property name="iconSize">
269
<property name="checkable">
275
<widget class="QToolButton" name="f_italic">
276
<property name="focusPolicy">
277
<enum>Qt::ClickFocus</enum>
279
<property name="toolTip">
280
<string>Italic (CTRL+I)</string>
282
<property name="text">
283
<string>Italic</string>
285
<property name="icon">
286
<iconset resource="Resources/TechDraw.qrc">
287
<normaloff>:/icons/MRTE/textItalic.svg</normaloff>:/icons/MRTE/textItalic.svg</iconset>
289
<property name="iconSize">
295
<property name="checkable">
301
<widget class="QToolButton" name="f_underline">
302
<property name="focusPolicy">
303
<enum>Qt::ClickFocus</enum>
305
<property name="toolTip">
306
<string>Underline (CTRL+U)</string>
308
<property name="text">
309
<string>Underline</string>
311
<property name="icon">
312
<iconset resource="Resources/TechDraw.qrc">
313
<normaloff>:/icons/MRTE/textUnderline.svg</normaloff>:/icons/MRTE/textUnderline.svg</iconset>
315
<property name="iconSize">
321
<property name="checkable">
327
<widget class="QToolButton" name="f_strikeout">
328
<property name="toolTip">
329
<string>Strikethrough</string>
331
<property name="text">
332
<string>Strike Out</string>
334
<property name="icon">
335
<iconset resource="Resources/TechDraw.qrc">
336
<normaloff>:/icons/MRTE/textStrike.svg</normaloff>:/icons/MRTE/textStrike.svg</iconset>
338
<property name="iconSize">
344
<property name="checkable">
350
<widget class="Line" name="line_5">
351
<property name="orientation">
352
<enum>Qt::Vertical</enum>
357
<widget class="QToolButton" name="f_list_bullet">
358
<property name="focusPolicy">
359
<enum>Qt::ClickFocus</enum>
361
<property name="toolTip">
362
<string>Bullet list (CTRL+-)</string>
364
<property name="text">
367
<property name="icon">
368
<iconset resource="Resources/TechDraw.qrc">
369
<normaloff>:/icons/MRTE/listBullet.svg</normaloff>:/icons/MRTE/listBullet.svg</iconset>
371
<property name="iconSize">
377
<property name="checkable">
383
<widget class="QToolButton" name="f_list_ordered">
384
<property name="focusPolicy">
385
<enum>Qt::ClickFocus</enum>
387
<property name="toolTip">
388
<string>Ordered list (CTRL+=)</string>
390
<property name="text">
393
<property name="icon">
394
<iconset resource="Resources/TechDraw.qrc">
395
<normaloff>:/icons/MRTE/listNumber.svg</normaloff>:/icons/MRTE/listNumber.svg</iconset>
397
<property name="iconSize">
403
<property name="checkable">
409
<widget class="QToolButton" name="f_indent_dec">
410
<property name="focusPolicy">
411
<enum>Qt::ClickFocus</enum>
413
<property name="toolTip">
414
<string>Decrease indentation (CTRL+,)</string>
416
<property name="text">
417
<string>Decrease indentation</string>
419
<property name="icon">
420
<iconset resource="Resources/TechDraw.qrc">
421
<normaloff>:/icons/MRTE/indentLess.svg</normaloff>:/icons/MRTE/indentLess.svg</iconset>
423
<property name="iconSize">
432
<widget class="QToolButton" name="f_indent_inc">
433
<property name="focusPolicy">
434
<enum>Qt::ClickFocus</enum>
436
<property name="toolTip">
437
<string>Increase indentation (CTRL+.)</string>
439
<property name="text">
440
<string>Increase indentation</string>
442
<property name="icon">
443
<iconset resource="Resources/TechDraw.qrc">
444
<normaloff>:/icons/MRTE/indentMore.svg</normaloff>:/icons/MRTE/indentMore.svg</iconset>
446
<property name="iconSize">
455
<widget class="Line" name="line_2">
456
<property name="orientation">
457
<enum>Qt::Vertical</enum>
462
<widget class="QToolButton" name="f_fgcolor">
463
<property name="minimumSize">
469
<property name="focusPolicy">
470
<enum>Qt::ClickFocus</enum>
472
<property name="toolTip">
473
<string>Text foreground color</string>
475
<property name="text">
478
<property name="icon">
479
<iconset resource="Resources/TechDraw.qrc">
480
<normaloff>:/icons/MRTE/fgColor.svg</normaloff>:/icons/MRTE/fgColor.svg</iconset>
482
<property name="iconSize">
491
<widget class="QToolButton" name="f_bgcolor">
492
<property name="focusPolicy">
493
<enum>Qt::ClickFocus</enum>
495
<property name="toolTip">
496
<string>Text background color</string>
498
<property name="text">
499
<string>Background</string>
501
<property name="icon">
502
<iconset resource="Resources/TechDraw.qrc">
503
<normaloff>:/icons/MRTE/bgColor.svg</normaloff>:/icons/MRTE/bgColor.svg</iconset>
505
<property name="iconSize">
511
<property name="toolButtonStyle">
512
<enum>Qt::ToolButtonIconOnly</enum>
514
<property name="arrowType">
515
<enum>Qt::NoArrow</enum>
520
<widget class="QComboBox" name="f_fontsize">
521
<property name="focusPolicy">
522
<enum>Qt::ClickFocus</enum>
524
<property name="toolTip">
525
<string>Font size</string>
527
<property name="editable">
533
<widget class="Line" name="line_6">
534
<property name="orientation">
535
<enum>Qt::Vertical</enum>
540
<widget class="QToolButton" name="f_image">
541
<property name="text">
542
<string notr="true"/>
544
<property name="icon">
545
<iconset resource="Resources/TechDraw.qrc">
546
<normaloff>:/icons/MRTE/insertImage.svg</normaloff>:/icons/MRTE/insertImage.svg</iconset>
551
<spacer name="horizontalSpacer">
552
<property name="orientation">
553
<enum>Qt::Horizontal</enum>
555
<property name="sizeHint" stdset="0">
564
<widget class="QToolButton" name="f_menu">
565
<property name="toolTip">
566
<string>More functions</string>
568
<property name="text">
571
<property name="icon">
572
<iconset resource="Resources/TechDraw.qrc">
573
<normaloff>:/icons/MRTE/menu.svg</normaloff>:/icons/MRTE/menu.svg</iconset>
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>
610
<widget class="MTextEdit" name="f_textedit">
611
<property name="toolTip">
612
<string>More functions</string>
614
<property name="autoFormatting">
615
<set>QTextEdit::AutoNone</set>
617
<property name="tabChangesFocus">
626
<class>MTextEdit</class>
627
<extends>QTextEdit</extends>
628
<header>mtextedit.h</header>
632
<tabstop>f_textedit</tabstop>
633
<tabstop>f_strikeout</tabstop>
634
<tabstop>f_image</tabstop>
635
<tabstop>f_menu</tabstop>
638
<include location="Resources/TechDraw.qrc"/>
639
<include location="Resources/TechDraw.qrc"/>