mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 17:24:08 +00:00
388 lines
10 KiB
XML
388 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>653</width>
|
|
<height>538</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>GoldenDict</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralWidget">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<property name="leftMargin">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>1</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="elideMode">
|
|
<enum>Qt::ElideRight</enum>
|
|
</property>
|
|
<widget class="QWidget" name="tab">
|
|
<attribute name="title">
|
|
<string>Welcome!</string>
|
|
</attribute>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>653</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuFile">
|
|
<property name="title">
|
|
<string>&File</string>
|
|
</property>
|
|
<addaction name="pageSetup"/>
|
|
<addaction name="printPreview"/>
|
|
<addaction name="print"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="saveArticle"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="rescanFiles"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="actionCloseToTray"/>
|
|
<addaction name="quit"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menu_Edit">
|
|
<property name="title">
|
|
<string>&Edit</string>
|
|
</property>
|
|
<addaction name="dictionaries"/>
|
|
<addaction name="preferences"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menu_Help">
|
|
<property name="title">
|
|
<string>&Help</string>
|
|
</property>
|
|
<addaction name="visitHomepage"/>
|
|
<addaction name="visitForum"/>
|
|
<addaction name="separator"/>
|
|
<addaction name="about"/>
|
|
</widget>
|
|
<widget class="QMenu" name="menuView">
|
|
<property name="title">
|
|
<string>&View</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QMenu" name="menuHistory">
|
|
<property name="title">
|
|
<string>H&istory</string>
|
|
</property>
|
|
<addaction name="separator"/>
|
|
<addaction name="clearHistory"/>
|
|
</widget>
|
|
<addaction name="menuFile"/>
|
|
<addaction name="menuView"/>
|
|
<addaction name="menu_Edit"/>
|
|
<addaction name="menuHistory"/>
|
|
<addaction name="menu_Help"/>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
<widget class="QDockWidget" name="searchPane">
|
|
<property name="windowTitle">
|
|
<string>Search Pane</string>
|
|
</property>
|
|
<attribute name="dockWidgetArea">
|
|
<number>1</number>
|
|
</attribute>
|
|
<widget class="SearchPaneWidget" name="searchPaneWidget">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="leftMargin">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>1</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLineEdit" name="translateLine">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="baseSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>254</red>
|
|
<green>253</green>
|
|
<blue>235</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>254</red>
|
|
<green>253</green>
|
|
<blue>235</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
<property name="frame">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QListWidget" name="wordList">
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>254</red>
|
|
<green>253</green>
|
|
<blue>235</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>254</red>
|
|
<green>253</green>
|
|
<blue>235</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<action name="dictionaries">
|
|
<property name="icon">
|
|
<iconset resource="resources.qrc">
|
|
<normaloff>:/icons/book.png</normaloff>:/icons/book.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Dictionaries...</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>F3</string>
|
|
</property>
|
|
</action>
|
|
<action name="groups">
|
|
<property name="icon">
|
|
<iconset resource="resources.qrc">
|
|
<normaloff>:/icons/playsound.png</normaloff>:/icons/playsound.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Groups...</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>F3</string>
|
|
</property>
|
|
</action>
|
|
<action name="preferences">
|
|
<property name="icon">
|
|
<iconset resource="resources.qrc">
|
|
<normaloff>:/icons/configure.png</normaloff>:/icons/configure.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Preferences...</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>F4</string>
|
|
</property>
|
|
</action>
|
|
<action name="visitHomepage">
|
|
<property name="text">
|
|
<string>&Homepage</string>
|
|
</property>
|
|
</action>
|
|
<action name="about">
|
|
<property name="text">
|
|
<string>&About</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>About GoldenDict</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>F1</string>
|
|
</property>
|
|
</action>
|
|
<action name="quit">
|
|
<property name="text">
|
|
<string>&Quit</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Quit from application</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+Q</string>
|
|
</property>
|
|
</action>
|
|
<action name="visitForum">
|
|
<property name="text">
|
|
<string>&Forum</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionCloseToTray">
|
|
<property name="text">
|
|
<string>&Close To Tray</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Minimizes the window to tray</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+F4</string>
|
|
</property>
|
|
</action>
|
|
<action name="saveArticle">
|
|
<property name="icon">
|
|
<iconset resource="resources.qrc">
|
|
<normaloff>:/icons/filesave.png</normaloff>:/icons/filesave.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Save Article</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Save Article</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>F2</string>
|
|
</property>
|
|
</action>
|
|
<action name="print">
|
|
<property name="icon">
|
|
<iconset resource="resources.qrc">
|
|
<normaloff>:/icons/print.png</normaloff>:/icons/print.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Print</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+P</string>
|
|
</property>
|
|
</action>
|
|
<action name="pageSetup">
|
|
<property name="text">
|
|
<string>Page Set&up</string>
|
|
</property>
|
|
</action>
|
|
<action name="printPreview">
|
|
<property name="text">
|
|
<string>Print Preview</string>
|
|
</property>
|
|
</action>
|
|
<action name="rescanFiles">
|
|
<property name="text">
|
|
<string>Rescan Files</string>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Ctrl+F5</string>
|
|
</property>
|
|
</action>
|
|
<action name="clearHistory">
|
|
<property name="text">
|
|
<string>&Clear</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>SearchPaneWidget</class>
|
|
<extends>QWidget</extends>
|
|
<header>searchpanewidget.hh</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>translateLine</tabstop>
|
|
<tabstop>tabWidget</tabstop>
|
|
</tabstops>
|
|
<resources>
|
|
<include location="resources.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|