@@ -385,20 +385,6 void VariableController::onDateTimeOnSelection(const SqpRange &dateTime) | |||||
385 | auto selectedRows = impl->m_VariableSelectionModel->selectedRows(); |
|
385 | auto selectedRows = impl->m_VariableSelectionModel->selectedRows(); | |
386 |
|
386 | |||
387 | // NOTE we only permit the time modification for one variable |
|
387 | // NOTE we only permit the time modification for one variable | |
388 | // DEPRECATED |
|
|||
389 | // auto variables = QVector<std::shared_ptr<Variable> >{}; |
|
|||
390 | // for (const auto &selectedRow : qAsConst(selectedRows)) { |
|
|||
391 | // if (auto selectedVariable = |
|
|||
392 | // impl->m_VariableModel->variable(selectedRow.row())) { |
|
|||
393 | // variables << selectedVariable; |
|
|||
394 |
|
||||
395 | // // notify that rescale operation has to be done |
|
|||
396 | // emit rangeChanged(selectedVariable, dateTime); |
|
|||
397 | // } |
|
|||
398 | // } |
|
|||
399 | // if (!variables.isEmpty()) { |
|
|||
400 | // this->onRequestDataLoading(variables, dateTime, synchro); |
|
|||
401 | // } |
|
|||
402 | if (selectedRows.size() == 1) { |
|
388 | if (selectedRows.size() == 1) { | |
403 |
|
389 | |||
404 | if (auto selectedVariable |
|
390 | if (auto selectedVariable | |
@@ -449,8 +435,9 void VariableController::onDataProvided(QUuid vIdentifier, | |||||
449 |
|
435 | |||
450 | void VariableController::onVariableRetrieveDataInProgress(QUuid identifier, double progress) |
|
436 | void VariableController::onVariableRetrieveDataInProgress(QUuid identifier, double progress) | |
451 | { |
|
437 | { | |
452 | qCDebug(LOG_VariableController()) << "TORM: variableController::onVariableRetrieveDataInProgress" |
|
438 | qCDebug(LOG_VariableController()) | |
453 | << QThread::currentThread()->objectName() << progress; |
|
439 | << "TORM: variableController::onVariableRetrieveDataInProgress" | |
|
440 | << QThread::currentThread()->objectName() << progress; | |||
454 | if (auto var = impl->findVariable(identifier)) { |
|
441 | if (auto var = impl->findVariable(identifier)) { | |
455 | qCDebug(LOG_VariableController()) |
|
442 | qCDebug(LOG_VariableController()) | |
456 | << "TORM: variableController::onVariableRetrieveDataInProgress FOUND"; |
|
443 | << "TORM: variableController::onVariableRetrieveDataInProgress FOUND"; |
General Comments 0
You need to be logged in to leave comments.
Login now