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

Method OnSwitchSelectionMode

qt/mainwindow.cpp:582–591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580}
581
582void MainWindow::OnSwitchSelectionMode(SelectionMode mode)
583{
584 if (m_selection->isChecked(mode))
585 {
586 m_selection->setCurrent(mode);
587 m_pDrawWidget->SetSelectionMode(mode);
588 }
589 else
590 OnClearSelection();
591}
592
593void MainWindow::OnSwitchMwmsBordersSelectionMode()
594{

Callers

nothing calls this directly

Calls 3

SetSelectionModeMethod · 0.80
isCheckedMethod · 0.45
setCurrentMethod · 0.45

Tested by

no test coverage detected