Update version number, small fix to graphing window

This commit is contained in:
Collin Kidder
2019-03-19 20:43:36 -04:00
parent 11b10b7220
commit ba94db77bf
4 changed files with 4 additions and 21 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#ifndef CONFIG #ifndef CONFIG
#define CONFIG #define CONFIG
#define VERSION 195 #define VERSION 196
//try to keep this in sync. //try to keep this in sync.
//SavvyCAN will complain if you connect a GVRET board with a revision //SavvyCAN will complain if you connect a GVRET board with a revision
-6
View File
@@ -1,6 +0,0 @@
#include "frameviewdelegate.h"
FrameViewDelegate::FrameViewDelegate()
{
}
-11
View File
@@ -1,11 +0,0 @@
#ifndef FRAMEVIEWDELEGATE_H
#define FRAMEVIEWDELEGATE_H
class FrameViewDelegate
{
public:
FrameViewDelegate();
};
#endif // FRAMEVIEWDELEGATE_H
+3 -3
View File
@@ -458,7 +458,7 @@ bool GraphingWindow::eventFilter(QObject *obj, QEvent *event)
void GraphingWindow::resetView() void GraphingWindow::resetView()
{ {
double yminval=10000000.0, ymaxval = -1000000.0; double yminval=10000000.0, ymaxval = -1000000.0;
double xminval=10000000000.0, xmaxval = -10000000000.0; double xminval=100000000000, xmaxval = -10000000000.0;
for (int i = 0; i < graphParams.count(); i++) for (int i = 0; i < graphParams.count(); i++)
{ {
for (int j = 0; j < graphParams[i].x.count(); j++) for (int j = 0; j < graphParams[i].x.count(); j++)
@@ -1076,8 +1076,8 @@ void GraphingWindow::appendToGraph(GraphParams &params, CANFrame &frame, QVector
void GraphingWindow::createGraph(GraphParams &params, bool createGraphParam) void GraphingWindow::createGraph(GraphParams &params, bool createGraphParam)
{ {
int64_t tempVal; //64 bit temp value. int64_t tempVal; //64 bit temp value.
float yminval=10000000.0, ymaxval = -1000000.0; double yminval=10000000.0, ymaxval = -1000000.0;
float xminval=10000000000.0, xmaxval = -10000000000.0; double xminval=10000000000.0, xmaxval = -10000000000.0;
GraphParams *refParam = &params; GraphParams *refParam = &params;
int sBit, bits; int sBit, bits;
bool intelFormat, isSigned; bool intelFormat, isSigned;