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

#include <nationsstatsplot.h>

Inheritance diagram for NationsStatsPlot:
StatsPlot

Public Member Functions

 NationsStatsPlot (QCustomPlot *plotNations, QCPItemLine *timeLine)
 
void update (DisplaceModel *model, displace::plot::NationsStat stat, QCustomPlot *theplot=nullptr)
 
void createPopup (GraphInteractionController::PopupMenuLocation location, QMenu *menu)
 
- Public Member Functions inherited from StatsPlot
virtual ~StatsPlot () noexcept=default
 
virtual void update ()
 
void invalidate ()
 
void setVisible (bool visible)
 
bool isVisible () const
 

Protected Member Functions

void doUpdate () override
 

Constructor & Destructor Documentation

◆ NationsStatsPlot()

NationsStatsPlot::NationsStatsPlot ( QCustomPlot plotNations,
QCPItemLine timeLine 
)

Member Function Documentation

◆ createPopup()

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

◆ doUpdate()

void NationsStatsPlot::doUpdate ( )
overrideprotectedvirtual

Implements StatsPlot.

◆ update()

void NationsStatsPlot::update ( DisplaceModel model,
displace::plot::NationsStat  stat,
QCustomPlot theplot = nullptr 
)

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