Added the ability to save all frame details within the details screen

to file.
This commit is contained in:
Collin Kidder
2016-01-03 18:37:58 -05:00
parent e2903c9058
commit 1e04e5fb31
3 changed files with 113 additions and 42 deletions
+4
View File
@@ -2,7 +2,9 @@
#define FRAMEINFOWINDOW_H
#include <QDialog>
#include <QFile>
#include <QListWidget>
#include <QTreeWidget>
#include "can_structs.h"
namespace Ui {
@@ -21,6 +23,7 @@ public:
private slots:
void updateDetailsWindow(QString);
void updatedFrames(int);
void saveDetails();
private:
Ui::FrameInfoWindow *ui;
@@ -33,6 +36,7 @@ private:
void closeEvent(QCloseEvent *event);
void readSettings();
void writeSettings();
void dumpNode(QTreeWidgetItem* item, QFile *file, int indent);
};
#endif // FRAMEINFOWINDOW_H