Class MeasuringPlugin

Inheritance Relationships

Base Type

  • public mapviz::MapvizPlugin

Class Documentation

class MeasuringPlugin : public mapviz::MapvizPlugin

Public Functions

MeasuringPlugin()
~MeasuringPlugin() override
bool Initialize(QGLWidget *canvas) override
inline void Shutdown() override
virtual void Paint(QPainter *painter, double x, double y, double scale) override
virtual void Draw(double x, double y, double scale) override
inline void Transform() override
void LoadConfig(const YAML::Node &node, const std::string &path) override
void SaveConfig(YAML::Emitter &emitter, const std::string &path) override
void DistanceCalculation()
QWidget *GetConfigWidget(QWidget *parent) override
void PrintError(const std::string &message) override
void PrintInfo(const std::string &message) override
void PrintWarning(const std::string &message) override
inline virtual bool SupportsPainting() override

Protected Functions

bool eventFilter(QObject *object, QEvent *event) override
bool handleMousePress(QMouseEvent*)
bool handleMouseRelease(QMouseEvent*)
bool handleMouseMove(QMouseEvent*)

Protected Slots

void Clear()
inline void BkgndColorToggled(bool)
inline void MeasurementsToggled(bool)
inline void FontSizeChanged(int)
inline void AlphaChanged(double)