Preferences 0 0 572 357 Preferences :/icons/configure.png:/icons/configure.png true 0 15 15 :/icons/interface.png:/icons/interface.png &Interface Qt::Vertical 20 40 Tabbed browsing Normally, opening a new tab switches to it immediately. With this on however, new tabs will be opened without switching to them. Open new tabs in background With this on, new tabs are opened just after the current, active one. Otherwise they are added to be the last ones. Open new tabs after the current one Select this option if you don't want to see the main tab bar when only a single tab is opened. Hide single tab 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 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 Startup Automatically starts GoldenDict after operation system bootup. Start with system Interface language: Qt::Horizontal QSizePolicy::Fixed 40 20 Display style: Qt::Horizontal 40 20 Qt::Vertical 20 40 Qt::Vertical QSizePolicy::Fixed 20 9 Double-click translates the word clicked 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 :/icons/wizard.png:/icons/wizard.png &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. Enable scan popup functionality true false Chooses whether the scan popup mode is on by default or 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 0 0 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 be pressed shortly after the selection is done. Keys may also be pressed afterwards, within To avoid false positives, the keys are only monitored after the selection's done for a limited amount of seconds, which is specified here. false true Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter 1 99 secs Qt::Horizontal 40 20 Send translated word to main window instead of to show it in popup window Send translated word to main window Qt::Vertical 20 40 :/icons/hotkeys.png:/icons/hotkeys.png Hotkeys Qt::Vertical 20 19 Use the following hotkey to show or hide the main window: Qt::Horizontal 40 20 false Use the following hotkey to translate a word from clipboard: Qt::Horizontal 40 20 false Qt::Vertical QSizePolicy::Fixed 20 16 The hotkeys are global and work from any program and within any context as long as GoldenDict is running in background. true <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#ff0000;">Note: You appear to be running an X.Org XServer release which has the RECORD extension broken. Hotkeys in GoldenDict will probably not work. This must be fixed in the server itself. Please refer to the following </span><a href="https://bugs.freedesktop.org/show_bug.cgi?id=20500"><span style=" text-decoration: underline; color:#0000ff;">bug entry</span></a><span style=" color:#ff0000;"> and leave a comment there if you like.</span></p></body></html> Qt::RichText true true Qt::Vertical 20 53 :/icons/playsound.png:/icons/playsound.png &Audio Qt::Vertical 20 40 Pronunciation Auto-pronounce words in main window Auto-pronounce words in scan popup Playback Use Windows native playback API. Limited to .wav files only, but works very well. Play via Windows native API Play audio via Phonon framework. May be somewhat unstable, but should support most audio file formats. Play via Phonon true Use any external program to play audio files Use external program: false Qt::Vertical 20 46 :/icons/network.png:/icons/network.png &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 Qt::Vertical QSizePolicy::Fixed 20 10 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. Disallow loading content from other sites (hides most advertisements) 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. Enable web plugins Qt::Vertical QSizePolicy::Fixed 20 10 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. Check for new program releases periodically Qt::Vertical 20 39 Ad&vanced ScanPopup extra technologies Try to use IAccessibleEx technology to retrieve word under cursor. This technology works only with some programs that support it (for example Internet Explorer 9). It is not needed to select this option if you don't use such programs. Use &IAccessibleEx Try to use UI Automation technology to retrieve word under cursor. This technology works only with some programs that support it. It is not needed to select this option if you don't use such programs. Use &UIAutomation Try to use special GoldenDict message to retrieve word under cursor. This technology works only with some programs that support it. It is not needed to select this option if you don't use such programs. Use &GoldenDict message Qt::Vertical 20 40 Qt::Horizontal QDialogButtonBox::Cancel|QDialogButtonBox::Ok HotKeyEdit QLineEdit
hotkeyedit.hh
tabWidget buttonBox newTabsOpenInBackground newTabsOpenAfterCurrentOne enableTrayIcon startToTray closeToTray cbAutostart interfaceLanguage startWithScanPopupOn enableScanPopupModifiers leftCtrl rightShift altKey ctrlKey leftAlt shiftKey rightAlt rightCtrl leftShift winKey scanPopupAltMode scanPopupAltModeSecs useProxyServer proxyType proxyHost proxyPort proxyUser proxyPassword buttonBox accepted() Preferences accept() 248 254 157 274 buttonBox rejected() Preferences reject() 316 260 286 274