mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2082 bfdf4180-ca20-0410-9c96-a3a8aa849046
641 lines
19 KiB
XML
641 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>MainWindow</class>
|
|
<widget class="QMainWindow" name="MainWindow">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>562</width>
|
|
<height>361</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>HTML Editor</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="tabPosition">
|
|
<enum>QTabWidget::South</enum>
|
|
</property>
|
|
<property name="tabShape">
|
|
<enum>QTabWidget::Rounded</enum>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="documentMode">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QWidget" name="tab">
|
|
<attribute name="title">
|
|
<string>Tab 1</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QWebView" name="webView">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="url">
|
|
<url>
|
|
<string>about:blank</string>
|
|
</url>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_2">
|
|
<attribute name="title">
|
|
<string>Tab 2</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QPlainTextEdit" name="plainTextEdit">
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>562</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menu_File">
|
|
<property name="title">
|
|
<string>&File</string>
|
|
</property>
|
|
<addaction name="actionFileNew"/>
|
|
<addaction name="actionFileOpen"/>
|
|
<addaction name="actionFileSave"/>
|
|
<addaction name="actionFileSaveAs"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionExit"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menu_Edit">
|
|
<property name="title">
|
|
<string>&Edit</string>
|
|
</property>
|
|
<addaction name="actionEditUndo"/>
|
|
<addaction name="actionEditRedo"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionEditCut"/>
|
|
<addaction name="actionEditCopy"/>
|
|
<addaction name="actionEditPaste"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionEditSelectAll"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionInsertImage"/>
|
|
<addaction name="actionCreateLink"/>
|
|
<addaction name="actionInsertHtml"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuF_ormat">
|
|
<property name="title">
|
|
<string>F&ormat</string>
|
|
</property>
|
|
<widget class="QMenu" name="menuSt_yle">
|
|
<property name="title">
|
|
<string>St&yle</string>
|
|
</property>
|
|
<addaction name="actionStyleParagraph"/>
|
|
<addaction name="actionStyleHeading1"/>
|
|
<addaction name="actionStyleHeading2"/>
|
|
<addaction name="actionStyleHeading3"/>
|
|
<addaction name="actionStyleHeading4"/>
|
|
<addaction name="actionStyleHeading5"/>
|
|
<addaction name="actionStyleHeading6"/>
|
|
<addaction name="actionStylePreformatted"/>
|
|
<addaction name="actionStyleAddress"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menu_Align">
|
|
<property name="title">
|
|
<string>&Align</string>
|
|
</property>
|
|
<addaction name="actionFormatAlignLeft"/>
|
|
<addaction name="actionFormatAlignCenter"/>
|
|
<addaction name="actionFormatAlignRight"/>
|
|
<addaction name="actionFormatAlignJustify"/>
|
|
</widget>
|
|
<addaction name="menuSt_yle"/>
|
|
<addaction name="menu_Align"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionFormatBold"/>
|
|
<addaction name="actionFormatItalic"/>
|
|
<addaction name="actionFormatUnderline"/>
|
|
<addaction name="actionFormatStrikethrough"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionFormatIncreaseIndent"/>
|
|
<addaction name="actionFormatDecreaseIndent"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionFormatNumberedList"/>
|
|
<addaction name="actionFormatBulletedList"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionFormatFontName"/>
|
|
<addaction name="actionFormatFontSize"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionFormatTextColor"/>
|
|
<addaction name="actionFormatBackgroundColor"/>
|
|
</widget>
|
|
<addaction name="menu_File"/>
|
|
<addaction name="menu_Edit"/>
|
|
<addaction name="menuF_ormat"/>
|
|
</widget>
|
|
<widget class="QToolBar" name="standardToolBar">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Standard</string>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>24</width>
|
|
<height>24</height>
|
|
</size>
|
|
</property>
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<addaction name="actionFileNew"/>
|
|
<addaction name="actionFileOpen"/>
|
|
<addaction name="actionFileSave"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionEditUndo"/>
|
|
<addaction name="actionEditRedo"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionEditCut"/>
|
|
<addaction name="actionEditCopy"/>
|
|
<addaction name="actionEditPaste"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionZoomOut"/>
|
|
<addaction name="actionZoomIn"/>
|
|
</widget>
|
|
<widget class="QToolBar" name="formatToolBar">
|
|
<property name="windowTitle">
|
|
<string>Formatting</string>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>24</width>
|
|
<height>24</height>
|
|
</size>
|
|
</property>
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>true</bool>
|
|
</attribute>
|
|
<addaction name="actionFormatBold"/>
|
|
<addaction name="actionFormatItalic"/>
|
|
<addaction name="actionFormatUnderline"/>
|
|
<addaction name="actionFormatStrikethrough"/>
|
|
<addaction name="actionFormatFontSize"/>
|
|
<addaction name="actionFormatTextColor"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionFormatAlignLeft"/>
|
|
<addaction name="actionFormatAlignCenter"/>
|
|
<addaction name="actionFormatAlignRight"/>
|
|
<addaction name="actionFormatAlignJustify"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionFormatDecreaseIndent"/>
|
|
<addaction name="actionFormatIncreaseIndent"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionFormatNumberedList"/>
|
|
<addaction name="actionFormatBulletedList"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionInsertImage"/>
|
|
<addaction name="actionCreateLink"/>
|
|
<addaction name="actionInsertHtml"/>
|
|
</widget>
|
|
<action name="actionFileNew">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/document-new.png</normaloff>:/images/document-new.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&New</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+N</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFileOpen">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/document-open.png</normaloff>:/images/document-open.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Open...</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+O</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFileSave">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/document-save.png</normaloff>:/images/document-save.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Save</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+S</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFileSaveAs">
|
|
<property name="text">
|
|
<string>Save &As...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionEditUndo">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/edit-undo.png</normaloff>:/images/edit-undo.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Undo</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Z</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionEditRedo">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/edit-redo.png</normaloff>:/images/edit-redo.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Redo</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Y</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionEditCut">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/edit-cut.png</normaloff>:/images/edit-cut.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Cu&t</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+X</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionEditCopy">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/edit-copy.png</normaloff>:/images/edit-copy.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Copy</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+C</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionEditPaste">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/edit-paste.png</normaloff>:/images/edit-paste.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Paste</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+V</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionEditSelectAll">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/edit-select-all.png</normaloff>:/images/edit-select-all.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Select A&ll</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+A</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFormatBold">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/format-text-bold.png</normaloff>:/images/format-text-bold.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Bold</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+B</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFormatItalic">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/format-text-italic.png</normaloff>:/images/format-text-italic.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Italic</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+I</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFormatUnderline">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/format-text-underline.png</normaloff>:/images/format-text-underline.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Underline</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+U</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFormatStrikethrough">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/format-text-strikethrough.png</normaloff>:/images/format-text-strikethrough.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Strikethrough</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFormatAlignLeft">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/format-justify-left.png</normaloff>:/images/format-justify-left.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Align &Left</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFormatAlignCenter">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/format-justify-center.png</normaloff>:/images/format-justify-center.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Align &Center</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFormatAlignRight">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/format-justify-right.png</normaloff>:/images/format-justify-right.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Align &Right</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFormatAlignJustify">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/format-justify-fill.png</normaloff>:/images/format-justify-fill.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Align &Justify</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFormatIncreaseIndent">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/format-indent-more.png</normaloff>:/images/format-indent-more.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>I&ncrease Indent</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFormatDecreaseIndent">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/format-indent-less.png</normaloff>:/images/format-indent-less.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Decrease Indent</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFormatBulletedList">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/bulleted-list.png</normaloff>:/images/bulleted-list.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Bulle&ted List</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFormatNumberedList">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/numbered-list.png</normaloff>:/images/numbered-list.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Numbered List</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionInsertImage">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/image-x-generic.png</normaloff>:/images/image-x-generic.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Insert &Image...</string>
|
|
</property>
|
|
<property name="visible">
|
|
<bool>false</bool>
|
|
</property>
|
|
</action>
|
|
<action name="actionCreateLink">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/text-html.png</normaloff>:/images/text-html.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Create Link...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionZoomOut">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/list-remove.png</normaloff>:/images/list-remove.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Zoom Out</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionZoomIn">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/list-add.png</normaloff>:/images/list-add.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Zoom In</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionExit">
|
|
<property name="text">
|
|
<string>E&xit</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Q</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionStyleParagraph">
|
|
<property name="text">
|
|
<string>&Paragraph</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionStyleHeading1">
|
|
<property name="text">
|
|
<string>Heading &1</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionStyleHeading2">
|
|
<property name="text">
|
|
<string>Heading &2</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionStyleHeading3">
|
|
<property name="text">
|
|
<string>Heading &3</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionStyleHeading4">
|
|
<property name="text">
|
|
<string>Heading &4</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionStyleHeading5">
|
|
<property name="text">
|
|
<string>Heading &5</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionStyleHeading6">
|
|
<property name="text">
|
|
<string>Heading &6</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionStylePreformatted">
|
|
<property name="text">
|
|
<string>Pre&formatted</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionStyleAddress">
|
|
<property name="text">
|
|
<string>&Address</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFormatFontName">
|
|
<property name="text">
|
|
<string>&Font Name...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFormatTextColor">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/text_color.png</normaloff>:/images/text_color.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Text &Color...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFormatBackgroundColor">
|
|
<property name="text">
|
|
<string>Bac&kground Color...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFormatFontSize">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/text.png</normaloff>:/images/text.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Font Si&ze...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionInsertHtml">
|
|
<property name="icon">
|
|
<iconset resource="htmleditor.qrc">
|
|
<normaloff>:/images/insert-html.png</normaloff>:/images/insert-html.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Insert HTML...</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Insert HTML</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>QWebView</class>
|
|
<extends>QWidget</extends>
|
|
<header>QtWebKit/QWebView</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="htmleditor.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|