Add selection of graph charts to Frame info window

This commit is contained in:
Viktor Verebelyi
2021-11-26 03:34:11 +00:00
parent 3a4f9c6699
commit 907312f12d
3 changed files with 132 additions and 30 deletions
+5
View File
@@ -9,6 +9,8 @@
#include "bus_protocols/j1939_handler.h"
#include "dbc/dbchandler.h"
#include "qcustomplot.h"
namespace Ui {
class FrameInfoWindow;
}
@@ -26,6 +28,7 @@ private slots:
void updateDetailsWindow(QString);
void updatedFrames(int);
void saveDetails();
void changeGraphVisibility(int state);
private:
Ui::FrameInfoWindow *ui;
@@ -39,6 +42,8 @@ private:
static QPen bytePens[8];
DBCHandler *dbcHandler;
QCPGraph *graphRef[8];
void refreshIDList();
void closeEvent(QCloseEvent *event);
bool eventFilter(QObject *obj, QEvent *event);