Clean up last bits of debugging
This commit is contained in:
@@ -32,13 +32,13 @@ FrameSenderWindow::FrameSenderWindow(const QVector<CANFrame> *frames, QWidget *p
|
|||||||
createBlankRow();
|
createBlankRow();
|
||||||
|
|
||||||
connect(ui->tableSender, SIGNAL(cellChanged(int,int)), this, SLOT(onCellChanged(int,int)));
|
connect(ui->tableSender, SIGNAL(cellChanged(int,int)), this, SLOT(onCellChanged(int,int)));
|
||||||
connect(intervalTimer, SIGNAL(timeout()), this, SLOT(handleTick()), Qt::QueuedConnection);
|
connect(intervalTimer, SIGNAL(timeout()), this, SLOT(handleTick()));
|
||||||
connect(ui->btnClearGrid, SIGNAL(clicked(bool)), this, SLOT(clearGrid()));
|
connect(ui->btnClearGrid, SIGNAL(clicked(bool)), this, SLOT(clearGrid()));
|
||||||
connect(ui->btnDisableAll, SIGNAL(clicked(bool)), this, SLOT(disableAll()));
|
connect(ui->btnDisableAll, SIGNAL(clicked(bool)), this, SLOT(disableAll()));
|
||||||
connect(ui->btnEnableAll, SIGNAL(clicked(bool)), this, SLOT(enableAll()));
|
connect(ui->btnEnableAll, SIGNAL(clicked(bool)), this, SLOT(enableAll()));
|
||||||
connect(ui->btnLoadGrid, SIGNAL(clicked(bool)), this, SLOT(loadGrid()));
|
connect(ui->btnLoadGrid, SIGNAL(clicked(bool)), this, SLOT(loadGrid()));
|
||||||
connect(ui->btnSaveGrid, SIGNAL(clicked(bool)), this, SLOT(saveGrid()));
|
connect(ui->btnSaveGrid, SIGNAL(clicked(bool)), this, SLOT(saveGrid()));
|
||||||
connect(MainWindow::getReference(), SIGNAL(framesUpdated(int)), this, SLOT(updatedFrames(int)), Qt::QueuedConnection);
|
connect(MainWindow::getReference(), SIGNAL(framesUpdated(int)), this, SLOT(updatedFrames(int)));
|
||||||
|
|
||||||
intervalTimer->start();
|
intervalTimer->start();
|
||||||
elapsedTimer.start();
|
elapsedTimer.start();
|
||||||
@@ -195,7 +195,7 @@ void FrameSenderWindow::processIncomingFrame(CANFrame *frame)
|
|||||||
sendingData[sd].count++;
|
sendingData[sd].count++;
|
||||||
doModifiers(sd);
|
doModifiers(sd);
|
||||||
updateGridRow(sd);
|
updateGridRow(sd);
|
||||||
CANConManager::getInstance()->sendFrame(CANFrame(sendingData[sd]));
|
CANConManager::getInstance()->sendFrame(sendingData[sd]);
|
||||||
}
|
}
|
||||||
else //delayed sending frame
|
else //delayed sending frame
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QElapsedTimer>
|
#include <QElapsedTimer>
|
||||||
#include <QTime>
|
#include <QTime>
|
||||||
#include <QMutex>
|
|
||||||
#include "can_structs.h"
|
#include "can_structs.h"
|
||||||
#include "can_trigger_structs.h"
|
#include "can_trigger_structs.h"
|
||||||
|
|
||||||
|
|||||||
@@ -25,9 +25,9 @@ public:
|
|||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
#ifdef QT_DEBUG
|
#ifdef QT_DEBUG
|
||||||
qputenv("QT_FATAL_WARNINGS", "1");
|
//uncomment for verbose debug data in application output
|
||||||
//qputenv("QT_MESSAGE_PATTERN", "Type: %{type}\nProduct Name: %{appname}\nFile: %{file}\nLine: %{line}\nMethod: %{function}\nThreadID: %{threadid}\nThreadPtr: %{qthreadptr}\nMessage: %{message}");
|
//qputenv("QT_FATAL_WARNINGS", "1");
|
||||||
qSetMessagePattern("Type: %{type}\nProduct Name: %{appname}\nFile: %{file}\nLine: %{line}\nMethod: %{function}\nThreadID: %{threadid}\nThreadPtr: %{qthreadptr}\nMessage: %{message}");
|
//qSetMessagePattern("Type: %{type}\nProduct Name: %{appname}\nFile: %{file}\nLine: %{line}\nMethod: %{function}\nThreadID: %{threadid}\nThreadPtr: %{qthreadptr}\nMessage: %{message}");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
SavvyCANApplication a(argc, argv);
|
SavvyCANApplication a(argc, argv);
|
||||||
|
|||||||
Reference in New Issue
Block a user