New custom model that somewhat speeds up loading of canbus frame but it's still dog slow.

This commit is contained in:
Collin Kidder
2015-04-27 18:31:30 -04:00
parent 6fc8cf73c7
commit 1deff8af58
7 changed files with 164 additions and 53 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
#define MAINWINDOW_H
#include <QMainWindow>
#include <QStandardItemModel>
#include "canframemodel.h"
#include "can_structs.h"
namespace Ui {
@@ -22,13 +22,13 @@ private slots:
private:
Ui::MainWindow *ui;
QStandardItemModel *model;
CANFrameModel *model;
void loadCRTDFile(QString);
void loadNativeCSVFile(QString);
void loadGenericCSVFile(QString);
void loadLogFile(QString);
void loadMicrochipFile(QString);
void addFrameToDisplay(CANFrame);
void addFrameToDisplay(CANFrame &);
};
#endif // MAINWINDOW_H