Added a setting that allows for limiting the number of bytes per line.

This is useful if you have a 1920x1080 monitor or smaller resolution
but you want to capture 64 byte payloads. The default is 8 bytes but
usually 16 bytes is fine.
This commit is contained in:
Collin Kidder
2022-12-08 20:35:33 -05:00
parent 8ff3459c75
commit e1f06be6fd
5 changed files with 42 additions and 3 deletions
+2
View File
@@ -392,6 +392,8 @@ void MainWindow::readUpdateableSettings()
model->setTimeFormat(settings.value("Main/TimeFormat", "MMM-dd HH:mm:ss.zzz").toString());
ignoreDBCColors = settings.value("Main/IgnoreDBCColors", false).toBool();
model->setIgnoreDBCColors(ignoreDBCColors);
int bpl = settings.value("Main/BytesPerLine", 8).toInt();
model->setBytesPerLine(bpl);
if (settings.value("Main/FilterLabeling", false).toBool())
ui->listFilters->setMaximumWidth(250);