21 #ifndef MINISEARCHER_H
22 #define MINISEARCHER_H
24 #include "Utils/Pimpl.h"
25 #include "Gui/Utils/Widgets/WidgetTemplate.h"
53 using QObject::QObject;
56 bool eventFilter(QObject* o, QEvent* e)
override;
68 void sigTextChanged(
const QString&);
69 void sigFindNextRow();
70 void sigFindPrevRow();
76 bool handleKeyPress(QKeyEvent* e);
78 QString currentText();
79 void setNumberResults(
int results);
85 void previousResult();
89 bool isInitiator(QKeyEvent* event)
const;
90 void init(
const QString& text);
91 bool checkAndInit(QKeyEvent* event);
92 QRect calcGeometry()
const;
95 void languageChanged()
override;
97 void keyPressEvent(QKeyEvent* e)
override;
98 void showEvent(QShowEvent* e)
override;
99 void hideEvent(QHideEvent* e)
override;
100 void focusOutEvent(QFocusEvent* e)
override;
104 #endif // MINISEARCHER_H