aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow/widgets/menusearch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow/widgets/menusearch.cpp')
-rw-r--r--src/mainwindow/widgets/menusearch.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mainwindow/widgets/menusearch.cpp b/src/mainwindow/widgets/menusearch.cpp
new file mode 100644
index 0000000..2905d6d
--- /dev/null
+++ b/src/mainwindow/widgets/menusearch.cpp
@@ -0,0 +1,17 @@
+/*
+ * 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/gitea/aqua/smolbote
+ *
+ * SPDX-License-Identifier: GPL-3.0
+ */
+
+#include "menusearch.h"
+
+MenuSearch::MenuSearch(QWidget *parent)
+ : QLineEdit(parent)
+{
+ setMinimumWidth(300);
+ setPlaceholderText(tr("Find..."));
+ setClearButtonEnabled(true);
+}