Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+56
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* @RDE_HEADER@
|
||||
* MainWindow
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Hanna E. Rathje, SLTE, 2022-03-29
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <QMainWindow>
|
||||
|
||||
class QLabel;
|
||||
|
||||
namespace NGL
|
||||
{
|
||||
class INGLLogger;
|
||||
}
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class MainWindow;
|
||||
}
|
||||
|
||||
namespace WlsRandomPositions
|
||||
{
|
||||
class PositionHelper;
|
||||
class Worker;
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
MainWindow(QWidget *parent = nullptr);
|
||||
~MainWindow();
|
||||
|
||||
public slots:
|
||||
void onStartClicked();
|
||||
void onStopClicked();
|
||||
void onConnectionStateChanged(bool connected, const QString &status);
|
||||
void onTelegramsIncremented(int sentTelegrams);
|
||||
void onTrainingAreaChanged(int index);
|
||||
|
||||
private:
|
||||
Ui::MainWindow *m_ui;
|
||||
QLabel *m_statusLabelConnected;
|
||||
QLabel *m_statusLabelSentTelegrams;
|
||||
Worker *m_worker;
|
||||
PositionHelper *m_posHelper;
|
||||
NGL::INGLLogger &m_logger;
|
||||
|
||||
};
|
||||
|
||||
} // Namespace WlsRandomPositions
|
||||
|
||||
Reference in new issue
Block a user