Added hex labeling option to graphs in flowview and frame info windows, a few tweaks for potential QT6 support

This commit is contained in:
Collin Kidder
2021-09-06 19:25:59 -04:00
parent da0f1fe87e
commit 1f421c5d2c
11 changed files with 75 additions and 12 deletions
+8
View File
@@ -0,0 +1,8 @@
#include <Qt>
#include "qcpaxistickerhex.h"
QString QCPAxisTickerHex::getTickLabel (double tick, const QLocale &locale, QChar formatChar, int precision)
{
int64_t hexVal = static_cast<int64_t>(tick);
return QString::number(hexVal, 16);
}