From 96a6749a4b66c1a59d51299216cb57336a1a4cbe Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 20 Jan 2018 14:29:59 +0100 Subject: Added result label to search form --- src/mainwindow/widgets/searchform.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/mainwindow/widgets/searchform.h (limited to 'src/mainwindow/widgets/searchform.h') diff --git a/src/mainwindow/widgets/searchform.h b/src/mainwindow/widgets/searchform.h new file mode 100644 index 0000000..94cc2a9 --- /dev/null +++ b/src/mainwindow/widgets/searchform.h @@ -0,0 +1,35 @@ +/* + * This file is part of smolbote. It's copyrighted by the contributors recorded + * in the version control history of the file, available from its original + * location: https://neueland.iserlohn-fortress.net/smolbote.hg + * + * SPDX-License-Identifier: GPL-3.0 + */ + +#ifndef SEARCHFORM_H +#define SEARCHFORM_H + +#include + +namespace Ui +{ +class SearchForm; +} + +class MainWindow; +class SearchForm : public QWidget +{ + Q_OBJECT + +public: + explicit SearchForm(MainWindow *parentWindow, QWidget *parent = nullptr); + ~SearchForm() override; + +protected: + void focusInEvent(QFocusEvent *e) override; + +private: + Ui::SearchForm *ui; +}; + +#endif // SEARCHFORM_H -- cgit v1.2.1