MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / MapEditorTool

Method MapEditorTool

src/tools/tool.cpp:65–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63const QRgb MapEditorTool::selection_color = qRgb(210, 0, 229);
64
65MapEditorTool::MapEditorTool(MapEditorController* editor, Type type, QAction* tool_action)
66: QObject(nullptr)
67, editor(editor)
68, tool_action(tool_action)
69, tool_type(type)
70{
71 settingsChanged();
72 connect(&Settings::getInstance(), &Settings::settingsChanged, this, &MapEditorTool::settingsChanged);
73}
74
75MapEditorTool::~MapEditorTool()
76{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected