Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+72
@@ -0,0 +1,72 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* Alarm Configuration
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Mike Wille, SLSE, 2017-01-11
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LtsWidgets/lts_dialog.h>
|
||||
#include <GuezNasat/gna_dtc.h>
|
||||
#include <GuezNasat/gna_ftc.h>
|
||||
#include <ParticipantManagement/ppm_dtc.h>
|
||||
#include <LtsUtilsGuiDds/request_helper.h>
|
||||
#include <GuezNasat/logger.h>
|
||||
#include <Plugins/GuezNasat/Gui/Common/gna_nasat_aircraft_part_model.h>
|
||||
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class GuezNasatPartDialog;
|
||||
}
|
||||
|
||||
namespace GuezNasat
|
||||
{
|
||||
|
||||
class GuezNasatPartDialog final : public LtsWidgets::LtsDialog
|
||||
, protected GuezNasat::Interface::Ftc::ModifyNasatAircraftParticipantReplyHandler
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
explicit GuezNasatPartDialog(const QString &menuGroup, LtsSession::LtsSession *session, QWidget *parent = nullptr);
|
||||
~GuezNasatPartDialog();
|
||||
|
||||
bool init(const std::shared_ptr<GuezNasat::Interface::Ftc> &ftc,
|
||||
const std::shared_ptr<GuezNasat::Interface::Dtc> &dtc,
|
||||
const std::shared_ptr<ExerciseManagement::Interface::Dtc> &exmDtc,
|
||||
const std::shared_ptr<ParticipantManagement::Interface::Dtc> &ppmDtc,
|
||||
const std::shared_ptr<ParticipantManagement::ForeignGuiComboboxInterface> &ppmGuiCbxIfc);
|
||||
|
||||
void retranslate() override;
|
||||
|
||||
protected:
|
||||
void onModifyNasatAircraftParticipantReply(const Core::FunctionReplyObject &replyObject) override final { m_requestHelper->requestReply(replyObject); }
|
||||
|
||||
private slots:
|
||||
void onSelectionChanged();
|
||||
void onNewAircraftPart();
|
||||
void onRemoveAircraftPart();
|
||||
void onEditAircraftPart();
|
||||
|
||||
private:
|
||||
void tableColumnOrganiserSetting() override;
|
||||
NasatAircraftParticipantModel *m_nasatAircraftParticipantModel;
|
||||
|
||||
std::shared_ptr<GuezNasat::Interface::Dtc> m_dtc;
|
||||
std::shared_ptr<GuezNasat::Interface::Ftc> m_ftc;
|
||||
std::shared_ptr<ExerciseManagement::Interface::Dtc> m_exmDtc;
|
||||
std::shared_ptr<ParticipantManagement::Interface::Dtc> m_ppmDtc;
|
||||
|
||||
LtsSession::LtsSession *m_session;
|
||||
Ui::GuezNasatPartDialog *m_ui;
|
||||
QString m_menuGroup;
|
||||
LtsUtils::RequestHelper *m_requestHelper;
|
||||
LOGGER_T m_logger;
|
||||
};
|
||||
|
||||
} // namespace GuezNasat
|
||||
Reference in new issue
Block a user