diff --git a/src/preferences.ui b/src/preferences.ui index c6a556b4..fdecbc06 100644 --- a/src/preferences.ui +++ b/src/preferences.ui @@ -6,8 +6,8 @@ 0 0 - 400 - 540 + 402 + 261 @@ -16,392 +16,509 @@ true - + - - - When enabled, an icon appears in the sytem tray area which can be used + + + 0 + + + + &Interface + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + When enabled, an icon appears in the sytem tray area which can be used to open main window and perform other tasks. - - - 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 + + + 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 + + + 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 - - - - - - - - - - When enabled, a translation popup window would be shown each time + + + Close to system tray + + + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + + &Scan Popup + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + 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. - - - Scan popup functionality - - - true - - - false - - - - - - Chooses whether the scan popup mode is on by default nor not. If checked, -the program would always start with the scan popup active. - - - Start with scan popup turned on - - - - - - - With this enabled, the popup would only show up if all chosen keys are -in the pressed state when the word selection changes. - - - Only show popup when all selected keys are kept pressed: - - - - - - - QFrame::NoFrame - - - QFrame::Plain - - - 0 - - - - 0 - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - Left Ctrl only - - - Left Ctrl - - - - - - - Right Shift only - - - Right Shift - - - - - - - Alt key - - - Alt - - - - - - - Ctrl key - - - Ctrl - - - - - - - Left Alt only - - - Left Alt - - - - - - - Shift key - - - Shift - - - - - - - Right Alt only - - - Right Alt - - - - - - - Right Ctrl only - - - Right Ctrl - - - - - - - Left Shift only - - - Left Shift - - - - - - - Windows key or Meta key - - - Win/Meta - - - - - - - - - QFrame::NoFrame - - - QFrame::Raised - - + + Enable scan popup functionality + + + true + + + false + + + + + + Chooses whether the scan popup mode is on by default nor not. If checked, +the program would always start with the scan popup active. + + + Start with scan popup turned on + + + + + + + With this enabled, the popup would only show up if all chosen keys are +in the pressed state when the word selection changes. + + + Only show popup when all selected keys are kept pressed: + + + + + + + QFrame::NoFrame + + + QFrame::Plain + + + 0 + + + 0 - - - 0 - - - - - + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + Left Ctrl only + + + Left Ctrl + + + + + + + Right Shift only + + + Right Shift + + + + + + + Alt key + + + Alt + + + + + + + Ctrl key + + + Ctrl + + + + + + + Left Alt only + + + Left Alt + + + + + + + Shift key + + + Shift + + + + + + + Right Alt only + + + Right Alt + + + + + + + Right Ctrl only + + + Right Ctrl + + + + + + + Left Shift only + + + Left Shift + + + + + + + Windows key or Meta key + + + Win/Meta + + + + + + + + + QFrame::NoFrame + + + QFrame::Raised + + + 0 + + + + 0 + + + + + + + + + + + + + + + + Qt::Vertical + + + + 20 + 0 + + + + + + + + + &Audio + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + Auto-pronounce words in main window + + + + + + + Auto-pronounce words in scan popup + + + + + + + + + Program to play audio files: + + + + + - - - - - - - - - Sound - - - - - - Auto-pronounce words in main window - - - - - - - Auto-pronounce words in scan popup - - - - - - - - - Program to play audio files: - - - - - - - - - - - - - - - Enable if you wish to use a proxy server + + + + + Qt::Vertical + + + + 20 + 46 + + + + + + + + + &Network + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + Enable if you wish to use a proxy server for all program's network requests. - - - Use proxy server - - - true - - - false - - - - - - - - Type: - - - - - - - - - - Host: - - - - - - - - - - Port: - - - - - - - 65535 - - - 8080 - - - - - - - - - - - User: - - - - - - - - - - Password: - - - - - - - QLineEdit::Password - - - - - - + + + Use proxy server + + + true + + + false + + + + + + + + Type: + + + + + + + + + + Host: + + + + + + + + + + Port: + + + + + + + 65535 + + + 8080 + + + + + + + + + + + User: + + + + + + + + + + Password: + + + + + + + QLineEdit::Password + + + + + + + + + + + + Qt::Vertical + + + + 20 + 39 + + + + + + - - - - Qt::Vertical - - - - 20 - 40 - - - -