2009-05-11 11:03:36 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>Preferences</class>
|
|
|
|
<widget class="QDialog" name="Preferences">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2022-04-23 09:59:48 +00:00
|
|
|
<width>744</width>
|
2022-02-12 05:03:17 +00:00
|
|
|
<height>506</height>
|
2009-05-11 11:03:36 +00:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Preferences</string>
|
|
|
|
</property>
|
|
|
|
<property name="windowIcon">
|
|
|
|
<iconset resource="resources.qrc">
|
2022-01-24 14:23:38 +00:00
|
|
|
<normaloff>:/icons/configure.svg</normaloff>:/icons/configure.svg</iconset>
|
2009-05-11 11:03:36 +00:00
|
|
|
</property>
|
|
|
|
<property name="modal">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_8">
|
|
|
|
<item>
|
|
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
|
|
<property name="currentIndex">
|
2022-02-12 05:03:17 +00:00
|
|
|
<number>0</number>
|
2009-05-11 11:03:36 +00:00
|
|
|
</property>
|
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>15</width>
|
|
|
|
<height>15</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2013-06-07 17:14:45 +00:00
|
|
|
<property name="usesScrollButtons">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="documentMode">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
2009-05-11 11:03:36 +00:00
|
|
|
<widget class="QWidget" name="tab">
|
|
|
|
<attribute name="icon">
|
|
|
|
<iconset resource="resources.qrc">
|
2022-01-24 14:23:38 +00:00
|
|
|
<normaloff>:/icons/interface.svg</normaloff>:/icons/interface.svg</iconset>
|
2009-05-11 11:03:36 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute name="title">
|
|
|
|
<string>&Interface</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
2022-03-27 06:29:06 +00:00
|
|
|
<property name="topMargin">
|
|
|
|
<number>9</number>
|
|
|
|
</property>
|
2022-02-12 05:04:33 +00:00
|
|
|
<item row="5" column="0" colspan="2">
|
2009-05-11 11:03:36 +00:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_6">
|
|
|
|
<property name="text">
|
|
|
|
<string>Interface language:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="interfaceLanguage"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_3">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_9">
|
|
|
|
<property name="text">
|
|
|
|
<string>Display style:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="displayStyle"/>
|
|
|
|
</item>
|
2014-06-25 14:01:11 +00:00
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_12">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_16">
|
|
|
|
<property name="text">
|
|
|
|
<string>Help language</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="helpLanguage"/>
|
|
|
|
</item>
|
2009-05-11 11:03:36 +00:00
|
|
|
<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>
|
|
|
|
</item>
|
2022-05-08 08:00:08 +00:00
|
|
|
<item row="14" column="0" colspan="2">
|
|
|
|
<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="4" column="0">
|
|
|
|
<widget class="QCheckBox" name="escKeyHidesMainWindow">
|
|
|
|
<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">
|
|
|
|
<string>ESC key hides main window</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2022-02-12 05:04:33 +00:00
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QGroupBox" name="enableTrayIcon">
|
|
|
|
<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>
|
2009-05-11 11:03:36 +00:00
|
|
|
</property>
|
2022-02-12 05:04:33 +00:00
|
|
|
<property name="title">
|
|
|
|
<string>Enable system tray icon</string>
|
2009-05-11 11:03:36 +00:00
|
|
|
</property>
|
2022-02-12 05:04:33 +00:00
|
|
|
<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>
|
|
|
|
</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>
|
|
|
|
</item>
|
2013-06-11 18:31:01 +00:00
|
|
|
<item row="3" column="1">
|
2022-02-12 05:04:33 +00:00
|
|
|
<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="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>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1">
|
2013-06-11 18:31:01 +00:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_13">
|
2012-12-10 14:14:13 +00:00
|
|
|
<item>
|
2013-06-11 18:31:01 +00:00
|
|
|
<widget class="QLabel" name="maxDictsInContextMenuLabel">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Adjust this value to avoid huge context menus.</string>
|
|
|
|
</property>
|
2012-12-10 14:14:13 +00:00
|
|
|
<property name="text">
|
2013-06-11 18:31:01 +00:00
|
|
|
<string>Context menu dictionaries limit:</string>
|
2012-12-10 14:14:13 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2013-06-11 18:31:01 +00:00
|
|
|
<widget class="QSpinBox" name="maxDictsInContextMenu">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>9999</number>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>20</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2012-12-10 14:14:13 +00:00
|
|
|
</item>
|
|
|
|
<item>
|
2013-06-11 18:31:01 +00:00
|
|
|
<widget class="QLabel" name="label_12">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
2012-12-10 14:14:13 +00:00
|
|
|
</property>
|
2013-06-11 18:31:01 +00:00
|
|
|
<property name="text">
|
|
|
|
<string/>
|
2012-12-10 14:14:13 +00:00
|
|
|
</property>
|
2013-06-11 18:31:01 +00:00
|
|
|
</widget>
|
2012-12-10 14:14:13 +00:00
|
|
|
</item>
|
2022-05-08 08:00:08 +00:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="0">
|
|
|
|
<widget class="QCheckBox" name="selectBySingleClick">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Turn this option on if you want to select words by single mouse click</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Select word by single click</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>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="0" colspan="2">
|
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>Tabbed browsing</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QCheckBox" name="newTabsOpenInBackground">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Normally, opening a new tab switches to it immediately.
|
|
|
|
With this on however, new tabs will be opened without
|
|
|
|
switching to them.</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Open new tabs in background</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QCheckBox" name="newTabsOpenAfterCurrentOne">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>With this on, new tabs are opened just after the
|
|
|
|
current, active one. Otherwise they are added to
|
|
|
|
be the last ones.</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Open new tabs after the current one</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QCheckBox" name="hideSingleTab">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Select this option if you don't want to see the main tab bar when only a single tab is opened.</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Hide single tab</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QCheckBox" name="mruTabOrder">
|
|
|
|
<property name="text">
|
|
|
|
<string>Ctrl-Tab navigates tabs in MRU order</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="11" column="0" colspan="2">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_12">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_21">
|
|
|
|
<property name="text">
|
|
|
|
<string>Dictionary Font: </string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="fontFamilies">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>set the fallback font family for dictionary</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_13">
|
|
|
|
<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>
|
|
|
|
</item>
|
|
|
|
<item row="7" column="0" colspan="2">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="addonStylesLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>Add-on style:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="StylesComboBox" name="addonStyles"/>
|
|
|
|
</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>
|
2012-12-10 14:14:13 +00:00
|
|
|
</layout>
|
2012-09-26 13:59:48 +00:00
|
|
|
</item>
|
2009-05-11 11:03:36 +00:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="tab_4">
|
|
|
|
<attribute name="icon">
|
|
|
|
<iconset resource="resources.qrc">
|
2022-01-24 14:23:38 +00:00
|
|
|
<normaloff>:/icons/wizard.svg</normaloff>:/icons/wizard.svg</iconset>
|
2009-05-11 11:03:36 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute name="title">
|
|
|
|
<string>&Scan Popup</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_10">
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="enableScanPopup">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>When enabled, a translation popup window would be shown each time
|
|
|
|
you point your mouse on any word on the screen (Windows) or select
|
|
|
|
any word with mouse (Linux). When enabled, you can switch it on and
|
|
|
|
off from main window or tray icon.</string>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Enable scan popup functionality</string>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="startWithScanPopupOn">
|
|
|
|
<property name="toolTip">
|
2009-10-10 17:16:17 +00:00
|
|
|
<string>Chooses whether the scan popup mode is on by default or not. If checked,
|
2009-05-11 11:03:36 +00:00
|
|
|
the program would always start with the scan popup active.</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Start with scan popup turned on</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="enableScanPopupModifiers">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>With this enabled, the popup would only show up if all chosen keys are
|
|
|
|
in the pressed state when the word selection changes.</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Only show popup when all selected keys are kept pressed:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QFrame" name="scanPopupModifiers">
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::NoFrame</enum>
|
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Plain</enum>
|
|
|
|
</property>
|
|
|
|
<property name="lineWidth">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
2014-04-17 14:31:51 +00:00
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
2009-05-11 11:03:36 +00:00
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QCheckBox" name="leftCtrl">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Left Ctrl only</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Left Ctrl</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="2">
|
|
|
|
<widget class="QCheckBox" name="rightShift">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Right Shift only</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Right Shift</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QCheckBox" name="altKey">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Alt key</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Alt</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QCheckBox" name="ctrlKey">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Ctrl key</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Ctrl</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QCheckBox" name="leftAlt">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Left Alt only</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Left Alt</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="2">
|
|
|
|
<widget class="QCheckBox" name="shiftKey">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Shift key</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Shift</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QCheckBox" name="rightAlt">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Right Alt only</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Right Alt</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1">
|
|
|
|
<widget class="QCheckBox" name="rightCtrl">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Right Ctrl only</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Right Ctrl</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="2">
|
|
|
|
<widget class="QCheckBox" name="leftShift">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Left Shift only</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Left Shift</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="3">
|
|
|
|
<widget class="QCheckBox" name="winKey">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Windows key or Meta key</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Win/Meta</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QFrame" name="frame">
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::NoFrame</enum>
|
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Raised</enum>
|
|
|
|
</property>
|
|
|
|
<property name="lineWidth">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
2014-04-17 14:31:51 +00:00
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
2009-05-11 11:03:36 +00:00
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="scanPopupAltMode">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Normally, in order to activate a popup you have to
|
|
|
|
maintain the chosen keys pressed while you select
|
|
|
|
a word. With this enabled, the chosen keys may also
|
2009-10-10 17:16:17 +00:00
|
|
|
be pressed shortly after the selection is done.</string>
|
2009-05-11 11:03:36 +00:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Keys may also be pressed afterwards, within</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QSpinBox" name="scanPopupAltModeSecs">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>To avoid false positives, the keys are only monitored
|
|
|
|
after the selection's done for a limited amount of
|
|
|
|
seconds, which is specified here.</string>
|
|
|
|
</property>
|
|
|
|
<property name="wrapping">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="frame">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
|
|
</property>
|
|
|
|
<property name="minimum">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>99</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_7">
|
|
|
|
<property name="text">
|
|
|
|
<string>secs</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_5">
|
|
|
|
<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>
|
|
|
|
</item>
|
2017-06-05 13:15:38 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="showScanFlag">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Show a flag window before showing popup window, click the flag to show popup window. </string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Show scan flag when word is selected</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2018-04-16 12:23:22 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="ignoreOwnClipboardChanges">
|
|
|
|
<property name="toolTip">
|
2020-11-19 16:36:35 +00:00
|
|
|
<string>Do not show popup when selection or clipboard in one of GoldenDict's own windows changes</string>
|
2018-04-16 12:23:22 +00:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2020-11-19 16:36:35 +00:00
|
|
|
<string>Ignore GoldenDict's own selection and clipboard changes</string>
|
2018-04-16 12:23:22 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2009-05-11 11:03:36 +00:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2018-04-17 13:32:25 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="scanToMainWindow">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Send translated word to main window instead of to show it in popup window</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Send translated word to main window</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2009-05-11 11:03:36 +00:00
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer_6">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
2011-07-27 12:47:29 +00:00
|
|
|
<height>40</height>
|
2009-05-11 11:03:36 +00:00
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2009-05-24 17:38:07 +00:00
|
|
|
<widget class="QWidget" name="tab_5">
|
|
|
|
<attribute name="icon">
|
|
|
|
<iconset resource="resources.qrc">
|
2022-01-24 14:23:38 +00:00
|
|
|
<normaloff>:/icons/hotkeys.svg</normaloff>:/icons/hotkeys.svg</iconset>
|
2009-05-24 17:38:07 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Hotkeys</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_12">
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="enableMainWindowHotkey">
|
|
|
|
<property name="text">
|
|
|
|
<string>Use the following hotkey to show or hide the main window:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="HotKeyEdit" name="mainWindowHotkey">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="enableClipboardHotkey">
|
|
|
|
<property name="text">
|
|
|
|
<string>Use the following hotkey to translate a word from clipboard:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_4">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="HotKeyEdit" name="clipboardHotkey">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer_13">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>16</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_8">
|
|
|
|
<property name="text">
|
|
|
|
<string>The hotkeys are global and work from any program and within any context as long as GoldenDict is running in background.</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2009-09-29 13:01:05 +00:00
|
|
|
<item>
|
2009-05-24 17:38:07 +00:00
|
|
|
<spacer name="verticalSpacer_12">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>53</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2009-05-11 11:03:36 +00:00
|
|
|
<widget class="QWidget" name="tab_2">
|
|
|
|
<attribute name="icon">
|
|
|
|
<iconset resource="resources.qrc">
|
2022-01-26 01:30:41 +00:00
|
|
|
<normaloff>:/icons/playsound_color.svg</normaloff>:/icons/playsound_color.svg</iconset>
|
2009-05-11 11:03:36 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute name="title">
|
|
|
|
<string>&Audio</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_7">
|
|
|
|
<item>
|
2010-01-02 18:16:22 +00:00
|
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
|
|
<property name="title">
|
|
|
|
<string>Pronunciation</string>
|
2009-05-11 11:03:36 +00:00
|
|
|
</property>
|
2010-01-02 18:16:22 +00:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_15">
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="pronounceOnLoadMain">
|
|
|
|
<property name="text">
|
|
|
|
<string>Auto-pronounce words in main window</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="pronounceOnLoadPopup">
|
|
|
|
<property name="text">
|
|
|
|
<string>Auto-pronounce words in scan popup</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2009-05-11 11:03:36 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2010-01-02 18:16:22 +00:00
|
|
|
<widget class="QGroupBox" name="groupBox_4">
|
|
|
|
<property name="title">
|
|
|
|
<string>Playback</string>
|
2009-05-11 11:03:36 +00:00
|
|
|
</property>
|
2018-03-29 17:00:53 +00:00
|
|
|
<layout class="QGridLayout" name="gridLayout_audioPlayer">
|
|
|
|
<item row="0" column="0">
|
2013-05-05 10:22:12 +00:00
|
|
|
<widget class="QRadioButton" name="useInternalPlayer">
|
2010-11-14 15:38:41 +00:00
|
|
|
<property name="toolTip">
|
2018-03-29 17:00:53 +00:00
|
|
|
<string>Play audio files via built-in audio support</string>
|
2010-11-14 15:38:41 +00:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2018-03-29 17:00:53 +00:00
|
|
|
<string>Use internal player:</string>
|
2012-11-23 12:43:36 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2018-03-29 17:00:53 +00:00
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QComboBox" name="internalPlayerBackend">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Choose audio back end</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QRadioButton" name="useExternalPlayer">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Use any external program to play audio files</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Use external program:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QLineEdit" name="audioPlaybackProgram">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Enter audio player command line</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2010-01-02 18:16:22 +00:00
|
|
|
</item>
|
|
|
|
</layout>
|
2009-05-11 11:03:36 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>46</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QWidget" name="tab_3">
|
|
|
|
<attribute name="icon">
|
|
|
|
<iconset resource="resources.qrc">
|
2022-01-24 14:23:38 +00:00
|
|
|
<normaloff>:/icons/network.svg</normaloff>:/icons/network.svg</iconset>
|
2009-05-11 11:03:36 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute name="title">
|
|
|
|
<string>&Network</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_9">
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="useProxyServer">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Enable if you wish to use a proxy server
|
|
|
|
for all program's network requests.</string>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Use proxy server</string>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_6">
|
|
|
|
<item>
|
2014-04-01 17:00:13 +00:00
|
|
|
<widget class="QRadioButton" name="systemProxy">
|
|
|
|
<property name="text">
|
|
|
|
<string>System proxy</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2009-05-11 11:03:36 +00:00
|
|
|
</item>
|
|
|
|
<item>
|
2014-04-01 17:00:13 +00:00
|
|
|
<widget class="QRadioButton" name="customProxy">
|
|
|
|
<property name="text">
|
|
|
|
<string>Custom proxy</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="customSettingsGroup">
|
|
|
|
<property name="title">
|
|
|
|
<string>Custom settings</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_18">
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="text">
|
|
|
|
<string>Type:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="proxyType"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="text">
|
|
|
|
<string>Host:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="proxyHost"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
<property name="text">
|
|
|
|
<string>Port:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QSpinBox" name="proxyPort">
|
|
|
|
<property name="maximum">
|
|
|
|
<number>65535</number>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>8080</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_4">
|
|
|
|
<property name="text">
|
|
|
|
<string>User:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="proxyUser"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
|
<property name="text">
|
|
|
|
<string>Password:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLineEdit" name="proxyPassword">
|
|
|
|
<property name="echoMode">
|
|
|
|
<enum>QLineEdit::Password</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2009-05-11 11:03:36 +00:00
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2009-08-31 12:18:08 +00:00
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer_14">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>10</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="disallowContentFromOtherSites">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Enabling this would make GoldenDict block most advertisements
|
|
|
|
by disallowing content (images, frames) not originating from the site
|
|
|
|
you are browsing. If some site breaks because of this, try disabling this.</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Disallow loading content from other sites (hides most advertisements)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2011-05-08 21:19:08 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="enableWebPlugins">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Enabling this would allow to listen to sound pronunciations from
|
|
|
|
online dictionaries that rely on Flash or other web plugins.
|
|
|
|
Plugin must be installed for this option to work.</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Enable web plugins</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2013-04-08 12:20:12 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="hideGoldenDictHeader">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Some sites detect GoldenDict via HTTP headers and block the requests.
|
|
|
|
Enable this option to workaround the problem.</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Do not identify GoldenDict in HTTP headers</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2020-11-12 15:57:10 +00:00
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_11">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_20">
|
|
|
|
<property name="text">
|
|
|
|
<string>Maximum network cache size:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QSpinBox" name="maxNetworkCacheSize">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Maximum disk space occupied by GoldenDict's network cache in
|
|
|
|
%1
|
|
|
|
If set to 0 the network disk cache will be disabled.</string>
|
|
|
|
</property>
|
|
|
|
<property name="suffix">
|
|
|
|
<string> MiB</string>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>2000</number>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>50</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="clearNetworkCacheOnExit">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>When this option is enabled, GoldenDict
|
|
|
|
clears its network cache from disk during exit.</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Clear network cache on exit</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_15">
|
|
|
|
<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>
|
|
|
|
</item>
|
2009-05-11 11:03:36 +00:00
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer_10">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>10</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="checkForNewReleases">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>When this is enabled, the program periodically
|
|
|
|
checks if a new, updated version of GoldenDict
|
|
|
|
is available for download. If it is so, the program
|
|
|
|
informs the user about it and prompts to open a
|
|
|
|
download page.</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Check for new program releases periodically</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer_3">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>39</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2014-04-17 14:31:51 +00:00
|
|
|
<widget class="QWidget" name="tab_FTS">
|
|
|
|
<attribute name="icon">
|
|
|
|
<iconset resource="resources.qrc">
|
2022-01-25 14:54:17 +00:00
|
|
|
<normaloff>:/icons/fulltext.svg</normaloff>:/icons/fulltext.svg</iconset>
|
2014-04-17 14:31:51 +00:00
|
|
|
</attribute>
|
|
|
|
<attribute name="title">
|
|
|
|
<string>Full-text search</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_19">
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="ftsGroupBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>Allow full-text search for:</string>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QCheckBox" name="allowAard">
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">Aard</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QCheckBox" name="allowBGL">
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">BGL</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QCheckBox" name="allowDictD">
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">DictD</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="0">
|
|
|
|
<widget class="QCheckBox" name="allowDSL">
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">DSL</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="0">
|
|
|
|
<widget class="QCheckBox" name="allowMDict">
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">MDict</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-01-22 15:17:05 +00:00
|
|
|
<item row="5" column="0">
|
2014-04-17 14:31:51 +00:00
|
|
|
<widget class="QCheckBox" name="allowSDict">
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">SDict</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-01-22 15:17:05 +00:00
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QCheckBox" name="allowSlob">
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">Slob</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2014-04-17 14:31:51 +00:00
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QCheckBox" name="allowStardict">
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">Stardict</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="1">
|
|
|
|
<widget class="QCheckBox" name="allowXDXF">
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">XDXF</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="1">
|
|
|
|
<widget class="QCheckBox" name="allowZim">
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">Zim</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2017-03-06 15:07:39 +00:00
|
|
|
<item row="4" column="1">
|
|
|
|
<widget class="QCheckBox" name="allowEpwing">
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">Epwing</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="5" column="1">
|
|
|
|
<widget class="QCheckBox" name="allowGls">
|
|
|
|
<property name="text">
|
2017-03-09 16:11:17 +00:00
|
|
|
<string notr="true">GLS</string>
|
2017-03-06 15:07:39 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-01-22 15:17:05 +00:00
|
|
|
<item row="6" column="0" colspan="2">
|
2014-04-17 14:31:51 +00:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_14">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_14">
|
|
|
|
<property name="text">
|
2014-05-11 14:39:54 +00:00
|
|
|
<string>Don't search in dictionaries containing more than</string>
|
2014-04-17 14:31:51 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QSpinBox" name="maxDictionarySize">
|
|
|
|
<property name="maximum">
|
|
|
|
<number>10000000</number>
|
|
|
|
</property>
|
|
|
|
<property name="singleStep">
|
|
|
|
<number>10000</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_15">
|
|
|
|
<property name="text">
|
|
|
|
<string>articles (0 - unlimited)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_10">
|
|
|
|
<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>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer_7">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2011-07-23 11:32:15 +00:00
|
|
|
<widget class="QWidget" name="tab_Advanced">
|
2022-01-25 14:54:17 +00:00
|
|
|
<attribute name="icon">
|
|
|
|
<iconset resource="resources.qrc">
|
|
|
|
<normaloff>:/icons/advanced.svg</normaloff>:/icons/advanced.svg</iconset>
|
|
|
|
</attribute>
|
2011-07-23 11:32:15 +00:00
|
|
|
<attribute name="title">
|
|
|
|
<string>Ad&vanced</string>
|
|
|
|
</attribute>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_11">
|
|
|
|
<item>
|
2022-03-27 06:29:06 +00:00
|
|
|
<widget class="QGroupBox" name="groupBox_ScanPopupWindowFlags">
|
2022-04-23 09:59:48 +00:00
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>83</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2022-03-27 06:29:06 +00:00
|
|
|
<property name="title">
|
|
|
|
<string>ScanPopup unpinned window flags</string>
|
|
|
|
</property>
|
|
|
|
<widget class="QComboBox" name="scanPopupUnpinnedWindowFlags">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>25</y>
|
|
|
|
<width>191</width>
|
|
|
|
<height>22</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Experiment with non-default flags if the unpinned scan popup window misbehaves</string>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string><default></string>
|
Allow customizing unpinned scan popup window flags on X11 with Qt5
My tests in many desktop environments and window managers indicate that
no single configuration works perfectly in all environments. There are
also behavior differences between Qt::Popup and Qt::Tool flags, which
are not exactly bugs, so I suppose users might subjectively prefer
different options.
Customizing the flags allows the user to prevent unpinned scan popup
window flickering with Qt5 on Linux. In a way adding these options fixes
issue #645, which is: the scan popup window blinks rapidly, barely
noticeably in some applications, such as Calibre ebook-viewer
and Chromium. In this case the scan popup window usually ends up hidden
when selection ends, unless it was finished with a jerk.
I have tested the new options in 9 desktop environments and window
managers: at least one configuration for each eliminates #645 and makes
the scan popup window work the same as with Qt4 in this regard:
the popup window remains visible, text in the popup's translation line
keeps up with the text selection in the external application,
and the selected text is being translated on the fly.
Moreover, for each tested DE/WM, at least one configuration makes
the scan popup window work perfectly as far as I am concerned.
This issue was partially worked around with a 200ms scan popup delay
timer in the recent commit 58e41fe3ceb769cab37608e36637044e597ba1f8
for the duplicate issue #854. However the timer solution is incomplete
because it requires the user to select text quickly and without delays.
If global mouse selection does not change for 200ms while the left mouse
button is held down, the user will likely not see the scan popup when
(s)he finishes selection, and will have to try selecting again -
hopefully faster this time.
The 200ms delay is no longer critically important after this commit,
but it is still beneficial: the lookup query changes less often,
which in turn reduces article definition update frequency.
So the delay improves the UI (perhaps subjectively) and performance.
2018-04-09 17:50:23 +00:00
|
|
|
</property>
|
2022-03-27 06:29:06 +00:00
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Popup</string>
|
Allow customizing unpinned scan popup window flags on X11 with Qt5
My tests in many desktop environments and window managers indicate that
no single configuration works perfectly in all environments. There are
also behavior differences between Qt::Popup and Qt::Tool flags, which
are not exactly bugs, so I suppose users might subjectively prefer
different options.
Customizing the flags allows the user to prevent unpinned scan popup
window flickering with Qt5 on Linux. In a way adding these options fixes
issue #645, which is: the scan popup window blinks rapidly, barely
noticeably in some applications, such as Calibre ebook-viewer
and Chromium. In this case the scan popup window usually ends up hidden
when selection ends, unless it was finished with a jerk.
I have tested the new options in 9 desktop environments and window
managers: at least one configuration for each eliminates #645 and makes
the scan popup window work the same as with Qt4 in this regard:
the popup window remains visible, text in the popup's translation line
keeps up with the text selection in the external application,
and the selected text is being translated on the fly.
Moreover, for each tested DE/WM, at least one configuration makes
the scan popup window work perfectly as far as I am concerned.
This issue was partially worked around with a 200ms scan popup delay
timer in the recent commit 58e41fe3ceb769cab37608e36637044e597ba1f8
for the duplicate issue #854. However the timer solution is incomplete
because it requires the user to select text quickly and without delays.
If global mouse selection does not change for 200ms while the left mouse
button is held down, the user will likely not see the scan popup when
(s)he finishes selection, and will have to try selecting again -
hopefully faster this time.
The 200ms delay is no longer critically important after this commit,
but it is still beneficial: the lookup query changes less often,
which in turn reduces article definition update frequency.
So the delay improves the UI (perhaps subjectively) and performance.
2018-04-09 17:50:23 +00:00
|
|
|
</property>
|
2022-03-27 06:29:06 +00:00
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Tool</string>
|
Allow customizing unpinned scan popup window flags on X11 with Qt5
My tests in many desktop environments and window managers indicate that
no single configuration works perfectly in all environments. There are
also behavior differences between Qt::Popup and Qt::Tool flags, which
are not exactly bugs, so I suppose users might subjectively prefer
different options.
Customizing the flags allows the user to prevent unpinned scan popup
window flickering with Qt5 on Linux. In a way adding these options fixes
issue #645, which is: the scan popup window blinks rapidly, barely
noticeably in some applications, such as Calibre ebook-viewer
and Chromium. In this case the scan popup window usually ends up hidden
when selection ends, unless it was finished with a jerk.
I have tested the new options in 9 desktop environments and window
managers: at least one configuration for each eliminates #645 and makes
the scan popup window work the same as with Qt4 in this regard:
the popup window remains visible, text in the popup's translation line
keeps up with the text selection in the external application,
and the selected text is being translated on the fly.
Moreover, for each tested DE/WM, at least one configuration makes
the scan popup window work perfectly as far as I am concerned.
This issue was partially worked around with a 200ms scan popup delay
timer in the recent commit 58e41fe3ceb769cab37608e36637044e597ba1f8
for the duplicate issue #854. However the timer solution is incomplete
because it requires the user to select text quickly and without delays.
If global mouse selection does not change for 200ms while the left mouse
button is held down, the user will likely not see the scan popup when
(s)he finishes selection, and will have to try selecting again -
hopefully faster this time.
The 200ms delay is no longer critically important after this commit,
but it is still beneficial: the lookup query changes less often,
which in turn reduces article definition update frequency.
So the delay improves the UI (perhaps subjectively) and performance.
2018-04-09 17:50:23 +00:00
|
|
|
</property>
|
2022-03-27 06:29:06 +00:00
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
<widget class="QCheckBox" name="scanPopupUnpinnedBypassWMHint">
|
|
|
|
<property name="enabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>10</x>
|
|
|
|
<y>53</y>
|
2022-04-23 09:59:48 +00:00
|
|
|
<width>271</width>
|
2022-03-27 06:29:06 +00:00
|
|
|
<height>20</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>This hint can be combined with non-default window flags</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Bypass window manager hint</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
2011-07-23 11:32:15 +00:00
|
|
|
</item>
|
2012-09-11 13:03:10 +00:00
|
|
|
<item>
|
2017-05-13 10:18:25 +00:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_15">
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="historyBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>History</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_14">
|
2013-01-17 09:08:53 +00:00
|
|
|
<item>
|
2017-05-13 10:18:25 +00:00
|
|
|
<widget class="QCheckBox" name="storeHistory">
|
2013-01-17 09:08:53 +00:00
|
|
|
<property name="toolTip">
|
2017-05-13 10:18:25 +00:00
|
|
|
<string>Turn this option on to store history of the translated words</string>
|
2013-01-17 09:08:53 +00:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2017-05-13 10:18:25 +00:00
|
|
|
<string>Store &history</string>
|
2013-01-17 09:08:53 +00:00
|
|
|
</property>
|
2017-05-13 10:18:25 +00:00
|
|
|
<property name="checked">
|
2013-01-17 09:08:53 +00:00
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2017-05-13 10:18:25 +00:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_9">
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
2013-02-05 12:51:23 +00:00
|
|
|
</property>
|
2017-05-13 10:18:25 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="historySizeLabel">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Specify the maximum number of entries to keep in history.</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Maximum history size:</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QSpinBox" name="historyMaxSizeField">
|
|
|
|
<property name="accelerated">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>99999</number>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>500</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_8">
|
|
|
|
<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>
|
2013-02-05 12:51:23 +00:00
|
|
|
</item>
|
|
|
|
<item>
|
2017-05-13 10:18:25 +00:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_10">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_10">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>History saving interval. If set to 0 history will be saved only during exit.</string>
|
|
|
|
</property>
|
|
|
|
<property name="statusTip">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Save every</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QSpinBox" name="historySaveIntervalField">
|
|
|
|
<property name="statusTip">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>120</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_11">
|
|
|
|
<property name="text">
|
|
|
|
<string>minutes</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer_9">
|
|
|
|
<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>
|
2013-02-05 12:51:23 +00:00
|
|
|
</item>
|
2017-05-13 10:18:25 +00:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="favoritesBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>Favorites</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_21">
|
2013-02-05 12:51:23 +00:00
|
|
|
<item>
|
2017-05-13 10:18:25 +00:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_16">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_17">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Favorites saving interval. If set to 0 Favorites will be saved only during exit.</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Save every</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QSpinBox" name="favoritesSaveIntervalField">
|
|
|
|
<property name="maximum">
|
|
|
|
<number>120</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_18">
|
|
|
|
<property name="text">
|
|
|
|
<string>minutes</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2013-02-05 12:51:23 +00:00
|
|
|
</item>
|
|
|
|
<item>
|
2017-05-17 15:26:32 +00:00
|
|
|
<widget class="QCheckBox" name="confirmFavoritesDeletion">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Turn this option on to confirm every operation of items deletion</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Confirmation for items deletion</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2017-05-13 10:18:25 +00:00
|
|
|
<spacer name="verticalSpacer_15">
|
2013-02-05 12:51:23 +00:00
|
|
|
<property name="orientation">
|
2017-05-13 10:18:25 +00:00
|
|
|
<enum>Qt::Vertical</enum>
|
2013-02-05 12:51:23 +00:00
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
2017-05-13 10:18:25 +00:00
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
2013-02-05 12:51:23 +00:00
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2017-05-13 10:18:25 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2012-09-11 13:03:10 +00:00
|
|
|
</item>
|
2012-09-16 10:19:47 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QGroupBox" name="groupBox_6">
|
|
|
|
<property name="title">
|
|
|
|
<string>Articles</string>
|
|
|
|
</property>
|
2018-06-13 16:00:42 +00:00
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
2022-04-23 08:15:23 +00:00
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QCheckBox" name="limitInputPhraseLength">
|
2020-11-06 19:51:30 +00:00
|
|
|
<property name="toolTip">
|
2022-04-23 08:15:23 +00:00
|
|
|
<string>Turn this option on to ignore unreasonably long input text
|
|
|
|
from mouse-over, selection, clipboard or command line</string>
|
2020-11-06 19:51:30 +00:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2022-04-23 08:15:23 +00:00
|
|
|
<string>Ignore input phrases longer than</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>false</bool>
|
2020-11-06 19:51:30 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
2013-06-02 11:20:33 +00:00
|
|
|
</item>
|
2022-04-23 08:15:23 +00:00
|
|
|
<item row="0" column="3">
|
|
|
|
<spacer name="horizontalSpacer_11">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="3">
|
|
|
|
<spacer name="horizontalSpacer_14">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>40</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2018-06-13 16:00:42 +00:00
|
|
|
<item row="0" column="1">
|
2020-11-06 19:51:30 +00:00
|
|
|
<widget class="QSpinBox" name="articleSizeLimit">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Articles longer than this size will be collapsed</string>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
|
|
|
<number>100000</number>
|
|
|
|
</property>
|
|
|
|
<property name="singleStep">
|
|
|
|
<number>50</number>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>2000</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2022-04-23 08:15:23 +00:00
|
|
|
<item row="1" column="4">
|
|
|
|
<widget class="QCheckBox" name="ignoreDiacritics">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Turn this option on to ignore diacritics while searching articles</string>
|
|
|
|
</property>
|
2020-11-06 19:51:30 +00:00
|
|
|
<property name="text">
|
2022-04-23 08:15:23 +00:00
|
|
|
<string>Ignore diacritics while searching</string>
|
2020-11-06 19:51:30 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2022-04-23 08:15:23 +00:00
|
|
|
<item row="0" column="2">
|
|
|
|
<widget class="QLabel" name="label_13">
|
2020-11-06 19:51:30 +00:00
|
|
|
<property name="text">
|
2022-04-23 08:15:23 +00:00
|
|
|
<string>symbols</string>
|
2020-11-06 19:51:30 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QSpinBox" name="inputPhraseLengthLimit">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Input phrases longer than this size will be ignored</string>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
2020-11-19 12:21:23 +00:00
|
|
|
<number>9999999</number>
|
2020-11-06 19:51:30 +00:00
|
|
|
</property>
|
|
|
|
<property name="singleStep">
|
2020-11-19 10:50:38 +00:00
|
|
|
<number>10</number>
|
2020-11-06 19:51:30 +00:00
|
|
|
</property>
|
|
|
|
<property name="value">
|
2020-11-16 14:51:52 +00:00
|
|
|
<number>1000</number>
|
2020-11-06 19:51:30 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2022-04-23 08:15:23 +00:00
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QCheckBox" name="collapseBigArticles">
|
2018-06-13 16:00:42 +00:00
|
|
|
<property name="toolTip">
|
2022-04-23 08:15:23 +00:00
|
|
|
<string>Select this option to automatic collapse big articles</string>
|
2018-06-13 16:00:42 +00:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2022-04-23 08:15:23 +00:00
|
|
|
<string>Collapse articles more than</string>
|
2018-06-13 16:00:42 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2020-11-06 19:51:30 +00:00
|
|
|
<item row="0" column="4">
|
2018-06-13 16:00:42 +00:00
|
|
|
<widget class="QCheckBox" name="alwaysExpandOptionalParts">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Turn this option on to always expand optional parts of articles</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Expand optional &parts</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2022-04-23 08:15:23 +00:00
|
|
|
<item row="1" column="2">
|
|
|
|
<widget class="QLabel" name="label_19">
|
|
|
|
<property name="text">
|
|
|
|
<string>symbols</string>
|
2018-06-13 16:00:42 +00:00
|
|
|
</property>
|
2022-04-23 08:15:23 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="4">
|
|
|
|
<widget class="QCheckBox" name="ignorePunctuation">
|
|
|
|
<property name="text">
|
|
|
|
<string>Ignore punctuation while searching</string>
|
2018-06-13 16:00:42 +00:00
|
|
|
</property>
|
2022-04-23 08:15:23 +00:00
|
|
|
</widget>
|
2018-06-13 16:00:42 +00:00
|
|
|
</item>
|
2012-09-16 10:19:47 +00:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2017-03-09 16:11:17 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="synonymSearchEnabled">
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Turn this option on to enable extra articles search via synonym lists
|
|
|
|
from Stardict, Babylon and GLS dictionaries</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Extra search via synonyms</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2011-07-23 11:32:15 +00:00
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer_17">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2009-05-11 11:03:36 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
2014-06-24 13:55:06 +00:00
|
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
|
2009-05-11 11:03:36 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>HotKeyEdit</class>
|
|
|
|
<extends>QLineEdit</extends>
|
|
|
|
<header>hotkeyedit.hh</header>
|
|
|
|
</customwidget>
|
2012-12-10 14:14:13 +00:00
|
|
|
<customwidget>
|
|
|
|
<class>StylesComboBox</class>
|
|
|
|
<extends>QComboBox</extends>
|
|
|
|
<header>stylescombobox.hh</header>
|
|
|
|
</customwidget>
|
2009-05-11 11:03:36 +00:00
|
|
|
</customwidgets>
|
|
|
|
<tabstops>
|
|
|
|
<tabstop>tabWidget</tabstop>
|
|
|
|
<tabstop>buttonBox</tabstop>
|
|
|
|
<tabstop>newTabsOpenInBackground</tabstop>
|
|
|
|
<tabstop>newTabsOpenAfterCurrentOne</tabstop>
|
|
|
|
<tabstop>enableTrayIcon</tabstop>
|
|
|
|
<tabstop>startToTray</tabstop>
|
|
|
|
<tabstop>closeToTray</tabstop>
|
|
|
|
<tabstop>cbAutostart</tabstop>
|
|
|
|
<tabstop>interfaceLanguage</tabstop>
|
|
|
|
<tabstop>startWithScanPopupOn</tabstop>
|
|
|
|
<tabstop>enableScanPopupModifiers</tabstop>
|
|
|
|
<tabstop>leftCtrl</tabstop>
|
|
|
|
<tabstop>rightShift</tabstop>
|
|
|
|
<tabstop>altKey</tabstop>
|
|
|
|
<tabstop>ctrlKey</tabstop>
|
|
|
|
<tabstop>leftAlt</tabstop>
|
|
|
|
<tabstop>shiftKey</tabstop>
|
|
|
|
<tabstop>rightAlt</tabstop>
|
|
|
|
<tabstop>rightCtrl</tabstop>
|
|
|
|
<tabstop>leftShift</tabstop>
|
|
|
|
<tabstop>winKey</tabstop>
|
|
|
|
<tabstop>scanPopupAltMode</tabstop>
|
|
|
|
<tabstop>scanPopupAltModeSecs</tabstop>
|
|
|
|
<tabstop>useProxyServer</tabstop>
|
|
|
|
<tabstop>proxyType</tabstop>
|
|
|
|
<tabstop>proxyHost</tabstop>
|
|
|
|
<tabstop>proxyPort</tabstop>
|
|
|
|
<tabstop>proxyUser</tabstop>
|
|
|
|
<tabstop>proxyPassword</tabstop>
|
|
|
|
</tabstops>
|
|
|
|
<resources>
|
|
|
|
<include location="resources.qrc"/>
|
|
|
|
</resources>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>Preferences</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>248</x>
|
|
|
|
<y>254</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>157</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
<receiver>Preferences</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>316</x>
|
|
|
|
<y>260</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>286</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|