417 lines
10 KiB
XML
417 lines
10 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="qtrf.qrc">
|
|
<normaloff>:/icon.png</normaloff>:/icon.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"/>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menuBar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>23</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_print"/>
|
|
<addaction name="action_printPreview"/>
|
|
<addaction name="action_quit"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menu_2">
|
|
<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_3">
|
|
<property name="title">
|
|
<string>帮助</string>
|
|
</property>
|
|
<addaction name="action_changelog"/>
|
|
<addaction name="action_aboutQt"/>
|
|
<addaction name="action_about"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menu_4">
|
|
<property name="title">
|
|
<string>视窗</string>
|
|
</property>
|
|
<addaction name="action_subWindowView"/>
|
|
<addaction name="action_tabbedView"/>
|
|
<addaction name="action_cascade"/>
|
|
<addaction name="action_tile"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menu_5">
|
|
<property name="title">
|
|
<string>查看</string>
|
|
</property>
|
|
<addaction name="action_zoomin"/>
|
|
<addaction name="action_zoomout"/>
|
|
</widget>
|
|
<addaction name="menu"/>
|
|
<addaction name="menu_2"/>
|
|
<addaction name="menu_5"/>
|
|
<addaction name="menu_4"/>
|
|
<addaction name="menu_3"/>
|
|
</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"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusBar"/>
|
|
<action name="action_new">
|
|
<property name="icon">
|
|
<iconset theme="document-new"/>
|
|
</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"/>
|
|
</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"/>
|
|
</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"/>
|
|
</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"/>
|
|
</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"/>
|
|
</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"/>
|
|
</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"/>
|
|
</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"/>
|
|
</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"/>
|
|
</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"/>
|
|
</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"/>
|
|
</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"/>
|
|
</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-faq"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>关于Qt</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_about">
|
|
<property name="icon">
|
|
<iconset theme="help-about"/>
|
|
</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"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>更新历史</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_run">
|
|
<property name="icon">
|
|
<iconset theme="system-run"/>
|
|
</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"/>
|
|
</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"/>
|
|
</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"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>字体</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_print">
|
|
<property name="icon">
|
|
<iconset theme="document-print"/>
|
|
</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"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>打印预览</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Shift+P</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<resources>
|
|
<include location="qtrf.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|