diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-01-20 14:29:59 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-01-20 14:29:59 +0100 |
commit | 96a6749a4b66c1a59d51299216cb57336a1a4cbe (patch) | |
tree | fb6810d4d25dbe870dccb3dfaaaff3260e24decb /src/mainwindow/widgets/searchform.h | |
parent | Fixed repo location in license headers (diff) | |
download | smolbote-96a6749a4b66c1a59d51299216cb57336a1a4cbe.tar.xz |
Added result label to search form
Diffstat (limited to 'src/mainwindow/widgets/searchform.h')
-rw-r--r-- | src/mainwindow/widgets/searchform.h | 35 |
1 files changed, 35 insertions, 0 deletions
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 <QWidget> + +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 |