Commit graph

18 commits

Author SHA1 Message Date
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)