Changed the way graphs are set up to better give feedback about what was graphed.
This commit is contained in:
+5
-1
@@ -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;
|
||||
|
||||
@@ -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 = "";
|
||||
|
||||
Reference in New Issue
Block a user