goldendict-ng/src/ui/searchpanewidget.hh
shenleban tongying 618310f772
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
clean: just use #pragma once
2024-11-06 22:53:04 -05:00

25 lines
552 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 */
#pragma once
#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 );
}
};