Changeset View
Changeset View
Standalone View
Standalone View
webenginepart/src/ui/searchbar.h
Show All 20 Lines | |||||
21 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 21 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
22 | * Boston, MA 02110-1301, USA. | 22 | * Boston, MA 02110-1301, USA. | ||
23 | */ | 23 | */ | ||
24 | 24 | | |||
25 | #ifndef SEARCHBAR_P_H | 25 | #ifndef SEARCHBAR_P_H | ||
26 | #define SEARCHBAR_P_H | 26 | #define SEARCHBAR_P_H | ||
27 | 27 | | |||
28 | #include <QWidget> | 28 | #include <QWidget> | ||
29 | #include <QMenu> | ||||
29 | 30 | | |||
30 | #include "ui_searchbar.h" | 31 | #include "ui_searchbar.h" | ||
31 | 32 | | |||
32 | class QEvent; | 33 | class QEvent; | ||
33 | 34 | | |||
34 | /** | 35 | /** | ||
35 | * This is the widget that shows up when the search is initiated. | 36 | * This is the widget that shows up when the search is initiated. | ||
36 | */ | 37 | */ | ||
Show All 21 Lines | 54 | public Q_SLOTS: | |||
58 | void textChanged(const QString&); | 59 | void textChanged(const QString&); | ||
59 | 60 | | |||
60 | Q_SIGNALS: | 61 | Q_SIGNALS: | ||
61 | void searchTextChanged(const QString& text, bool backward = false); | 62 | void searchTextChanged(const QString& text, bool backward = false); | ||
62 | 63 | | |||
63 | private: | 64 | private: | ||
64 | Ui::SearchBar m_ui; | 65 | Ui::SearchBar m_ui; | ||
65 | QPointer<QWidget> m_focusWidget; | 66 | QPointer<QWidget> m_focusWidget; | ||
67 | QMenu *m_optionsMenu; | ||||
66 | }; | 68 | }; | ||
67 | 69 | | |||
68 | #endif // SEARCHBAR_P_H | 70 | #endif // SEARCHBAR_P_H |