DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
HarboursStatPlot Class Reference

#include <harboursstatplot.h>

Inheritance diagram for HarboursStatPlot:
StatsPlot

Public Member Functions

 HarboursStatPlot (QCustomPlot *plotNations)
 
void update (DisplaceModel *model, QCustomPlot *theplot=nullptr)
 
void createPopup (GraphInteractionController::PopupMenuLocation location, QMenu *menu)
 
void setCurrentTimeStep (double t)
 
void setStat (displace::plot::HarboursStat stat)
 
void update () override
 
- Public Member Functions inherited from StatsPlot
virtual ~StatsPlot () noexcept=default
 
void invalidate ()
 
void setVisible (bool visible)
 
bool isVisible () const
 

Protected Member Functions

void update (QCustomPlot *)
 
void doUpdate () override
 

Constructor & Destructor Documentation

◆ HarboursStatPlot()

HarboursStatPlot::HarboursStatPlot ( QCustomPlot plotNations)

Member Function Documentation

◆ createPopup()

void HarboursStatPlot::createPopup ( GraphInteractionController::PopupMenuLocation  location,
QMenu *  menu 
)

◆ doUpdate()

void HarboursStatPlot::doUpdate ( )
overrideprotectedvirtual

Implements StatsPlot.

◆ setCurrentTimeStep()

void HarboursStatPlot::setCurrentTimeStep ( double  t)

◆ setStat()

void HarboursStatPlot::setStat ( displace::plot::HarboursStat  stat)
inline

◆ update() [1/3]

void HarboursStatPlot::update ( DisplaceModel model,
QCustomPlot theplot = nullptr 
)

◆ update() [2/3]

void HarboursStatPlot::update ( )
overridevirtual

Reimplemented from StatsPlot.

◆ update() [3/3]

void HarboursStatPlot::update ( QCustomPlot theplot)
protected

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