SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmmvis::ui::StatsSummaryPanel Class Reference

#include <statssummarypanel.h>

Inheritance diagram for openswmmvis::ui::StatsSummaryPanel:
Collaboration diagram for openswmmvis::ui::StatsSummaryPanel:

Public Slots

void setSelectionRange (QDateTime lo, QDateTime hi)
 Narrow the stats to samples whose timestamp falls in [lo, hi]. Pass invalid datetimes to clear the selection.
 
void refresh ()
 Recompute all tabs from the current model + selection. Called automatically on model signals; also exposed for manual refresh after the user changes a series style etc.
 

Public Member Functions

 StatsSummaryPanel (QWidget *parent=nullptr)
 
 ~StatsSummaryPanel () override=default
 
void setModel (openswmmvis::plot::ComparisonPlotModel *model)
 Bind the panel to a model. Refreshes immediately. The panel listens for the model's structural signals so the user doesn't have to call refresh() after add/remove.
 
openswmmvis::plot::NumberFormat statisticNumberFormat () const
 Current number format used for all statistic value cells.
 
void setStatisticNumberFormat (const openswmmvis::plot::NumberFormat &format)
 Set the number format used for statistic value cells.
 

Constructor & Destructor Documentation

◆ StatsSummaryPanel()

openswmmvis::ui::StatsSummaryPanel::StatsSummaryPanel ( QWidget *  parent = nullptr)
explicit
Here is the call graph for this function:

◆ ~StatsSummaryPanel()

openswmmvis::ui::StatsSummaryPanel::~StatsSummaryPanel ( )
overridedefault

Member Function Documentation

◆ refresh

void openswmmvis::ui::StatsSummaryPanel::refresh ( )
slot

Recompute all tabs from the current model + selection. Called automatically on model signals; also exposed for manual refresh after the user changes a series style etc.

Here is the caller graph for this function:

◆ setModel()

void openswmmvis::ui::StatsSummaryPanel::setModel ( openswmmvis::plot::ComparisonPlotModel model)

Bind the panel to a model. Refreshes immediately. The panel listens for the model's structural signals so the user doesn't have to call refresh() after add/remove.

Here is the call graph for this function:

◆ setSelectionRange

void openswmmvis::ui::StatsSummaryPanel::setSelectionRange ( QDateTime  lo,
QDateTime  hi 
)
slot

Narrow the stats to samples whose timestamp falls in [lo, hi]. Pass invalid datetimes to clear the selection.

Here is the call graph for this function:

◆ setStatisticNumberFormat()

void openswmmvis::ui::StatsSummaryPanel::setStatisticNumberFormat ( const openswmmvis::plot::NumberFormat format)

Set the number format used for statistic value cells.

Here is the call graph for this function:

◆ statisticNumberFormat()

openswmmvis::plot::NumberFormat openswmmvis::ui::StatsSummaryPanel::statisticNumberFormat ( ) const
inline

Current number format used for all statistic value cells.


The documentation for this class was generated from the following files: