- cmake/FindRTI.cmake: Add INTERFACE placeholder targets when RTI not found - cmake/FindRTI.cmake: Force BUILD_RTI=OFF when RTI not installed - Lts/Common/LtsSession/CMakeLists.txt: Make LtsSessionDataDds conditional on BUILD_RTI - Lts/Viewer/CMakeLists.txt: Make LtsDataView conditional on BUILD_RTI - Lts/Plugins/*/CMakeLists.txt: 97 plugin files wrapped in BUILD_RTI conditionals - cmake/NGLMacros.cmake: Fix NGL_ADD_BIG_RESOURCES macro (removed premature return()) - Multiple Qt6 API fixes: QLinkedList→std::list, QStringRef→QStringView, etc. - BUILD_RTI_FIXES_SUMMARY.md: Comprehensive documentation of all fixes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
59 lines
1.3 KiB
C++
Executable File
59 lines
1.3 KiB
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <LtsWidgets/lts_dialog.h>
|
|
#include <GuezNasat/gna_dtc.h>
|
|
#include <GuezNasat/gna_ftc.h>
|
|
#include <LtsUtils/LtsUtilsGui/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;
|
|
};
|
|
|
|
}
|