aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow/widgets/searchform.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-01-20 14:29:59 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2018-01-20 14:29:59 +0100
commit96a6749a4b66c1a59d51299216cb57336a1a4cbe (patch)
treefb6810d4d25dbe870dccb3dfaaaff3260e24decb /src/mainwindow/widgets/searchform.h
parentFixed repo location in license headers (diff)
downloadsmolbote-96a6749a4b66c1a59d51299216cb57336a1a4cbe.tar.xz
Added result label to search form
Diffstat (limited to 'src/mainwindow/widgets/searchform.h')
-rw-r--r--src/mainwindow/widgets/searchform.h35
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