mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-19 03:54:07 +00:00
b5349478cf
The next commit will add `.git-blame-ignore-revs` https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
28 lines
629 B
C++
28 lines
629 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 __SEARCHPANEWIDGET_HH_INCLUDED__
|
|
#define __SEARCHPANEWIDGET_HH_INCLUDED__
|
|
|
|
#include <QWidget>
|
|
#include <QSize>
|
|
|
|
/// A widget holding the contents of the 'Search pane' docklet.
|
|
class SearchPaneWidget: public QWidget
|
|
{
|
|
public:
|
|
|
|
SearchPaneWidget( QWidget * parent = nullptr ):
|
|
QWidget( parent )
|
|
{
|
|
setSizePolicy( QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Expanding );
|
|
}
|
|
|
|
virtual QSize sizeHint() const
|
|
{
|
|
return QSize( 10, 204 );
|
|
}
|
|
};
|
|
|
|
#endif
|