Added ability to create multiple graphing windows that act separately.

Added ability to right check on signals in main view and graph them
directly.
This commit is contained in:
Collin Kidder
2021-05-02 12:48:47 -04:00
parent e7561878d7
commit 35c1ef5387
7 changed files with 185 additions and 40 deletions
+5 -2
View File
@@ -45,6 +45,9 @@ public:
~GraphingWindow();
void showEvent(QShowEvent*);
public slots:
void createGraph(GraphParams &params, bool createGraphParam = true);
private slots:
void titleDoubleClick(QMouseEvent *event, QCPTextElement *title);
void axisDoubleClick(QCPAxis* axis, QCPAxis::SelectablePart part);
@@ -66,8 +69,7 @@ private slots:
void rescaleAxis(QCPAxis* axis);
void rescaleToData();
void toggleFollowMode();
void addNewGraph();
void createGraph(GraphParams &params, bool createGraphParam = true);
void addNewGraph();
void appendToGraph(GraphParams &params, CANFrame &frame, QVector<double> &x, QVector<double> &y);
void editSelectedGraph();
void updatedFrames(int);
@@ -99,6 +101,7 @@ private:
void readSettings();
void writeSettings();
bool eventFilter(QObject *obj, QEvent *event);
void changeEvent(QEvent *event);
};
#endif // GRAPHINGWINDOW_H