diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-12-21 12:13:04 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-12-21 12:13:04 +0100 |
commit | e95965843d1d1ecc72dfc22c59d47bf5caa11756 (patch) | |
tree | 738abb9ec465b9272da29cbea57ec638e207e369 /src/forms/searchform.h | |
parent | Bug fixes (diff) | |
download | smolbote-e95965843d1d1ecc72dfc22c59d47bf5caa11756.tar.xz |
Added Search Box
Diffstat (limited to 'src/forms/searchform.h')
-rw-r--r-- | src/forms/searchform.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/forms/searchform.h b/src/forms/searchform.h new file mode 100644 index 0000000..646d4d4 --- /dev/null +++ b/src/forms/searchform.h @@ -0,0 +1,34 @@ +/* + * 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: git://neueland.iserlohn-fortress.net/smolbote.git + * + * 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(); + +protected: + void focusInEvent(QFocusEvent *e); + +private: + Ui::SearchForm *ui; +}; + +#endif // SEARCHFORM_H |