mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
parent
fcbb5ae8a2
commit
3cca0fa651
|
@ -14,7 +14,7 @@
|
||||||
<string>Preferences</string>
|
<string>Preferences</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowIcon">
|
<property name="windowIcon">
|
||||||
<iconset resource="resources.qrc">
|
<iconset resource="../../resources.qrc">
|
||||||
<normaloff>:/icons/configure.svg</normaloff>:/icons/configure.svg</iconset>
|
<normaloff>:/icons/configure.svg</normaloff>:/icons/configure.svg</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="modal">
|
<property name="modal">
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tab_interface">
|
<widget class="QWidget" name="tab_interface">
|
||||||
<attribute name="icon">
|
<attribute name="icon">
|
||||||
<iconset resource="resources.qrc">
|
<iconset resource="../../resources.qrc">
|
||||||
<normaloff>:/icons/interface.svg</normaloff>:/icons/interface.svg</iconset>
|
<normaloff>:/icons/interface.svg</normaloff>:/icons/interface.svg</iconset>
|
||||||
</attribute>
|
</attribute>
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
|
@ -53,28 +53,48 @@
|
||||||
<property name="topMargin">
|
<property name="topMargin">
|
||||||
<number>9</number>
|
<number>9</number>
|
||||||
</property>
|
</property>
|
||||||
|
<item row="3" column="1">
|
||||||
|
<widget class="QCheckBox" name="autoScrollToTargetArticle">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Normally, clicking on a link, double-clicking on a word or looking up
|
||||||
|
selection in an article loads the translation and almost immediately
|
||||||
|
scrolls to the article from the same dictionary. With this option off,
|
||||||
|
however, the article from the topmost dictionary is shown.</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Automatically scroll to target article</string>
|
||||||
|
</property>
|
||||||
|
<property name="checked">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item row="5" column="0" colspan="2">
|
<item row="5" column="0" colspan="2">
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_16">
|
<layout class="QVBoxLayout" name="verticalLayout_16">
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
<layout class="QGridLayout" name="gridLayout_6">
|
||||||
<item>
|
<item row="0" column="0">
|
||||||
<widget class="QLabel" name="label_6">
|
<widget class="QLabel" name="label_6">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Interface language:</string>
|
<string>Interface language:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item row="0" column="3">
|
||||||
<widget class="QComboBox" name="interfaceLanguage"/>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label_21">
|
<widget class="QLabel" name="label_21">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Dictionary Font: </string>
|
<string>Dictionary Font: </string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item row="0" column="1">
|
||||||
|
<widget class="QComboBox" name="interfaceLanguage">
|
||||||
|
<property name="sizeAdjustPolicy">
|
||||||
|
<enum>QComboBox::AdjustToContents</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="4">
|
||||||
<widget class="QComboBox" name="fontFamilies">
|
<widget class="QComboBox" name="fontFamilies">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||||
|
@ -87,19 +107,6 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<spacer name="horizontalSpacer_7">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Horizontal</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>40</width>
|
|
||||||
<height>20</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
@ -124,19 +131,6 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="StylesComboBox" name="addonStyles"/>
|
<widget class="StylesComboBox" name="addonStyles"/>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<spacer name="horizontalSpacer_6">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Horizontal</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>40</width>
|
|
||||||
<height>20</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
@ -161,67 +155,33 @@
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="0">
|
<item row="1" column="1">
|
||||||
<widget class="QGroupBox" name="enableTrayIcon">
|
<widget class="QGroupBox" name="groupBox_2">
|
||||||
<property name="toolTip">
|
|
||||||
<string>When enabled, an icon appears in the system tray area which can be used
|
|
||||||
to open main window and perform other tasks.</string>
|
|
||||||
</property>
|
|
||||||
<property name="title">
|
<property name="title">
|
||||||
<string>Enable system tray icon</string>
|
<string>Startup</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
||||||
</property>
|
|
||||||
<property name="flat">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="checkable">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
<property name="checked">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="startToTray">
|
<widget class="QCheckBox" name="cbAutostart">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>With this on, the application starts directly to system tray without showing
|
<string>Automatically starts GoldenDict after operation system bootup.</string>
|
||||||
its main window.</string>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Start to system tray</string>
|
<string>Start with system</string>
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QCheckBox" name="closeToTray">
|
|
||||||
<property name="toolTip">
|
|
||||||
<string>With this on, an attempt to close main window would hide it instead of closing
|
|
||||||
the application.</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Close to system tray</string>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="0">
|
<item row="4" column="0">
|
||||||
<widget class="QCheckBox" name="selectBySingleClick">
|
<widget class="QCheckBox" name="escKeyHidesMainWindow">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Turn this option on if you want to select words by single mouse click</string>
|
<string>Normally, pressing ESC key moves focus to the translation line.
|
||||||
|
With this on however, it will hide the main window.</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Select word by single click</string>
|
<string>ESC key hides main window</string>
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="2" column="0">
|
|
||||||
<widget class="QCheckBox" name="doubleClickTranslates">
|
|
||||||
<property name="text">
|
|
||||||
<string>Double-click translates the word clicked</string>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -274,31 +234,71 @@ the application.</string>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="0">
|
<item row="2" column="0">
|
||||||
<widget class="QCheckBox" name="escKeyHidesMainWindow">
|
<widget class="QCheckBox" name="doubleClickTranslates">
|
||||||
<property name="toolTip">
|
|
||||||
<string>Normally, pressing ESC key moves focus to the translation line.
|
|
||||||
With this on however, it will hide the main window.</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>ESC key hides main window</string>
|
<string>Double-click translates the word clicked</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="1">
|
<item row="15" column="0" colspan="2">
|
||||||
<widget class="QCheckBox" name="autoScrollToTargetArticle">
|
<spacer name="verticalSpacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>40</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="0">
|
||||||
|
<widget class="QGroupBox" name="enableTrayIcon">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Normally, clicking on a link, double-clicking on a word or looking up
|
<string>When enabled, an icon appears in the system tray area which can be used
|
||||||
selection in an article loads the translation and almost immediately
|
to open main window and perform other tasks.</string>
|
||||||
scrolls to the article from the same dictionary. With this option off,
|
|
||||||
however, the article from the topmost dictionary is shown.</string>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="title">
|
||||||
<string>Automatically scroll to target article</string>
|
<string>Enable system tray icon</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="checked">
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||||
|
</property>
|
||||||
|
<property name="flat">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="checkable">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="checked">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="startToTray">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>With this on, the application starts directly to system tray without showing
|
||||||
|
its main window.</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Start to system tray</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="closeToTray">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>With this on, an attempt to close main window would hide it instead of closing
|
||||||
|
the application.</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Close to system tray</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="0" colspan="2">
|
<item row="0" column="0" colspan="2">
|
||||||
|
@ -354,43 +354,21 @@ be the last ones.</string>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="15" column="0" colspan="2">
|
<item row="3" column="0">
|
||||||
<spacer name="verticalSpacer">
|
<widget class="QCheckBox" name="selectBySingleClick">
|
||||||
<property name="orientation">
|
<property name="toolTip">
|
||||||
<enum>Qt::Vertical</enum>
|
<string>Turn this option on if you want to select words by single mouse click</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizeHint" stdset="0">
|
<property name="text">
|
||||||
<size>
|
<string>Select word by single click</string>
|
||||||
<width>20</width>
|
|
||||||
<height>40</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
</property>
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
<item row="1" column="1">
|
|
||||||
<widget class="QGroupBox" name="groupBox_2">
|
|
||||||
<property name="title">
|
|
||||||
<string>Startup</string>
|
|
||||||
</property>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
||||||
<item>
|
|
||||||
<widget class="QCheckBox" name="cbAutostart">
|
|
||||||
<property name="toolTip">
|
|
||||||
<string>Automatically starts GoldenDict after operation system bootup.</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Start with system</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="tab_popup">
|
<widget class="QWidget" name="tab_popup">
|
||||||
<attribute name="icon">
|
<attribute name="icon">
|
||||||
<iconset resource="resources.qrc">
|
<iconset resource="../../resources.qrc">
|
||||||
<normaloff>:/icons/wizard.svg</normaloff>:/icons/wizard.svg</iconset>
|
<normaloff>:/icons/wizard.svg</normaloff>:/icons/wizard.svg</iconset>
|
||||||
</attribute>
|
</attribute>
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
|
@ -666,7 +644,7 @@ in the pressed state when the word selection changes.</string>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="tab_hotkey">
|
<widget class="QWidget" name="tab_hotkey">
|
||||||
<attribute name="icon">
|
<attribute name="icon">
|
||||||
<iconset resource="resources.qrc">
|
<iconset resource="../../resources.qrc">
|
||||||
<normaloff>:/icons/hotkeys.svg</normaloff>:/icons/hotkeys.svg</iconset>
|
<normaloff>:/icons/hotkeys.svg</normaloff>:/icons/hotkeys.svg</iconset>
|
||||||
</attribute>
|
</attribute>
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
|
@ -770,7 +748,7 @@ in the pressed state when the word selection changes.</string>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="tab_audio">
|
<widget class="QWidget" name="tab_audio">
|
||||||
<attribute name="icon">
|
<attribute name="icon">
|
||||||
<iconset resource="resources.qrc">
|
<iconset resource="../../resources.qrc">
|
||||||
<normaloff>:/icons/playsound_color.svg</normaloff>:/icons/playsound_color.svg</iconset>
|
<normaloff>:/icons/playsound_color.svg</normaloff>:/icons/playsound_color.svg</iconset>
|
||||||
</attribute>
|
</attribute>
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
|
@ -863,7 +841,7 @@ in the pressed state when the word selection changes.</string>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="tab_network">
|
<widget class="QWidget" name="tab_network">
|
||||||
<attribute name="icon">
|
<attribute name="icon">
|
||||||
<iconset resource="resources.qrc">
|
<iconset resource="../../resources.qrc">
|
||||||
<normaloff>:/icons/network.svg</normaloff>:/icons/network.svg</iconset>
|
<normaloff>:/icons/network.svg</normaloff>:/icons/network.svg</iconset>
|
||||||
</attribute>
|
</attribute>
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
|
@ -1246,7 +1224,7 @@ download page.</string>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="tab_FTS">
|
<widget class="QWidget" name="tab_FTS">
|
||||||
<attribute name="icon">
|
<attribute name="icon">
|
||||||
<iconset resource="resources.qrc">
|
<iconset resource="../../resources.qrc">
|
||||||
<normaloff>:/icons/fulltext.svg</normaloff>:/icons/fulltext.svg</iconset>
|
<normaloff>:/icons/fulltext.svg</normaloff>:/icons/fulltext.svg</iconset>
|
||||||
</attribute>
|
</attribute>
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
|
@ -1410,7 +1388,7 @@ download page.</string>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="tab_Advanced">
|
<widget class="QWidget" name="tab_Advanced">
|
||||||
<attribute name="icon">
|
<attribute name="icon">
|
||||||
<iconset resource="resources.qrc">
|
<iconset resource="../../resources.qrc">
|
||||||
<normaloff>:/icons/advanced.png</normaloff>:/icons/advanced.png</iconset>
|
<normaloff>:/icons/advanced.png</normaloff>:/icons/advanced.png</iconset>
|
||||||
</attribute>
|
</attribute>
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
|
@ -1818,7 +1796,6 @@ from Stardict, Babylon and GLS dictionaries</string>
|
||||||
<tabstop>startToTray</tabstop>
|
<tabstop>startToTray</tabstop>
|
||||||
<tabstop>closeToTray</tabstop>
|
<tabstop>closeToTray</tabstop>
|
||||||
<tabstop>cbAutostart</tabstop>
|
<tabstop>cbAutostart</tabstop>
|
||||||
<tabstop>interfaceLanguage</tabstop>
|
|
||||||
<tabstop>leftCtrl</tabstop>
|
<tabstop>leftCtrl</tabstop>
|
||||||
<tabstop>rightShift</tabstop>
|
<tabstop>rightShift</tabstop>
|
||||||
<tabstop>altKey</tabstop>
|
<tabstop>altKey</tabstop>
|
||||||
|
@ -1837,7 +1814,7 @@ from Stardict, Babylon and GLS dictionaries</string>
|
||||||
<tabstop>proxyPassword</tabstop>
|
<tabstop>proxyPassword</tabstop>
|
||||||
</tabstops>
|
</tabstops>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="resources.qrc"/>
|
<include location="../../resources.qrc"/>
|
||||||
</resources>
|
</resources>
|
||||||
<connections>
|
<connections>
|
||||||
<connection>
|
<connection>
|
||||||
|
|
Loading…
Reference in a new issue