2012-02-20 21:47:14 +00:00
|
|
|
/* This file is (c) 2008-2012 Konstantin Isakov <ikm@goldendict.org>
|
2009-04-20 19:31:39 +00:00
|
|
|
* Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */
|
|
|
|
|
2024-11-07 03:53:04 +00:00
|
|
|
#pragma once
|
2009-04-20 13:25:27 +00:00
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
#include <QSize>
|
|
|
|
|
|
|
|
/// A widget holding the contents of the 'Search pane' docklet.
|
|
|
|
class SearchPaneWidget: public QWidget
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
2023-05-22 23:50:37 +00:00
|
|
|
SearchPaneWidget( QWidget * parent = nullptr ):
|
|
|
|
QWidget( parent )
|
|
|
|
{
|
|
|
|
setSizePolicy( QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Expanding );
|
|
|
|
}
|
2009-04-20 13:25:27 +00:00
|
|
|
|
|
|
|
virtual QSize sizeHint() const
|
2023-05-22 23:50:37 +00:00
|
|
|
{
|
|
|
|
return QSize( 10, 204 );
|
|
|
|
}
|
2009-04-20 13:25:27 +00:00
|
|
|
};
|