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

#include <vesselsstatsplot.h>

Inheritance diagram for VesselsStatsPlot:
StatsPlot

Public Member Functions

 VesselsStatsPlot (QCustomPlot *plotVessels, QCPItemLine *timeLine)
 
void update (DisplaceModel *model, displace::plot::VesselsStat 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

◆ VesselsStatsPlot()

VesselsStatsPlot::VesselsStatsPlot ( QCustomPlot plotVessels,
QCPItemLine timeLine 
)

Member Function Documentation

◆ createPopup()

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

◆ doUpdate()

void VesselsStatsPlot::doUpdate ( )
overrideprotectedvirtual

Implements StatsPlot.

◆ update()

void VesselsStatsPlot::update ( DisplaceModel model,
displace::plot::VesselsStat  stat,
QCustomPlot theplot = nullptr 
)

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