- Copy Lts/Application from qt5-before (AarApp, OpApp, THP submodules) - Update all CMakeLists.txt to use Qt6::Core, Qt6::Widgets, Qt6::Xml, Qt6::Network, Qt6::PrintSupport, Qt6::Svg, Qt6::WebEngineCore, Qt6::WebEngineWidgets - No SIGNAL/SLOT, QRegExp, QDesktopWidget, or QTextCodec issues found in Application source code - Module ready for Qt6 build validation
42 lines
776 B
C++
Executable File
42 lines
776 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* MainWindow for SitMapReplayTest
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Christian Ehrlicher, SLSE, 2016-02-29
|
|
*/
|
|
#pragma once
|
|
|
|
#include <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;
|
|
};
|
|
}
|