42 lines
786 B
C++
Executable File
42 lines
786 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* MainWindow for SitMapReplayTest
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Christian Ehrlicher, SLSE, 2016-02-29
|
|
*/
|
|
#pragma once
|
|
|
|
#include <QtWidgets/QMainWindow>
|
|
#include <memory>
|
|
|
|
namespace Ui
|
|
{
|
|
class SrpMainWindow;
|
|
}
|
|
namespace SituationMap
|
|
{
|
|
class SituationMapInit;
|
|
}
|
|
namespace SituationReplay
|
|
{
|
|
class HandlerSituationReplaySqlite;
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
MainWindow(SituationMap::SituationMapInit *sitMap,
|
|
const std::shared_ptr<HandlerSituationReplaySqlite> &srpHandler,
|
|
QWidget *parent = nullptr);
|
|
~MainWindow();
|
|
protected slots:
|
|
void onStartReplay();
|
|
void onStopReplay();
|
|
private:
|
|
std::shared_ptr<HandlerSituationReplaySqlite> m_srpHandler;
|
|
Ui::SrpMainWindow *m_ui;
|
|
};
|
|
}
|