#include <SearchResultsView.hpp>
|
| | SearchResultsView (QWidget *parent=nullptr) |
| |
| void | SetObserver (ui::ISearchResultsViewObserver *observer) override |
| | Assigns an observer that receives activation callbacks.
|
| |
| void | BeginUpdate (const std::vector< std::string > &columns) override |
| | Prepare the view for a new search. Clears existing rows, rebuilds columns, and freezes visual updates.
|
| |
| void | AppendResult (const mvc::SearchResultRow &row) override |
| | Append a single controller-produced search result row.
|
| |
| void | EndUpdate () override |
| | Finalize the current update batch (thaws rendering).
|
| |
| void | Clear () override |
| | Clear all rows without touching column configuration.
|
| |
| void | SimulateActivation (long eventId) |
| | Helper that mimics a user double-clicking a row.
|
| |
◆ SearchResultsView()
| ui::qt::SearchResultsView::SearchResultsView |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ AppendResult()
◆ BeginUpdate()
| void ui::qt::SearchResultsView::BeginUpdate |
( |
const std::vector< std::string > & |
columns | ) |
|
|
overridevirtual |
Prepare the view for a new search. Clears existing rows, rebuilds columns, and freezes visual updates.
Implements ui::ISearchResultsView.
◆ Clear()
| void ui::qt::SearchResultsView::Clear |
( |
| ) |
|
|
overridevirtual |
◆ EndUpdate()
| void ui::qt::SearchResultsView::EndUpdate |
( |
| ) |
|
|
overridevirtual |
◆ HandleActivation
| void ui::qt::SearchResultsView::HandleActivation |
( |
QTreeWidgetItem * |
item, |
|
|
int |
column |
|
) |
| |
|
privateslot |
◆ SetObserver()
◆ SimulateActivation()
| void ui::qt::SearchResultsView::SimulateActivation |
( |
long |
eventId | ) |
|
Helper that mimics a user double-clicking a row.
◆ kEventIdColumn
| constexpr int ui::qt::SearchResultsView::kEventIdColumn = 0 |
|
staticconstexprprivate |
◆ kMatchedKeyColumn
| constexpr int ui::qt::SearchResultsView::kMatchedKeyColumn = 1 |
|
staticconstexprprivate |
◆ kMatchTextColumn
| constexpr int ui::qt::SearchResultsView::kMatchTextColumn = 2 |
|
staticconstexprprivate |
◆ m_columns
| std::vector<std::string> ui::qt::SearchResultsView::m_columns |
|
private |
◆ m_observer
The documentation for this class was generated from the following files: