Simulator "live data", clean up when simulator status changes (remove no longer valid values)

This commit is contained in:
Klaus Basan
2018-08-07 19:46:30 +02:00
parent 68607a3cb8
commit bd8d11d9d6
2 changed files with 21 additions and 19 deletions

View File

@@ -24,8 +24,6 @@
#include <QTabWidget>
#include <QtGlobal>
class QWidget;
namespace BlackMisc
{
class CIcon;
@@ -89,6 +87,9 @@ namespace BlackGui
//! Simple add or update name / value pair
void addOrUpdateLiveDataByName(const QString &name, const QString &value, BlackMisc::CIcons::IconIndex iconIndex);
//! Remove name
void removeLiveDataByName(const QString &name);
QScopedPointer<Ui::CSimulatorComponent> ui;
QTimer m_updateTimer;
};