From 579957aaa660a8c6baadfd5665bd39b43c45aec9 Mon Sep 17 00:00:00 2001 From: Collin Kidder Date: Thu, 16 Feb 2023 19:14:37 -0500 Subject: [PATCH] Transition yellow color on graphs to a darker tone for better visibility. --- re/flowviewwindow.cpp | 2 +- re/frameinfowindow.cpp | 2 +- ui/flowviewwindow.ui | 23 +++++++---------------- 3 files changed, 9 insertions(+), 18 deletions(-) diff --git a/re/flowviewwindow.cpp b/re/flowviewwindow.cpp index 5e79c67..c51960b 100644 --- a/re/flowviewwindow.cpp +++ b/re/flowviewwindow.cpp @@ -6,7 +6,7 @@ #include "qcpaxistickerhex.h" const QColor FlowViewWindow::graphColors[8] = {Qt::blue, Qt::green, Qt::black, Qt::red, //0 1 2 3 - Qt::gray, Qt::yellow, Qt::cyan, Qt::darkMagenta}; //4 5 6 7 + Qt::gray, Qt::darkYellow, Qt::cyan, Qt::darkMagenta}; //4 5 6 7 FlowViewWindow::FlowViewWindow(const QVector *frames, QWidget *parent) : diff --git a/re/frameinfowindow.cpp b/re/frameinfowindow.cpp index cf0598d..d47faf9 100644 --- a/re/frameinfowindow.cpp +++ b/re/frameinfowindow.cpp @@ -8,7 +8,7 @@ #include "qcpaxistickerhex.h" const QColor FrameInfoWindow::byteGraphColors[8] = {Qt::blue, Qt::green, Qt::black, Qt::red, //0 1 2 3 - Qt::gray, Qt::yellow, Qt::cyan, Qt::darkMagenta}; //4 5 6 7 + Qt::gray, Qt::darkYellow, Qt::cyan, Qt::darkMagenta}; //4 5 6 7 QPen FrameInfoWindow::bytePens[8]; const int numIntervalHistBars = 20; diff --git a/ui/flowviewwindow.ui b/ui/flowviewwindow.ui index 71424c6..419b50b 100644 --- a/ui/flowviewwindow.ui +++ b/ui/flowviewwindow.ui @@ -7,7 +7,7 @@ 0 0 906 - 568 + 706 @@ -1037,9 +1037,9 @@ - 252 - 233 - 79 + 167 + 154 + 52 @@ -1048,9 +1048,9 @@ - 252 - 233 - 79 + 35 + 38 + 41 @@ -1071,7 +1071,6 @@ 13 - 75 true @@ -1131,7 +1130,6 @@ 13 - 75 true @@ -1191,7 +1189,6 @@ 13 - 75 true @@ -1251,7 +1248,6 @@ 13 - 75 true @@ -1311,7 +1307,6 @@ 13 - 75 true @@ -1371,7 +1366,6 @@ 13 - 75 true @@ -1431,7 +1425,6 @@ 13 - 75 true @@ -1491,7 +1484,6 @@ 13 - 75 true @@ -1553,7 +1545,6 @@ - 75 true