Commit graph

135 commits

Author SHA1 Message Date
Abs62 c23e09b57b Properly restore main window maximized state when it activated through tray icon 2013-01-24 00:36:53 +04:00
Tvangeste 08ca79c272 Fixed #188: Switching the UI mode should focus the translate line and update it. 2013-01-23 20:11:39 +01:00
Tvangeste 48801fc7a8 Fixed #186: F3 and Shift+F3 shortcuts are no longer global in the main window. 2013-01-23 19:36:45 +01:00
Tvangeste ea51feb810 Tweaks for the Menu Button size (closes #176). 2013-01-23 14:40:49 +01:00
Tvangeste bb3a35e7ff Fixed Issue #184: F3 and Shift-F3 shortcuts don't work in a scan popup window when Search is activated
Also fixed  #185: Dictionaries menu uses hardcoded shortcut value in its text.
2013-01-22 22:16:54 +01:00
Tvangeste 7232859184 Additional shortcut for ZoomIn/WordsZoomIn actions (Ctrl+= and Alt+=).
Browsers do the same for the ZoomIn action, so that it is easier
to press with just two button presses instead of three.
2013-01-22 00:05:50 +01:00
Tvangeste 6c032b5185 Fixed #178: Word Zoom Level is not preserved when switching UI modes (Ctrl+S). 2013-01-21 22:49:58 +01:00
Tvangeste 77a992a296 Fixed #176: Menu button is not centered when toolbar is vertically positioned.
We just disable the Left and Right areas for the main toolbar in the new UI mode. :)
2013-01-21 21:53:53 +01:00
Tvangeste d5dd8eb940 Do not store the welcome page in the user history. 2013-01-20 19:26:17 +01:00
Tvangeste 4d5665d816 Make the default history item length to be the same as the limit for the headwords.
So, it is 256 now.

And configurable via the same parameter in the config file: maxHeadwordSize.
2013-01-17 15:24:13 +01:00
Tvangeste 3ed7772996 History Pane rewrite.
The new History Pane features proper mouse and keyboard navigation,
multiple selection and ability to remove the selected entries,
plus a dynamic context menu. Additionaly, the History's size is now
configurable in Preferences.

Use Ctrl+H to show/hide the History Pane.

History Pane's titlebar can be styled via #historyPaneTitleBar, e.g.:

/* Colored header for the History Pane */
  background: lightsteelblue;
  margin: 2px;
}

Closes #162: Make History sidebar independent from the Search Pane
Closes #159: "Send to main window" button from Pop-Up window does nothing when History is shown
Closes #158: Preserve History mode after restart
Closes #157: History with new UI: New words are not added when History is shown
Closes #156: History with new UI: Extra Groups widget in History is shown
Closes #155: History with new UI: Arrow keys navigation in History doesn't work
Closes #154: History with new UI: DEL key does not delete the current history entry
2013-01-17 10:08:53 +01:00
Abs62 c40de2dbf6 Fix send word to main window for new UI when history view mode is on 2013-01-10 23:10:48 +04:00
Tvangeste bba95a2f3f Make sure that UI mode and Always On Top flag are preserved on config changes. 2013-01-09 13:17:15 +01:00
Tvangeste 9e29b43922 Restored the code to add actions from the hidden menu back to the main window.
So that if Menu Button is hidden (or the whole toolbar is hidden) all
the actions would still work, including the one to show the main menu back.

One of the possibilities when the Menu Button is hidden is when not all
toolbar buttons fit into winow and are being automatically hidden.
2013-01-06 13:46:34 +01:00
Tvangeste ed6d23d27d Fixed #152: Magic wand is located before the translation input, should be after. 2013-01-06 12:22:20 +01:00
Tvangeste 9ad4da4cb5 Fixed #143: Make the new UI mode the default one. 2013-01-05 12:35:18 +01:00
Tvangeste 43e9417663 Fixed Issue #148: Menubar toggle state is not remembered on program restart. 2013-01-04 22:42:25 +01:00
Tvangeste fb33faabbc Fixed Issue #149: ESC does not work in the input dropdown field of the new UI 2013-01-02 10:55:23 +01:00
Julian Depetris Chauvin 0638f1b8dc Zoom in/out with Ctrl + Scroll wheel
This is standard behavior in pretty much any modern application (Notepad, Explorer, PDF reader and all browsers).
2013-01-01 20:05:29 -03:00
Tvangeste 915384d9d0 MenuButton should not have focus. 2012-12-31 19:23:47 +01:00
Tvangeste 0a355bf6d0 Added shortcuts for the both sidepanels (Ctrl+S for search, Ctrl+R for results navigation). 2012-12-30 11:06:58 +01:00
Tvangeste 321df3c224 Added menu accelerators. 2012-12-30 10:29:19 +01:00
Tvangeste 747b227653 Proper checkmark for the Menubar action. 2012-12-29 21:24:48 +01:00
Tvangeste e8cefa1330 Added a new "Menu Button" when the main menubar is hidden.
This button is very similar to Chrome browser's (wrench) button.
2012-12-29 19:46:43 +01:00
Tvangeste cb8724ce1c Implemented "Always on Top" functionality.
This feature has been frequently requested by various users.
2012-12-29 12:29:37 +01:00
Abs62 402b481d74 Focus GoldenDict window after restoring it from tray by hotkey under Ubuntu (issue #95) 2012-12-29 14:01:36 +04:00
Tvangeste 32b77e2848 Tweaked content margins for dictsPane. 2012-12-27 13:11:11 +01:00
Tvangeste 14ba44980c Names for backButton, forwardButton, soundButton and a couple of separators. 2012-12-27 09:30:43 +01:00
Tvangeste 35cda1c22c Name print, save, zoomIn, zoomOut and zoomBase buttons for convenient CSS styling. 2012-12-26 18:16:21 +01:00
Tvangeste 26f87ddcc6 Move Print and Save buttons further down.
The buttons are rarerly used and there is no point in keeping them close
to the beginning of the toolbar.
2012-12-26 15:04:32 +01:00
Tvangeste 7c903dd2b2 Some more cases where it is appropriate to hide the word list. 2012-12-25 21:38:28 +01:00
Tvangeste 70a2c8bfbe Minor bugfixes for the new UI mode. 2012-12-25 11:12:13 +01:00
Tvangeste 42c3b37a45 Fixed issue #144: wordlist suggestions stay on the screen even when the window is moved/resized. 2012-12-25 10:25:54 +01:00
Tvangeste cfa66ff0a1 Fixed regression #141. 2012-12-24 22:58:00 +01:00
Tvangeste da13998518 Updated UI: Browser-like interface vs search in the sidebar.
Users now have a choice:

* The new way: The field to enter words located like in all browsers, in the toolbar.
* The old way: to search in the sidebar.

Both UI modes are supported and can be switched between via View -> Search Pane menu.
2012-12-24 12:30:03 +01:00
Abs62 ce742142a1 Some strange crashes 2012-12-22 21:46:53 +04:00
Abs62 9c9faff6f6 Show dictionary info on right click in groups edit dialog 2012-12-20 17:25:03 +04:00
Abs62 0ed97ae6d3 Uninitialized variable in windows builds 2012-12-13 20:17:44 +04:00
Abs62 8901dccbef Switch user styles on-the-fly 2012-12-10 18:14:13 +04:00
Abs62 5070b5b859 std::vector -> QVector in config 2012-12-10 16:49:45 +04:00
Vladimir Sizikov 1907ddab94 Second part of renamings activated() -> triggered().
Using triggered() is a proper Qt 4.* way.
2012-12-04 09:33:47 +01:00
Tvangeste 2836b66d54 Renamed Qt3-legacy *_activated() -> *_triggered().
This fixes the problems on pure Qt4-only environments.
2012-12-03 22:58:55 +01:00
Abs62 e28b25a76e Change zoom limit from 3x to 5x 2012-12-03 17:13:13 +04:00
Abs62 af7947f163 Fix commit e6457a1e (enable edit only dsl and xdxf dictionaries) 2012-11-29 21:12:54 +04:00
Abs62 e6457a1e27 Call external editor for dictionaries 2012-11-28 23:32:37 +04:00
Abs62 0dcbfd849f Send word to input line via context menu 2012-11-26 17:13:13 +04:00
Abs62 1bbcc29523 Show translation again after click on selected word in the words search list 2012-11-25 15:37:57 +04:00
Abs62 ceb2f4f8bc Fix crash in some cases after new group adding 2012-11-17 12:20:18 +04:00
Abs62 e26cb52af1 Lost some settings when "Options" dialog called (issue #135) 2012-11-12 18:34:47 +04:00
Abs62 259efae81c Update history when clicking links on page (issue #120) 2012-11-12 17:52:54 +04:00