Added a new window that allows for bisecting a CAN log into pieces along a variety of patterns. Not quite complete but what's there works.
This commit is contained in:
@@ -81,6 +81,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
motorctrlConfigWindow = NULL;
|
||||
isoWindow = NULL;
|
||||
snifferWindow = NULL;
|
||||
bisectWindow = NULL;
|
||||
dbcHandler = new DBCHandler;
|
||||
bDirty = false;
|
||||
inhibitFilterUpdate = false;
|
||||
@@ -126,6 +127,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||
connect(ui->actionISO_TP_Decoder, &QAction::triggered, this, &MainWindow::showISOInterpreterWindow);
|
||||
connect(ui->actionSniffer, &QAction::triggered, this, &MainWindow::showSnifferWindow);
|
||||
connect(ui->actionMotorControlConfig, &QAction::triggered, this, &MainWindow::showMCConfigWindow);
|
||||
connect(ui->actionCapture_Bisector, &QAction::triggered, this, &MainWindow::showBisectWindow);
|
||||
|
||||
connect(CANConManager::getInstance(), &CANConManager::framesReceived, model, &CANFrameModel::addFrames);
|
||||
|
||||
@@ -274,6 +276,13 @@ MainWindow::~MainWindow()
|
||||
snifferWindow = NULL;
|
||||
}
|
||||
|
||||
if (bisectWindow)
|
||||
{
|
||||
bisectWindow->close();
|
||||
delete bisectWindow;
|
||||
bisectWindow = NULL;
|
||||
}
|
||||
|
||||
delete model;
|
||||
delete elapsedTime;
|
||||
delete dbcHandler;
|
||||
@@ -854,6 +863,14 @@ void MainWindow::showSnifferWindow()
|
||||
snifferWindow->show();
|
||||
}
|
||||
|
||||
void MainWindow::showBisectWindow()
|
||||
{
|
||||
if (!bisectWindow)
|
||||
{
|
||||
bisectWindow = new BisectWindow(model->getListReference());
|
||||
}
|
||||
bisectWindow->show();
|
||||
}
|
||||
|
||||
void MainWindow::showFrameSenderWindow()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user