Compact browser-style inline search bar for the events table.
More...
#include <SearchBar.hpp>
|
| | SearchBar (QWidget *parent=nullptr) |
| |
| void | SetMatchInfo (int current, int total) |
| | Update the "current / total" match counter label.
|
| |
| void | FocusInput () |
| | Show the bar and focus the input field.
|
| |
| void | CloseBar () |
| | Clear the text and hide the bar.
|
| |
Compact browser-style inline search bar for the events table.
Hidden by default. Show with FocusInput() (typically triggered by Ctrl+F). Emits SearchChanged whenever the text or case-sensitivity flag changes. The owner is responsible for calling SetMatchInfo() to update the counter.
◆ SearchBar()
| ui::qt::SearchBar::SearchBar |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ CloseBar()
| void ui::qt::SearchBar::CloseBar |
( |
| ) |
|
Clear the text and hide the bar.
◆ Closed
| void ui::qt::SearchBar::Closed |
( |
| ) |
|
|
signal |
◆ FocusInput()
| void ui::qt::SearchBar::FocusInput |
( |
| ) |
|
Show the bar and focus the input field.
◆ HandleCaseToggled
| void ui::qt::SearchBar::HandleCaseToggled |
( |
| ) |
|
|
privateslot |
◆ HandleTextChanged
| void ui::qt::SearchBar::HandleTextChanged |
( |
const QString & |
text | ) |
|
|
privateslot |
◆ NavigateNext
| void ui::qt::SearchBar::NavigateNext |
( |
| ) |
|
|
signal |
◆ NavigatePrev
| void ui::qt::SearchBar::NavigatePrev |
( |
| ) |
|
|
signal |
◆ SearchChanged
| void ui::qt::SearchBar::SearchChanged |
( |
const QString & |
term, |
|
|
bool |
caseSensitive |
|
) |
| |
|
signal |
◆ SetMatchInfo()
| void ui::qt::SearchBar::SetMatchInfo |
( |
int |
current, |
|
|
int |
total |
|
) |
| |
Update the "current / total" match counter label.
◆ m_caseBtn
| QToolButton* ui::qt::SearchBar::m_caseBtn {nullptr} |
|
private |
◆ m_closeBtn
| QPushButton* ui::qt::SearchBar::m_closeBtn {nullptr} |
|
private |
◆ m_edit
| QLineEdit* ui::qt::SearchBar::m_edit {nullptr} |
|
private |
◆ m_matchLabel
| QLabel* ui::qt::SearchBar::m_matchLabel {nullptr} |
|
private |
◆ m_nextBtn
| QPushButton* ui::qt::SearchBar::m_nextBtn {nullptr} |
|
private |
◆ m_prevBtn
| QPushButton* ui::qt::SearchBar::m_prevBtn {nullptr} |
|
private |
The documentation for this class was generated from the following files: