Files
qelectrotech-source-mirror/sources/htmleditor/htmleditor.ui
cfdev 5c8a1bee57 Delete closeEvent and and ButtonBox to htmleditor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2082 bfdf4180-ca20-0410-9c96-a3a8aa849046
2013-04-01 16:19:05 +00:00

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>&amp;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>&amp;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&amp;ormat</string>
</property>
<widget class="QMenu" name="menuSt_yle">
<property name="title">
<string>St&amp;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>&amp;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>&amp;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>&amp;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>&amp;Save</string>
</property>
<property name="shortcut">
<string>Ctrl+S</string>
</property>
</action>
<action name="actionFileSaveAs">
<property name="text">
<string>Save &amp;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>&amp;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>&amp;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&amp;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>&amp;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>&amp;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&amp;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>&amp;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>&amp;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>&amp;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>&amp;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 &amp;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 &amp;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 &amp;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 &amp;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&amp;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>&amp;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&amp;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>&amp;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 &amp;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&amp;xit</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
</property>
</action>
<action name="actionStyleParagraph">
<property name="text">
<string>&amp;Paragraph</string>
</property>
</action>
<action name="actionStyleHeading1">
<property name="text">
<string>Heading &amp;1</string>
</property>
</action>
<action name="actionStyleHeading2">
<property name="text">
<string>Heading &amp;2</string>
</property>
</action>
<action name="actionStyleHeading3">
<property name="text">
<string>Heading &amp;3</string>
</property>
</action>
<action name="actionStyleHeading4">
<property name="text">
<string>Heading &amp;4</string>
</property>
</action>
<action name="actionStyleHeading5">
<property name="text">
<string>Heading &amp;5</string>
</property>
</action>
<action name="actionStyleHeading6">
<property name="text">
<string>Heading &amp;6</string>
</property>
</action>
<action name="actionStylePreformatted">
<property name="text">
<string>Pre&amp;formatted</string>
</property>
</action>
<action name="actionStyleAddress">
<property name="text">
<string>&amp;Address</string>
</property>
</action>
<action name="actionFormatFontName">
<property name="text">
<string>&amp;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 &amp;Color...</string>
</property>
</action>
<action name="actionFormatBackgroundColor">
<property name="text">
<string>Bac&amp;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&amp;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>