mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-18 03:14:06 +00:00
3ed7772996
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
25 lines
540 B
C++
25 lines
540 B
C++
/* This file is (c) 2008-2012 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
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
|
|
DictsPaneWidget( QWidget * parent = 0 ): QWidget( parent )
|
|
{}
|
|
|
|
virtual QSize sizeHint() const
|
|
{ return QSize( 204, 204 ); }
|
|
|
|
};
|
|
|
|
#endif
|