Commit graph

123 commits

Author SHA1 Message Date
Abs62 3bd82ef752 "Open dictionary folder" action in context menu (issue #344) 2013-06-09 17:31:57 +04:00
Timon Wong a08102dd42 Win-Specific: Fix hotkey handling in Qt5 2013-06-08 22:36:05 +08:00
Timon Wong 6f2ab430ec Merge branch 'master' into qt4x5
Conflicts:
	article_maker.cc
	dsl.cc
	mainwindow.cc
2013-06-08 12:27:18 +08:00
Abs62 cce47a77c3 Don't delete latest release reply directly in slot 2013-06-07 16:59:18 +04:00
Timon Wong 8015841a1a Replace Q_WS_X11 -> HAVE_X11 2013-05-31 13:28:36 +08:00
Timon Wong 1ba03a326d Add an option to enable saving resource files with articles (#321) 2013-05-27 19:18:13 +08:00
Abs62 d1a4db20e8 Window activation under Linux again (issue #235) 2013-03-11 16:56:26 +04:00
Abs62 0ac060576d Save images and sounds via context menu (issue #223) 2013-02-22 16:44:23 +04:00
Tvangeste 404a16442b Fixed #205: Visual glitches in the new UI on KDE/Linux. 2013-02-07 16:24:24 +01:00
Abs62 9e3dd433a8 Don't show welcome page header in window title (issue #195) 2013-01-31 17:01:08 +04:00
Tvangeste 3258ad89f5 Fixed #191: New UI in the scan popup, replace 3 separate widgets with the translate box. 2013-01-25 16:42:44 +01:00
Abs62 c23e09b57b Properly restore main window maximized state when it activated through tray icon 2013-01-24 00:36:53 +04: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 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
Tvangeste 9ad4da4cb5 Fixed #143: Make the new UI mode the default one. 2013-01-05 12:35:18 +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 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
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 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 8901dccbef Switch user styles on-the-fly 2012-12-10 18:14:13 +04: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 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 259efae81c Update history when clicking links on page (issue #120) 2012-11-12 17:52:54 +04:00
Abs62 3c2990bf23 Own muted dictionaries list for each group 2012-09-26 17:13:47 +04:00
Abs62 4c5e79c2b2 Add "Dictionary info" item to dictionary bar context menu 2012-09-25 17:13:35 +04:00
Abs62 09b9e9aa46 Win-specific: Show translation in popup window istead of sending word to GD main window while scanning GD main window 2012-09-24 17:20:58 +04:00
Abs62 34419706c9 Show information about a dictionary on rigth mouse click in "Found in" pane 2012-09-24 16:51:51 +04:00
Abs62 83bdb1db6f Ctrl(Shift)+Click on "Found in dictionaries" pane do same action as on dictionary toolbar 2012-09-19 16:44:36 +04:00
Abs62 3de1e09663 Win-specific: Scan popup now work in GoldenDict article tabs 2012-09-19 03:01:31 +04:00
Abs62 305c9ed1b8 Show/hide optional parts of articles (DSL dictionaries only) 2012-09-16 14:19:47 +04:00
Abs62 ea442909ae Add word to history through context menu 2012-09-12 18:11:30 +04:00
Abs62 5ceab47fb3 Focus word list in history review mode 2012-09-12 16:32:29 +04:00
Abs62 54bba79c60 Allow history import during history review 2012-09-10 20:23:58 +04:00
Abs62 b3439fc4a0 Import history from file 2012-09-10 17:01:35 +04:00
Abs62 52fbeac618 Show new translation after group changing 2012-09-03 16:42:43 +04:00
Julian Depetris Chauvin ba2ce47ae3 Merge branch 'themighty1-mru-tab' 2012-04-02 15:41:58 -03:00
Abs62 535fe0d3e0 Update year in copyright notices. 2012-02-21 01:47:14 +04:00
Abs62 efba96f0d6 Export history to file 2012-02-17 16:01:52 +04:00
wwwwww 753b0185df MRU tab switching implemented 2012-02-17 00:00:00 +02:00
Abs62 11561ac4af Large search history 2012-02-16 18:56:25 +04:00
Abs62 9a1ceff5d8 1. Add button to scan popup window to send translated word into main window
2. Add option to use main window instead of scan popup window
2011-11-16 16:52:25 +04:00
Julian Depetris Chauvin a7cb431c72 Clicking on "...." in the article view's context menu opens the Results Navigation Pane (if closed and is not popup window), focuses on the next dictionary entry on it and scrolls to the next dictionary in the article view. If user is using the popup window it just scrolls to the next dictionary. 2011-07-30 21:11:07 -03:00
Tvangeste 4163bce8a2 Various status bar related fixes:
* Status Bar now available for Scan Popup window as well.
* Fixed #13: Eliminated modal box when sound is not available:
  Instead of modal dialog box we now show the status bar message,
  with error icon, thus making it visible but not disruptive.
* Proper handling of status bar images.
* Styling of the status bar in both modes
  (in Mani Window and in Popup Window).
2011-07-14 22:11:57 +02:00
Tvangeste 6693aefb3e New menu item: Help -> Configuration Folder.
I'm tired of explaining to users where their configuration
folder for GoldenDict is. :)
2011-07-10 09:36:43 +02:00
Tvangeste 79dbce2bb3 Sync between the currently active article and the "found in dictionaries" pane.
Now when a user activates an article (by clicking on it, or by using Alt-Up/Down shortcuts),
corresponding dictionary in the "found in dictionaries" pane is selected.

See Issue #22.

P.S. Lingvo behaves in the same way too.
2011-07-03 19:59:17 +02:00
Tvangeste ad75c8992c Hovered link notifications in the status bar, just like in browsers.
Move the mouse pointer over the link and see the status bar updated.
2011-07-02 15:04:49 +02:00
Julian Depetris Chauvin c1ad1ec880 Code refactor to get current article view. 2011-07-01 16:22:40 -03:00
Julian Depetris Chauvin 5f97db0449 Add shortcuts for Previous/Next actions on Article search (Ctrl + F) 2011-06-30 09:45:05 -03:00
Tvangeste d46e4dc77b Chrome-style statusbar for GoldenDict.
* Small pop-up window at the bottom of the main winodw instead
  of traditional status bar, that consumes lots of space.
* API, similar to standard Qt's status bar.
* The status bar hides itself after specified amount of time.
* Clicking on the status bar also hides it.
* Properly behavies on resizes/moves/focus/etc.
* Tested on Linux and Windows.
2011-06-27 20:54:15 +02:00
Tvangeste ca292db64a Menubar can be hidden with Ctrl+M shortuct now.
Plus, added a menu item to do that, and the status notification.
2011-06-26 13:56:34 +02:00
Tvangeste 9bc413b2c0 Window title now shows the current headword (the current tab name). 2011-06-25 09:53:45 +02:00
Tvangeste 3266a6ef4c Added "New Tab" menu, plus corrected copyright headers. 2011-06-25 09:34:28 +02:00
Tvangeste 2a31365012 Deal with X11 headers mess that causes compilation errors 2011-06-09 09:29:21 +02:00
Konstantin Isakov b8b7bffb13 Merge commit 'refs/merge-requests/15' of git://gitorious.org/goldendict/goldendict 2011-06-07 19:35:43 -07:00
Tvangeste 6f192dca6e Enable/disable Back and Forward buttons depending on the history.
This is a standard behavior for any history-enabled app
(like web browser). When there is no previous or next item
in the history, the appropriate button on the toolbar
is disabled.
2011-06-07 18:52:51 +02:00
Tvangeste c6e8b4998f Handling of backward and forward mouse buttons.
They now do what is most logical for them to do: going
backwards and forwards in history.
2011-06-07 10:26:49 +02:00
Tvangeste 3762f22e76 Implemented Dictionaries Pane, to show dicts in which results were found.
It is a separate detacheable pane, which could also be enabled/disabled,
it tracks the current tab's contains, and lists those dictionaries that
contributed their content to the current translation.

Clicking on dictionary name jumps to the appropriate article from
this dictionary, which improves the navigation flow.

The Dictionaries Pane:
  * Shows both dictionaries' names and icons.
  * Does not consume resources when hidden.
  * Properly styled.
  * Properly handles app-wide shortcuts
    (Esc, Ctrl-L, Alt-D, Enter, Alt-Up/Down).
2011-06-05 13:49:50 +02:00
Konstantin Isakov adc4c56954 When scan pop-up button is hidden on the toolbar, hide the extra separator as well (patch by Gloggy <glogg@mail.ru>) 2011-05-30 20:35:43 -07:00
Julian Depetris Chauvin 4951f9311d Option to use small icons in toolbars of main window. 2011-05-28 19:26:54 -03:00
Julian Depetris Chauvin b1965dd44c Add a "Enable web plugins" option under Edit > Preferences > Network. It allows to listen to sound pronunciations from online dictionaries that rely on flash plugin such as howjsay.com and dictionary.com. Plugin must be installed for this option to work. See http://doc.trolltech.com/4.5/qtwebkit.html#netscape-plugin-support 2011-05-08 19:12:44 -03:00
Julian Depetris Chauvin 891f316015 Restore default behaviour for ESC key. There is now a "ESC key hides main window" option under Edit > Preferences > Interface. 2011-05-07 10:42:49 -03:00
Julian Depetris Chauvin 0f5d4aa04e close main window on ESC (additionally to Ctrl + F4). To achieve this remove ESC as a shortcut to switch focus to word input. This action is already performed by typing just any key on the ArticleView and with Alt+D and Ctrl+L key combinations on MainWindow. 2011-04-30 20:46:45 -03:00
Konstantin Isakov 92eceb8cad Change email from @users.berlios.de to @goldendict.org. 2010-12-09 15:31:50 +03:00
Konstantin Isakov 63e99204fc Switch to QtSingleApplication for maintaining single instance running.
This should put an end to all those pidfile-related problems.
2010-11-20 16:43:55 +03:00
Konstantin Isakov 1dafa5cb16 Allow styling of translate line and word list dependent on the current group by introducing a currentGroup Qt property.
To use, create ~/.goldendict/qt-style.css like this:

MainWindow #searchPane #translateLine[currentGroup="En"], MainWindow #searchPane #wordList[currentGroup="En"]
{
  background: white;
  color: black;
  font-size: 20px;
}
2010-11-15 18:22:35 +03:00
Konstantin Isakov 953d9237a3 Update copyright to span to 2011.
Better early than late, this year is ending anyway.
2010-11-14 18:47:03 +03:00
ars aad0f9b4c1 added drop-down tab list 2010-09-16 20:52:40 +02:00
Konstantin Isakov 71519ff19b Add support for zooming fonts in word list and translate line. 2010-07-02 15:19:02 +04:00
Konstantin Isakov 15d3ccbc83 Properly handle QApplication::commitData(), hopefully providing proper config file saving when the system shuts down. 2010-06-28 19:14:07 +04:00
Konstantin Isakov ab88fa4867 Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
Renamed from src/mainwindow.hh (Browse further)