Adds initial intermediate qt6 porting state
This commit is contained in:
11247 files changed
+1891537
No files matched your search
+58
@@ -0,0 +1,58 @@
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LtsWidgets/lts_dialog.h>
|
||||
#include <GuezNasat/gna_dtc.h>
|
||||
#include <GuezNasat/gna_ftc.h>
|
||||
#include <LtsUtilsGuiDds/request_helper.h>
|
||||
#include <GuezNasat/logger.h>
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class GuezNasatDialog;
|
||||
}
|
||||
|
||||
namespace GuezNasat
|
||||
{
|
||||
class NasatAircraftModel;
|
||||
|
||||
class GuezNasatDialog final : public LtsWidgets::LtsDialog
|
||||
, protected GuezNasat::Interface::Ftc::ModifyNasatAircraftReplyHandler
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
explicit GuezNasatDialog(const QString &menuGroup, QWidget *parent = nullptr);
|
||||
~GuezNasatDialog();
|
||||
|
||||
bool init(const std::shared_ptr<GuezNasat::Interface::Ftc> &ftc,
|
||||
const std::shared_ptr<GuezNasat::Interface::Dtc> &dtc);
|
||||
|
||||
void retranslate() override;
|
||||
|
||||
protected:
|
||||
void onModifyNasatAircraftReply(const Core::FunctionReplyObject &replyObject) override final { m_requestHelper->requestReply(replyObject); }
|
||||
|
||||
private slots:
|
||||
void onSelectionChanged();
|
||||
void onNewAircraft();
|
||||
void onRemoveAircraft();
|
||||
void onEditAircraft();
|
||||
|
||||
private:
|
||||
void tableColumnOrganiserSetting() override;
|
||||
|
||||
NasatAircraftModel *m_nasatAircraftModel;
|
||||
|
||||
std::shared_ptr<GuezNasat::Interface::Dtc> m_dtc;
|
||||
std::shared_ptr<GuezNasat::Interface::Ftc> m_ftc;
|
||||
|
||||
Ui::GuezNasatDialog *m_ui;
|
||||
QString m_menuGroup;
|
||||
LtsUtils::RequestHelper *m_requestHelper;
|
||||
LOGGER_T m_logger;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user