Skip to content
Snippets Groups Projects
Commit 5139aaad authored by Mirko Wächter's avatar Mirko Wächter
Browse files

initial load of system state monitor content is now async

parent 24239476
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@ void SystemStateMonitorWidget::onConnectComponent()
stateUpdateTask->start();
if (monitoredManagerModel->toStringList().isEmpty()) // only if fresh connect without preconfig
{
QMetaObject::invokeMethod(this, "prefillView");
prefillView();
}
else
{
......@@ -272,6 +272,11 @@ void SystemStateMonitorWidget::prefillView()
QStringList managers = fetchOnlineManagers();
QMetaObject::invokeMethod(this, "watchArmarXManagers", Q_ARG(QStringList, managers));
}
void SystemStateMonitorWidget::watchArmarXManagers(QStringList managers)
{
QStringList::ConstIterator it = managers.begin();
while (it != managers.end())
......
......@@ -147,6 +147,7 @@ namespace armarx
* Prefills the widgets view with all currently existing components
*/
void prefillView();
void watchArmarXManagers(QStringList managers);
void expandFilterSelection(QString filterStr);
void delayedFilterExpansion();
private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment