Vast change to CAN data grid to show signal names. Many graphical
tweaks, some bug fixes.
This commit is contained in:
@@ -161,6 +161,7 @@ void DBCLoadSaveWindow::loadFile()
|
||||
QStringList filters;
|
||||
filters.append(QString(tr("DBC File (*.dbc)")));
|
||||
filters.append(QString(tr("Tesla JSON File (*.json)")));
|
||||
filters.append(QString(tr("Secret CSV Signal Defs (*.csv)")));
|
||||
|
||||
dialog.setDirectory(settings.value("DBC/LoadSaveDirectory", dialog.directory().path()).toString());
|
||||
dialog.setFileMode(QFileDialog::ExistingFile);
|
||||
@@ -183,6 +184,11 @@ void DBCLoadSaveWindow::loadFile()
|
||||
if (!filename.contains('.')) filename += ".json";
|
||||
file = dbcHandler->loadJSONFile(filename);
|
||||
}
|
||||
if (dialog.selectedNameFilter() == filters[2])
|
||||
{
|
||||
if (!filename.contains('.')) filename += ".csv";
|
||||
file = dbcHandler->loadSecretCSVFile(filename);
|
||||
}
|
||||
}
|
||||
|
||||
if(file) {
|
||||
|
||||
Reference in New Issue
Block a user