Ported from master to next:

#1489: TRACE() output intercepted and shown in Companion (shortcut F6)
#1270: simple Trainer Simulator (shortcut F5)
#1466: telemetry simulator (shorcut F5)
This commit is contained in:
Damjan Adamic
2015-01-04 20:07:39 +01:00
parent a2dc0040b0
commit bb921a0a7f
39 changed files with 865 additions and 96 deletions
+38
View File
@@ -0,0 +1,38 @@
#ifndef telemetrysimu_h
#define telemetrysimu_h
#include <QDialog>
#include <QTimer>
#include "simulatorinterface.h"
namespace Ui {
class TelemetrySimulator;
}
class TelemetrySimulator : public QDialog
{
Q_OBJECT
public:
explicit TelemetrySimulator(QWidget * parent, SimulatorInterface * simulator);
virtual ~TelemetrySimulator();
protected:
private:
Ui::TelemetrySimulator * ui;
QTimer * timer;
SimulatorInterface *simulator;
void generateTelemetryFrame();
private slots:
void onTimerEvent();
};
#endif