23 #ifndef MINISEARCHER_H 24 #define MINISEARCHER_H 29 #include <QPushButton> 31 #include <QFocusEvent> 32 #include <QScrollArea> 37 enum class MiniSearcherButtons : quint8
50 void sig_tab_pressed();
51 void sig_le_focus_lost();
56 void keyPressEvent(QKeyEvent *);
73 void sig_text_changed(
const QString&);
74 void sig_find_next_row();
75 void sig_find_prev_row();
79 void line_edit_text_changed(
const QString&);
80 void line_edit_focus_lost();
87 QAbstractScrollArea* _parent=
nullptr;
89 QPushButton* _left_button=
nullptr;
90 QPushButton* _right_button=
nullptr;
92 QBoxLayout* _layout=
nullptr;
94 bool isInitiator(QKeyEvent* event);
95 void init(QString text);
96 void initLayout(MiniSearcherButtons b);
105 bool isInitialized();
106 bool check_and_init(QKeyEvent* event);
108 QString getCurrentText();
109 void keyPressEvent(QKeyEvent *e);
115 #endif // MINISEARCHER_H Definition: MiniSearcher.h:67
Definition: SearchableListView.h:36
Definition: MiniSearcher.h:45
Definition: SearchableTableView.h:35