Addition of a playback form - used to play back a log file onto one or both canbuses. However, not yet completed (but it won't crash)

This commit is contained in:
Collin Kidder
2015-05-05 23:04:48 -04:00
parent eebcbacfa5
commit fcfdb76225
14 changed files with 349 additions and 6 deletions
+30
View File
@@ -0,0 +1,30 @@
#ifndef FRAMEPLAYBACKWINDOW_H
#define FRAMEPLAYBACKWINDOW_H
#include <QDialog>
#include "can_structs.h"
namespace Ui {
class FramePlaybackWindow;
}
class FramePlaybackWindow : public QDialog
{
Q_OBJECT
public:
explicit FramePlaybackWindow(QList<CANFrame> *frames, QWidget *parent = 0);
~FramePlaybackWindow();
private:
Ui::FramePlaybackWindow *ui;
QList<int> foundID;
QList<CANFrame> frameCache;
QList<CANFrame> *modelFrames;
int currentPosition;
void refreshIDList();
void updateFrameLabel();
};
#endif // FRAMEPLAYBACKWINDOW_H