goldendict-ng/dictspanewidget.hh
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

24 lines
529 B
C++

/* This file is (c) 2008-2011 Konstantin Isakov <ikm@goldendict.org>
* Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
#ifndef __DICTSPANEWIDGET_HH_INCLUDED__
#define __DICTSPANEWIDGET_HH_INCLUDED__
#include <QWidget>
#include <QSize>
/// A widget holding the contents of the 'Dictionaries pane' docklet.
class DictsPaneWidget: public QWidget
{
public:
DictsPaneWidget( QWidget * parent = 0 ): QWidget( parent )
{}
virtual QSize sizeHint() const
{ return QSize( 204, 204 ); }
};
#endif