Toolkit-agnostic contract exposing the handful of main-window interactions needed by the presenter logic.
More...
#include <IMainWindowView.hpp>
|
| virtual | ~IMainWindowView ()=default |
| |
| virtual std::string | ReadSearchQuery () const =0 |
| |
| virtual std::string | CurrentStatusText () const =0 |
| |
| virtual void | UpdateStatusText (const std::string &text)=0 |
| | Updates the status-bar message.
|
| |
| virtual void | SetSearchControlsEnabled (bool enabled)=0 |
| | Enables/disables the search controls to avoid re-entrancy.
|
| |
| virtual void | ToggleProgressVisibility (bool visible)=0 |
| | Shows or hides the embedded progress indicator.
|
| |
| virtual void | ConfigureProgressRange (int range)=0 |
| | Adjusts the progress indicator's range.
|
| |
| virtual void | UpdateProgressValue (int value)=0 |
| | Updates the progress indicator's current value.
|
| |
| virtual void | ProcessPendingEvents ()=0 |
| | Gives the UI thread a chance to process pending events.
|
| |
| virtual void | RefreshLayout ()=0 |
| | Requests a full window refresh/layout recalculation.
|
| |
| virtual std::string | AskString (const std::string &title, const std::string &prompt, const std::string &defaultValue, bool &ok)=0 |
| | Shows a modal input dialog.
|
| |
| virtual void | UpdateFilterStatus (int totalEvents, int filteredCount, int activeFilterCount, const std::string &filterDetails)=0 |
| | Updates the filter status bar with filter information.
|
| |
Toolkit-agnostic contract exposing the handful of main-window interactions needed by the presenter logic.
◆ ~IMainWindowView()
| virtual ui::IMainWindowView::~IMainWindowView |
( |
| ) |
|
|
virtualdefault |
◆ AskString()
| virtual std::string ui::IMainWindowView::AskString |
( |
const std::string & |
title, |
|
|
const std::string & |
prompt, |
|
|
const std::string & |
defaultValue, |
|
|
bool & |
ok |
|
) |
| |
|
pure virtual |
Shows a modal input dialog.
- Parameters
-
| ok | Set to true when the user accepted, false when cancelled. |
- Returns
- The entered string, or empty if cancelled.
Implemented in ui::qt::MainWindow.
◆ ConfigureProgressRange()
| virtual void ui::IMainWindowView::ConfigureProgressRange |
( |
int |
range | ) |
|
|
pure virtual |
◆ CurrentStatusText()
| virtual std::string ui::IMainWindowView::CurrentStatusText |
( |
| ) |
const |
|
pure virtual |
- Returns
- The status-bar message currently shown to the user.
Implemented in ui::qt::MainWindow.
◆ ProcessPendingEvents()
| virtual void ui::IMainWindowView::ProcessPendingEvents |
( |
| ) |
|
|
pure virtual |
Gives the UI thread a chance to process pending events.
Implemented in ui::qt::MainWindow.
◆ ReadSearchQuery()
| virtual std::string ui::IMainWindowView::ReadSearchQuery |
( |
| ) |
const |
|
pure virtual |
◆ RefreshLayout()
| virtual void ui::IMainWindowView::RefreshLayout |
( |
| ) |
|
|
pure virtual |
◆ SetSearchControlsEnabled()
| virtual void ui::IMainWindowView::SetSearchControlsEnabled |
( |
bool |
enabled | ) |
|
|
pure virtual |
Enables/disables the search controls to avoid re-entrancy.
Implemented in ui::qt::MainWindow.
◆ ToggleProgressVisibility()
| virtual void ui::IMainWindowView::ToggleProgressVisibility |
( |
bool |
visible | ) |
|
|
pure virtual |
◆ UpdateFilterStatus()
| virtual void ui::IMainWindowView::UpdateFilterStatus |
( |
int |
totalEvents, |
|
|
int |
filteredCount, |
|
|
int |
activeFilterCount, |
|
|
const std::string & |
filterDetails |
|
) |
| |
|
pure virtual |
Updates the filter status bar with filter information.
- Parameters
-
| totalEvents | Total number of events |
| filteredCount | Number of events matching filters |
| activeFilterCount | Number of active filters |
| filterDetails | Description of active filters |
Implemented in ui::qt::MainWindow.
◆ UpdateProgressValue()
| virtual void ui::IMainWindowView::UpdateProgressValue |
( |
int |
value | ) |
|
|
pure virtual |
◆ UpdateStatusText()
| virtual void ui::IMainWindowView::UpdateStatusText |
( |
const std::string & |
text | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: