Both FlowView and Frame Details will now auto refresh when reopened. But, also there is a new interface that allows the various screens to get status updates. This is currently only active in the Frame Details screen and not completely yet but it is started and functional.

This commit is contained in:
Collin Kidder
2015-06-03 21:31:57 -04:00
parent d74461f29c
commit c1a490c911
6 changed files with 68 additions and 29 deletions
+4 -1
View File
@@ -27,6 +27,7 @@ class MainWindow : public QMainWindow
public:
explicit MainWindow(QWidget *parent = 0);
static QString loadedFileName;
static MainWindow *getReference();
~MainWindow();
private slots:
@@ -63,11 +64,13 @@ signals:
void sendCANFrame(const CANFrame *, int);
void stopFrameCapturing();
void startFrameCapturing();
void gotNewFrames();
//-1 = frames cleared, -2 = a new file has been loaded (so all frames are different), otherwise # of new frames
void framesUpdated(int numFrames); //something has updated the frame list
private:
Ui::MainWindow *ui;
static MainWindow *selfRef;
//canbus related data
CANFrameModel *model;