From 3cca0fa651fae8d928572bb0385141a6d0ce2af4 Mon Sep 17 00:00:00 2001 From: Xiao YiFang Date: Wed, 19 Apr 2023 23:53:41 +0800 Subject: [PATCH] fix: interface language display in elide mode fix #534 --- src/ui/preferences.ui | 243 +++++++++++++++++++----------------------- 1 file changed, 110 insertions(+), 133 deletions(-) diff --git a/src/ui/preferences.ui b/src/ui/preferences.ui index 71aeac6e..f3842586 100644 --- a/src/ui/preferences.ui +++ b/src/ui/preferences.ui @@ -14,7 +14,7 @@ Preferences - + :/icons/configure.svg:/icons/configure.svg @@ -43,7 +43,7 @@ - + :/icons/interface.svg:/icons/interface.svg @@ -53,28 +53,48 @@ 9 + + + + 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. + + + Automatically scroll to target article + + + true + + + - - + + Interface language: - - - - + Dictionary Font: - + + + + QComboBox::AdjustToContents + + + + @@ -87,19 +107,6 @@ - - - - Qt::Horizontal - - - - 40 - 20 - - - - @@ -124,19 +131,6 @@ - - - - Qt::Horizontal - - - - 40 - 20 - - - - @@ -161,67 +155,33 @@ - - - - When enabled, an icon appears in the system tray area which can be used -to open main window and perform other tasks. - + + - Enable system tray icon + Startup - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - - - false - - - true - - - false - - + - + - With this on, the application starts directly to system tray without showing -its main window. + Automatically starts GoldenDict after operation system bootup. - Start to system tray - - - - - - - With this on, an attempt to close main window would hide it instead of closing -the application. - - - Close to system tray + Start with system - - + + - Turn this option on if you want to select words by single mouse click + Normally, pressing ESC key moves focus to the translation line. +With this on however, it will hide the main window. - Select word by single click - - - - - - - Double-click translates the word clicked + ESC key hides main window @@ -274,31 +234,71 @@ the application. - - - - Normally, pressing ESC key moves focus to the translation line. -With this on however, it will hide the main window. - + + - ESC key hides main window + Double-click translates the word clicked - - + + + + Qt::Vertical + + + + 20 + 40 + + + + + + - 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. + When enabled, an icon appears in the system tray area which can be used +to open main window and perform other tasks. - - Automatically scroll to target article + + Enable system tray icon - + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + false + + true + + false + + + + + + With this on, the application starts directly to system tray without showing +its main window. + + + Start to system tray + + + + + + + With this on, an attempt to close main window would hide it instead of closing +the application. + + + Close to system tray + + + + @@ -354,43 +354,21 @@ be the last ones. - - - - Qt::Vertical + + + + Turn this option on if you want to select words by single mouse click - - - 20 - 40 - + + Select word by single click - - - - - - Startup - - - - - - Automatically starts GoldenDict after operation system bootup. - - - Start with system - - - - - + :/icons/wizard.svg:/icons/wizard.svg @@ -666,7 +644,7 @@ in the pressed state when the word selection changes. - + :/icons/hotkeys.svg:/icons/hotkeys.svg @@ -770,7 +748,7 @@ in the pressed state when the word selection changes. - + :/icons/playsound_color.svg:/icons/playsound_color.svg @@ -863,7 +841,7 @@ in the pressed state when the word selection changes. - + :/icons/network.svg:/icons/network.svg @@ -1246,7 +1224,7 @@ download page. - + :/icons/fulltext.svg:/icons/fulltext.svg @@ -1410,7 +1388,7 @@ download page. - + :/icons/advanced.png:/icons/advanced.png @@ -1818,7 +1796,6 @@ from Stardict, Babylon and GLS dictionaries startToTray closeToTray cbAutostart - interfaceLanguage leftCtrl rightShift altKey @@ -1837,7 +1814,7 @@ from Stardict, Babylon and GLS dictionaries proxyPassword - +