596 lines
15 KiB
XML
596 lines
15 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>800</width>
|
|
<height>600</height>
|
|
</rect>
|
|
</property>
|
|
<property name="acceptDrops">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>海天鹰编辑器</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset resource="res.qrc">
|
|
<normaloff>:/HTYEdit.png</normaloff>:/HTYEdit.png</iconset>
|
|
</property>
|
|
<widget class="QWidget" name="centralWidget">
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QSplitter" name="splitter">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="handleWidth">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QMdiArea" name="mdiArea">
|
|
<property name="viewMode">
|
|
<enum>QMdiArea::TabbedView</enum>
|
|
</property>
|
|
<property name="tabsClosable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="tabsMovable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="tabShape">
|
|
<enum>QTabWidget::Triangular</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextBrowser" name="textBrowser">
|
|
<property name="openLinks">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menuBar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>27</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menu">
|
|
<property name="title">
|
|
<string>文件</string>
|
|
</property>
|
|
<addaction name="action_new"/>
|
|
<addaction name="action_open"/>
|
|
<addaction name="action_close"/>
|
|
<addaction name="action_save"/>
|
|
<addaction name="action_saveas"/>
|
|
<addaction name="action_exportHTML"/>
|
|
<addaction name="action_print"/>
|
|
<addaction name="action_printPreview"/>
|
|
<addaction name="action_quit"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menu_edit">
|
|
<property name="title">
|
|
<string>编辑</string>
|
|
</property>
|
|
<addaction name="action_undo"/>
|
|
<addaction name="action_redo"/>
|
|
<addaction name="action_copy"/>
|
|
<addaction name="action_cut"/>
|
|
<addaction name="action_paste"/>
|
|
<addaction name="action_find"/>
|
|
<addaction name="action_replace"/>
|
|
<addaction name="action_indent"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menu_help">
|
|
<property name="title">
|
|
<string>帮助</string>
|
|
</property>
|
|
<addaction name="action_help"/>
|
|
<addaction name="action_changelog"/>
|
|
<addaction name="action_aboutQt"/>
|
|
<addaction name="action_about"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menu_window">
|
|
<property name="title">
|
|
<string>视窗</string>
|
|
</property>
|
|
<addaction name="action_subWindowView"/>
|
|
<addaction name="action_tabbedView"/>
|
|
<addaction name="action_cascade"/>
|
|
<addaction name="action_tile"/>
|
|
<addaction name="action_window_output"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menu_5">
|
|
<property name="title">
|
|
<string>查看</string>
|
|
</property>
|
|
<addaction name="action_zoomin"/>
|
|
<addaction name="action_zoomout"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menu_set">
|
|
<property name="title">
|
|
<string>设置</string>
|
|
</property>
|
|
<addaction name="action_theme"/>
|
|
</widget>
|
|
<addaction name="menu"/>
|
|
<addaction name="menu_edit"/>
|
|
<addaction name="menu_5"/>
|
|
<addaction name="menu_window"/>
|
|
<addaction name="menu_set"/>
|
|
<addaction name="menu_help"/>
|
|
</widget>
|
|
<widget class="QToolBar" name="mainToolBar">
|
|
<property name="movable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<attribute name="toolBarArea">
|
|
<enum>TopToolBarArea</enum>
|
|
</attribute>
|
|
<attribute name="toolBarBreak">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<addaction name="action_font"/>
|
|
<addaction name="action_run"/>
|
|
<addaction name="action_p"/>
|
|
<addaction name="action_br"/>
|
|
<addaction name="action_b"/>
|
|
<addaction name="action_tr"/>
|
|
<addaction name="action_td"/>
|
|
<addaction name="action_div"/>
|
|
<addaction name="action_a"/>
|
|
<addaction name="action_img"/>
|
|
<addaction name="action_deleteTag"/>
|
|
<addaction name="action_deleteBR"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusBar"/>
|
|
<action name="action_new">
|
|
<property name="icon">
|
|
<iconset theme="document-new">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>新建</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+N</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_open">
|
|
<property name="icon">
|
|
<iconset theme="document-open">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>打开</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+O</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_close">
|
|
<property name="icon">
|
|
<iconset theme="window-close">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>关闭</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+W</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_save">
|
|
<property name="icon">
|
|
<iconset theme="document-save">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>保存</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+S</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_saveas">
|
|
<property name="icon">
|
|
<iconset theme="document-save-as">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>另存为</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Shift+S</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_quit">
|
|
<property name="icon">
|
|
<iconset theme="application-exit">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>退出</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Q</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_undo">
|
|
<property name="icon">
|
|
<iconset theme="edit-undo">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>撤销</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Z</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_redo">
|
|
<property name="icon">
|
|
<iconset theme="edit-redo">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>重做</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Y</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_copy">
|
|
<property name="icon">
|
|
<iconset theme="edit-copy">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>复制</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+C</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_cut">
|
|
<property name="icon">
|
|
<iconset theme="edit-cut">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>剪切</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+X</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_paste">
|
|
<property name="icon">
|
|
<iconset theme="edit-paste">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>粘贴</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+V</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_indent">
|
|
<property name="text">
|
|
<string>排版</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+I</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_find">
|
|
<property name="icon">
|
|
<iconset theme="edit-find">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>查找</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+F</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_replace">
|
|
<property name="icon">
|
|
<iconset theme="edit-find-replace">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>替换</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+H</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_aboutQt">
|
|
<property name="icon">
|
|
<iconset theme="help-about"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>关于Qt</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_about">
|
|
<property name="icon">
|
|
<iconset theme="help-about">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>关于</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>F1</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_subWindowView">
|
|
<property name="text">
|
|
<string>窗口模式</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_tabbedView">
|
|
<property name="text">
|
|
<string>标签模式</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_cascade">
|
|
<property name="text">
|
|
<string>层叠窗口</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_tile">
|
|
<property name="text">
|
|
<string>平铺窗口</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_changelog">
|
|
<property name="icon">
|
|
<iconset theme="help-contents">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>更新历史</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_run">
|
|
<property name="icon">
|
|
<iconset theme="system-run">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>运行</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>运行 F5</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>F5</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_zoomin">
|
|
<property name="icon">
|
|
<iconset theme="zoom-in">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>放大</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl++</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_zoomout">
|
|
<property name="icon">
|
|
<iconset theme="zoom-out">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>缩小</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+-</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_font">
|
|
<property name="icon">
|
|
<iconset theme="preferences-desktop-font">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>字体</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_print">
|
|
<property name="icon">
|
|
<iconset theme="document-print">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>打印</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+P</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_printPreview">
|
|
<property name="icon">
|
|
<iconset theme="document-print-preview">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>打印预览</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Shift+P</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_window_output">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>输出窗口</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>F12</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_td">
|
|
<property name="text">
|
|
<string>td</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Ctrl+Shift+D</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Shift+D</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_tr">
|
|
<property name="text">
|
|
<string>tr</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Ctrl+Shift+R</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Shift+R</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_p">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>p</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Ctrl+Alt+P</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Alt+P</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_div">
|
|
<property name="text">
|
|
<string>div</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Ctrl+Alt+D</string>
|
|
</property>
|
|
<property name="font">
|
|
<font/>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Alt+D</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_a">
|
|
<property name="text">
|
|
<string>a</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Ctrl+Shift+A</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Shift+A</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_img">
|
|
<property name="text">
|
|
<string>img</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Ctrl+Shift+I</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Shift+I</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_br">
|
|
<property name="text">
|
|
<string>br</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_deleteTag">
|
|
<property name="text">
|
|
<string>-<></string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>去除Tag</string>
|
|
</property>
|
|
<property name="font">
|
|
<font/>
|
|
</property>
|
|
</action>
|
|
<action name="action_deleteBR">
|
|
<property name="text">
|
|
<string>-BR</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>删除换行</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_theme">
|
|
<property name="text">
|
|
<string>主题</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_exportHTML">
|
|
<property name="icon">
|
|
<iconset theme="text-html">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>导出HTML</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_b">
|
|
<property name="text">
|
|
<string>b</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_help">
|
|
<property name="icon">
|
|
<iconset theme="help-faq"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>帮助</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<resources>
|
|
<include location="res.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|