Commit graph

280 commits

Author SHA1 Message Date
Tvangeste a3e9eb9cb4 Fixed Shift-Tab problems, reported in #22. 2011-07-04 10:35:56 +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
Konstantin Isakov ace090d434 Merge pull request #10 from chulai/highlight-all-search
Add "Highlight all" to Article search (Ctrl + F)
2011-07-01 20:57:05 -07:00
Julian Depetris Chauvin 68b847f02b Use just one color for selecting and searching. This simplify things and avoid several issues (Check https://github.com/goldendict/goldendict/pull/10) 2011-06-30 14:56:02 -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
Julian Depetris Chauvin c55061c302 Add "Highlight all" to Article search (Ctrl + F) 2011-06-29 14:42:16 -03:00
Abs62 36e509a2ab Replace printf in code by a macro DPRINTF 2011-06-19 22:50:11 +04:00
Tvangeste df7bd52980 Make icons visible in history and context menus. 2011-06-12 20:50:54 +02:00
Julian Depetris Chauvin 207b780304 Add maxDictionaryRefsInContextMenu to config file to allow to change number of dictionaries in the context menu (Right-click on the definitions frame). Default to 20. 2011-06-09 19:54:57 -03: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
Konstantin Isakov 0712d8fd96 Don't allow navigating back to the empty initial pages. 2011-06-07 00:57:25 -07:00
Tvangeste 4e6e0a5e05 Fixes after code review:
* Replaced the search via dictionary name by search via dictionary id, cleanup
* Renamed "Dictionaries Pane" --> "Results Navigation Pane"
* Added to CREDITS
* TODO note about code duplication
2011-06-06 11:54:23 +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 40fa922de6 Add new program type - 'Prefix Match', which allows listing word matches as you type. 2011-06-04 14:35:09 -07:00
Konstantin Isakov 9960efc00d Add support for launching arbitrary executables (tts, manpages etc). 2011-05-28 22:08:37 -07:00
Konstantin Isakov eee568860e Keys with Shift pressed are to be interpreted as typing events (undoes a change by jdepetris) 2011-05-08 14:24:41 -07:00
Julian Depetris Chauvin 3bd9c48fe7 support Shift + Enter and Shift + double click to open a definition in a new tab (Opera browser standard) in addition to Ctrl + Enter and Ctrl + double click (other browsers standard). The selection with Shift + double click is not as perfect as with Ctrl + double click but it's ok. 2011-05-01 21:37:56 -03:00
Konstantin Isakov 92eceb8cad Change email from @users.berlios.de to @goldendict.org. 2010-12-09 15:31:50 +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
Konstantin Isakov eea1e3a2df Re-introduce native Windows audio playback.
This one can only play .wav files, but is far more stable than Phonon.
Any existing installations would auto-switch from Phonon to this one.
Any attempt to play a non-wav file would suggest switching to Phonon.
2010-11-14 18:38:41 +03:00
Konstantin Isakov 8691356031 Babylon bword:// links referring to words with spaces now work (patch by zhangjinsong) 2010-10-06 22:33:41 -07:00
ars 5136c09b12 double click on a word with while Control key is down opens translation in a new tab 2010-09-16 20:53:39 +02:00
Konstantin Isakov 957dbc7a0b Correctly display custom icons in tabs. 2010-07-05 23:47:22 +04:00
Konstantin Isakov da991187ed Properly support file:// external links in the articles. 2010-06-30 20:43:08 +04:00
Konstantin Isakov 9eb20cf0b6 Play audio files from websites.
Here we also add Google as a web dictionary as an initial website example.
Sounds there work just fine.
2010-05-29 15:33:04 +04:00
Konstantin Isakov ab88fa4867 Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
Renamed from src/articleview.cc (Browse further)