Some tweaks to make the RE tools work better on live data (not complete yet), refactored some code.

This commit is contained in:
Collin Kidder
2015-05-24 10:55:55 -04:00
parent 06ee0c9301
commit 77b8b57937
10 changed files with 28 additions and 21 deletions
+7 -4
View File
@@ -22,10 +22,6 @@ FlowViewWindow::FlowViewWindow(QVector<CANFrame> *frames, QWidget *parent) :
memset(refBytes, 0, 8);
memset(currBytes, 0, 8);
refreshIDList();
updateFrameLabel();
//ui->graphView->setInteractions();
ui->graphView->xAxis->setRange(0, 8);
@@ -59,6 +55,13 @@ FlowViewWindow::FlowViewWindow(QVector<CANFrame> *frames, QWidget *parent) :
}
void FlowViewWindow::showEvent(QShowEvent* event)
{
QDialog::showEvent(event);
refreshIDList();
updateFrameLabel();
}
FlowViewWindow::~FlowViewWindow()
{
delete ui;