DISPLACE
1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
|
#include <nationsstatsplot.h>
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) |
![]() | |
virtual | ~StatsPlot () noexcept=default |
virtual void | update () |
void | invalidate () |
void | setVisible (bool visible) |
bool | isVisible () const |
Protected Member Functions | |
void | doUpdate () override |
NationsStatsPlot::NationsStatsPlot | ( | QCustomPlot * | plotNations, |
QCPItemLine * | timeLine | ||
) |
void NationsStatsPlot::createPopup | ( | GraphInteractionController::PopupMenuLocation | location, |
QMenu * | menu | ||
) |
|
overrideprotectedvirtual |
Implements StatsPlot.
void NationsStatsPlot::update | ( | DisplaceModel * | model, |
displace::plot::NationsStat | stat, | ||
QCustomPlot * | theplot = nullptr |
||
) |