1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>RichTextEditor</class> 4 <widget class="QTabWidget" name="RichTextEditor"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>700</width> 10 <height>518</height> 11 </rect> 12 </property> 13 <property name="windowTitle"> 14 <string notr="true">TabWidget</string> 15 </property> 16 <property name="tabPosition"> 17 <enum>QTabWidget::South</enum> 18 </property> 19 <property name="currentIndex"> 20 <number>0</number> 21 </property> 22 <widget class="QWidget" name="qwRich"> 23 <attribute name="title"> 24 <string>Display</string> 25 </attribute> 26 <layout class="QVBoxLayout" name="verticalLayout_2"> 27 <item> 28 <widget class="QToolBar" name="qtbToolBar"/> 29 </item> 30 <item> 31 <widget class="RichTextHtmlEdit" name="qteRichText"> 32 <property name="autoFormatting"> 33 <set>QTextEdit::AutoAll</set> 34 </property> 35 </widget> 36 </item> 37 </layout> 38 </widget> 39 <widget class="QWidget" name="qwPlain"> 40 <attribute name="title"> 41 <string>Source Text</string> 42 </attribute> 43 <layout class="QVBoxLayout" name="verticalLayout"> 44 <item> 45 <widget class="QPlainTextEdit" name="qptePlainText"/> 46 </item> 47 </layout> 48 </widget> 49 <action name="qaBold"> 50 <property name="checkable"> 51 <bool>true</bool> 52 </property> 53 <property name="icon"> 54 <iconset> 55 <normaloff>skin:actions/format-text-bold.svg</normaloff>skin:actions/format-text-bold.svg</iconset> 56 </property> 57 <property name="text"> 58 <string>&Bold</string> 59 </property> 60 <property name="shortcut"> 61 <string>Ctrl+B</string> 62 </property> 63 </action> 64 <action name="qaItalic"> 65 <property name="checkable"> 66 <bool>true</bool> 67 </property> 68 <property name="icon"> 69 <iconset> 70 <normaloff>skin:actions/format-text-italic.svg</normaloff>skin:actions/format-text-italic.svg</iconset> 71 </property> 72 <property name="text"> 73 <string>&Italic</string> 74 </property> 75 <property name="toolTip"> 76 <string>Italic</string> 77 </property> 78 <property name="shortcut"> 79 <string>Ctrl+I</string> 80 </property> 81 </action> 82 <action name="qaUnderline"> 83 <property name="checkable"> 84 <bool>true</bool> 85 </property> 86 <property name="icon"> 87 <iconset> 88 <normaloff>skin:actions/format-text-underline.svg</normaloff>skin:actions/format-text-underline.svg</iconset> 89 </property> 90 <property name="text"> 91 <string>Underline</string> 92 </property> 93 <property name="shortcut"> 94 <string>Ctrl+U</string> 95 </property> 96 </action> 97 <action name="qaColor"> 98 <property name="text"> 99 <string>Color</string> 100 </property> 101 </action> 102 <action name="qaLink"> 103 <property name="icon"> 104 <iconset> 105 <normaloff>skin:mimetypes/text-html.svg</normaloff>skin:mimetypes/text-html.svg</iconset> 106 </property> 107 <property name="text"> 108 <string>Insert Link</string> 109 </property> 110 <property name="shortcut"> 111 <string>Ctrl+L</string> 112 </property> 113 </action> 114 <action name="qaImage"> 115 <property name="icon"> 116 <iconset> 117 <normaloff>skin:mimetypes/image-x-generic.svg</normaloff>skin:mimetypes/image-x-generic.svg</iconset> 118 </property> 119 <property name="text"> 120 <string>Insert Image</string> 121 </property> 122 </action> 123 </widget> 124 <customwidgets> 125 <customwidget> 126 <class>RichTextHtmlEdit</class> 127 <extends>QTextEdit</extends> 128 <header>RichTextEditor.h</header> 129 </customwidget> 130 </customwidgets> 131 <resources/> 132 <connections/> 133</ui> 134