21 #ifndef MINISEARCHER_H 22 #define MINISEARCHER_H 24 #include "Utils/Pimpl.h" 25 #include "GUI/Utils/Widgets/WidgetTemplate.h" 31 class QAbstractItemView;
43 void sig_tab_pressed();
44 void sig_focus_lost();
47 using QObject::QObject;
50 bool eventFilter(QObject* o, QEvent* e)
override;
62 void sig_text_changed(
const QString&);
63 void sig_find_next_row();
64 void sig_find_prev_row();
67 void line_edit_focus_lost();
72 bool is_initiator(QKeyEvent* event)
const;
73 void init(
const QString& text);
74 bool check_and_init(QKeyEvent* event);
75 QRect calc_geo()
const;
78 void language_changed()
override;
80 void keyPressEvent(QKeyEvent* e)
override;
82 void showEvent(QShowEvent* e)
override;
83 void focusOutEvent(QFocusEvent* e)
override;
89 void handle_key_press(QKeyEvent* e);
91 QString get_current_text();
92 void set_number_results(
int results);
93 void add_tooltip_text(
const QString& str);
95 void set_padding(
int padding);
101 #endif // MINISEARCHER_H Definition: MiniSearcher.h:54
Definition: MiniSearcher.h:37
Definition: org_mpris_media_player2_adaptor.h:21