#ifndef LINECHARTS_H#define LINECHARTS_H#include <QStackedWidget>#include <QMap>#include "LinechartWidget.h"#include "UASInterface.h"classLinecharts:publicQStackedWidget{Q_OBJECTpublic:explicitLinecharts(QWidget*parent=0);signals:publicslots:/** @brief Set all plots active/inactive */voidsetActive(boolactive);/** @brief Select plot for one system */voidselectSystem(intsystemid);/** @brief Add a new system to the list of plots */voidaddSystem(UASInterface*uas);protected:QMap<int,LinechartWidget*>plots;boolactive;};#endif // LINECHARTS_H