MCPcopy Create free account
hub / github.com/comaps/comaps / OnCreateFeatureClicked

Method OnCreateFeatureClicked

qt/mainwindow.cpp:569–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

567}
568
569void MainWindow::OnCreateFeatureClicked()
570{
571 if (m_pCreateFeatureAction->isChecked())
572 {
573 m_pDrawWidget->ChoosePositionModeEnable();
574 }
575 else
576 {
577 m_pDrawWidget->ChoosePositionModeDisable();
578 m_pDrawWidget->CreateFeature();
579 }
580}
581
582void MainWindow::OnSwitchSelectionMode(SelectionMode mode)
583{

Callers

nothing calls this directly

Calls 4

CreateFeatureMethod · 0.80
isCheckedMethod · 0.45

Tested by

no test coverage detected