DISPLACE
1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
|
#include <shipsstatsplot.h>
Public Member Functions | |
ShipsStatsPlot (QCustomPlot *plot, QCPItemLine *timeLine) | |
void | setTimelineLimits (double min, double max) |
void | update (DisplaceModel *model, displace::plot::ShipsStat stat, QCustomPlot *plot) |
void | createPopup (GraphInteractionController::PopupMenuLocation location, QMenu *menu) |
![]() | |
BaseStatsPlotImpl () | |
![]() | |
virtual | ~StatsPlot () noexcept=default |
virtual void | update () |
void | invalidate () |
void | setVisible (bool visible) |
bool | isVisible () const |
Protected Member Functions | |
void | update (QCustomPlot *plot) override |
![]() | |
void | checkUpdate (QCustomPlot *plot, HasChangedFunction hasChangedFunction, UpdateChangedStateFunction updateChangedStateFunction) |
void | doUpdate () override |
Additional Inherited Members | |
![]() | |
using | HasChangedFunction = std::function< bool()> |
using | UpdateChangedStateFunction = std::function< void()> |
ShipsStatsPlot::ShipsStatsPlot | ( | QCustomPlot * | plot, |
QCPItemLine * | timeLine | ||
) |
void ShipsStatsPlot::createPopup | ( | GraphInteractionController::PopupMenuLocation | location, |
QMenu * | menu | ||
) |
|
inline |
void ShipsStatsPlot::update | ( | DisplaceModel * | model, |
displace::plot::ShipsStat | stat, | ||
QCustomPlot * | plot | ||
) |
|
overrideprotectedvirtual |
Implements BaseStatsPlotImpl.