Add cursor to inform a user about long operation.
This commit is contained in:
parent
4c0edca64a
commit
e7ae897433
|
@ -3027,11 +3027,15 @@ QTableWidgetItem *TMainWindow::AddCell(const QString &text, int row, int column,
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void TMainWindow::RefreshData(bool freshCall)
|
||||
{
|
||||
QGuiApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
|
||||
|
||||
data->ClearUniqueNames();
|
||||
data->ClearVariables(VarType::Measurement);
|
||||
m->ReadMeasurements(currentDimensionA, currentDimensionB, currentDimensionC);
|
||||
|
||||
RefreshTable(freshCall);
|
||||
|
||||
QGuiApplication::restoreOverrideCursor();
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user