diff --git a/graphingwindow.cpp b/graphingwindow.cpp index 831c23e..fe2e49c 100644 --- a/graphingwindow.cpp +++ b/graphingwindow.cpp @@ -424,7 +424,11 @@ void GraphingWindow::createGraph(GraphParams ¶ms, bool createGraphParam) if (createGraphParam) graphParams.append(params); ui->graphingView->graph()->setSelectedBrush(Qt::NoBrush); ui->graphingView->graph()->setSelectedPen(selectedPen); - ui->graphingView->graph()->setName(QString("Graph %1").arg(ui->graphingView->graphCount()-1)); + + QString gName = "0x"+ QString::number(params.ID, 16) + ":" + QString::number(params.startByte); + if ((params.endByte != -1) && (params.endByte != params.startByte)) gName += "-" + QString::number(params.endByte); + ui->graphingView->graph()->setName(gName); + ui->graphingView->graph()->setData(x,y); ui->graphingView->graph()->setLineStyle(QCPGraph::lsLine); //connect points with lines QPen graphPen; diff --git a/mainwindow.cpp b/mainwindow.cpp index e6e26a1..289cdd2 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -23,6 +23,8 @@ fuzzy scope - Try to find potential places where a given value might be stored - Things currently broken or in need of attention: 1. Currently no screen supports dynamic updates when new frames come in. +3. Graph masks seem to not work. +4. It's possible to close the main window and have the other open windows stay behind. That's weird. */ QString MainWindow::loadedFileName = "";