Adds immediate migration results in progress
This commit is contained in:
2102 files changed
+17482
-15071
No files matched your search
@@ -19,13 +19,12 @@ SelectionWorker::SelectionWorker(PlanEditor *planEditor
|
||||
, SituationMap::GeometryModel *geometryModel
|
||||
, SituationMap::Map *map
|
||||
, SelectionMode mode
|
||||
, const QPointF &viewPortPosition)
|
||||
: QObject(planEditor)
|
||||
, const QPointF &viewPortPosition) : QObject(planEditor)
|
||||
, m_planEditor(planEditor)
|
||||
, m_geometryModel(geometryModel)
|
||||
, m_map(map)
|
||||
, m_rubberband(nullptr)
|
||||
{
|
||||
, m_rubberband(nullptr),
|
||||
m_logger(NGL::NGLLoggerBootstrap::getLogger()) {
|
||||
|
||||
switch (mode)
|
||||
{
|
||||
@@ -47,7 +46,7 @@ SelectionWorker::SelectionWorker(PlanEditor *planEditor
|
||||
connect(rubberband, &SituationMap::RB::Rubberband::apply, this, &SelectionWorker::onLineSelect);
|
||||
connect(rubberband, &SituationMap::RB::Rubberband::abort, this, &SelectionWorker::onAbortSelect);
|
||||
}
|
||||
else ERROR_LOG() << Q_FUNC_INFO << "Creating rubberband for line selection failed.";
|
||||
else ERROR_LOG(m_logger) << Q_FUNC_INFO << "Creating rubberband for line selection failed.";
|
||||
} break;
|
||||
|
||||
case SelectionMode::Lasso :
|
||||
@@ -65,7 +64,7 @@ SelectionWorker::SelectionWorker(PlanEditor *planEditor
|
||||
connect(rubberband, &SituationMap::RB::Rubberband::apply, this, &SelectionWorker::onLassoSelect);
|
||||
connect(rubberband, &SituationMap::RB::Rubberband::abort, this, &SelectionWorker::onAbortSelect);
|
||||
}
|
||||
else ERROR_LOG() << Q_FUNC_INFO << "Creating rubberband for lasso selection failed.";
|
||||
else ERROR_LOG(m_logger) << Q_FUNC_INFO << "Creating rubberband for lasso selection failed.";
|
||||
} break;
|
||||
|
||||
case SelectionMode::Rectangle :
|
||||
@@ -82,7 +81,7 @@ SelectionWorker::SelectionWorker(PlanEditor *planEditor
|
||||
connect(rubberband, &SituationMap::RB::Rubberband::apply, this, &SelectionWorker::onRectSelect);
|
||||
connect(rubberband, &SituationMap::RB::Rubberband::abort, this, &SelectionWorker::onAbortSelect);
|
||||
}
|
||||
else ERROR_LOG() << Q_FUNC_INFO << "Creating rubberband for rectangle selection failed.";
|
||||
else ERROR_LOG(m_logger) << Q_FUNC_INFO << "Creating rubberband for rectangle selection failed.";
|
||||
} break;
|
||||
|
||||
case SelectionMode::Picking :
|
||||
|
||||
Reference in new issue
Block a user