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

Method FillTool

src/tools/fill_tool.cpp:94–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92
93
94FillTool::FillTool(MapEditorController* editor, QAction* tool_action)
95: MapEditorToolBase(QCursor(QPixmap(QString::fromLatin1(":/images/cursor-fill.png")), 11, 11), Other, editor, tool_action)
96{
97 drawing_symbol = editor->activeSymbol();
98 setDrawingSymbol(editor->activeSymbol());
99
100 connect(editor, &MapEditorController::activeSymbolChanged, this, &FillTool::setDrawingSymbol);
101}
102
103FillTool::~FillTool() = default;
104

Callers

nothing calls this directly

Calls 3

QPixmapClass · 0.85
activeSymbolMethod · 0.80
QCursorClass · 0.70

Tested by

no test coverage detected