Toolkit-agnostic contract exposing the handful of main-window interactions needed by the presenter lo...
Definition IMainWindowView.hpp:13
virtual void ConfigureProgressRange(int range)=0
Adjusts the progress indicator's range.
virtual void SetSearchControlsEnabled(bool enabled)=0
Enables/disables the search controls to avoid re-entrancy.
virtual void UpdateStatusText(const std::string &text)=0
Updates the status-bar message.
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 UpdateFilterStatus(int totalEvents, int filteredCount, int activeFilterCount, const std::string &filterDetails)=0
Updates the filter status bar with filter information.
virtual std::string CurrentStatusText() const =0
virtual ~IMainWindowView()=default
virtual void ToggleProgressVisibility(bool visible)=0
Shows or hides the embedded progress indicator.
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 std::string ReadSearchQuery() const =0
virtual void RefreshLayout()=0
Requests a full window refresh/layout recalculation.