Apply clang-format to Lts/Common and DTC/enum headers
- Formatted all CodeGen module files (9 files) - Formatted LtsAppDescriptor module files - Formatted LtsAppManager/AppChooser files - Applied clang-format to all DTC and enum headers across modules - Removed coordTransTests from CommonUnitTestsPlaceholder (moved to tests/) Cosmetic changes only, no functional modifications. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
848 files changed
+89305
-100020
No files matched your search
Executable → Regular
+62
-59
@@ -1,22 +1,19 @@
|
||||
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Evaluations/evl_dtc.h>
|
||||
#include <Evaluations/evl_ftc.h>
|
||||
#include <Evaluations/logger.h>
|
||||
#include <ExerciseManagement/exm_dtc.h>
|
||||
#include <OperatorManagement/opm_dtc.h>
|
||||
|
||||
#include <LtsWidgets/lts_dialog.h>
|
||||
#include <LtsUtils/LtsUtilsGui/LtsUtilsGuiDds/request_helper.h>
|
||||
|
||||
#include <LtsWidgets/lts_dialog.h>
|
||||
#include <OperatorManagement/opm_dtc.h>
|
||||
#include <Plugins/AudioVideoManagement/avm_data_plugin_interface.h>
|
||||
#include <Plugins/OperatorManagement/opm_gui_combobox_plugin_interface.h>
|
||||
#include <Plugins/FilterManagement/flt_participant_plugin_interface.h>
|
||||
#include <Plugins/FilterManagement/flt_aes_plugin_interface.h>
|
||||
#include <Plugins/FilterManagement/flt_building_cmpnt_plugin_interface.h>
|
||||
#include <Plugins/FilterManagement/flt_participant_plugin_interface.h>
|
||||
#include <Plugins/OperatorManagement/opm_gui_combobox_plugin_interface.h>
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
@@ -33,65 +30,71 @@ namespace Evaluations
|
||||
class CriteriumDialogModel;
|
||||
class CriteriumFilterModel;
|
||||
|
||||
class CriteriumDialog : public LtsWidgets::LtsDialog
|
||||
, protected Interface::Ftc::EvlCriteriumModifyReplyHandler
|
||||
, protected Interface::Ftc::EvlCriteriumRemoveReplyHandler
|
||||
class CriteriumDialog : public LtsWidgets::LtsDialog,
|
||||
protected Interface::Ftc::EvlCriteriumModifyReplyHandler,
|
||||
protected Interface::Ftc::EvlCriteriumRemoveReplyHandler
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit CriteriumDialog(const QString &menuGroup, LtsSession::LtsSession *session, bool ownEvlElements, QWidget *parent = nullptr);
|
||||
~CriteriumDialog();
|
||||
public:
|
||||
explicit CriteriumDialog(const QString& menuGroup, LtsSession::LtsSession* session, bool ownEvlElements,
|
||||
QWidget* parent = nullptr);
|
||||
~CriteriumDialog();
|
||||
|
||||
bool init(const std::shared_ptr<Interface::Dtc> &dtc,
|
||||
const std::shared_ptr<Interface::Ftc> &ftc,
|
||||
const std::shared_ptr<OperatorManagement::Interface::Dtc> &opmDtc,
|
||||
const std::shared_ptr<OperatorManagement::ForeignGuiComboboxInterface> &opmCbxDtc,
|
||||
const std::shared_ptr<ExerciseManagement::Interface::Dtc> &exmDtc,
|
||||
const std::shared_ptr<AudioVideoManagement::ForeignDataInterface> &avmDataIfc,
|
||||
const std::shared_ptr<FilterManagement::ForeignFltParticipantGuiInterface> &fltParticipantIfc,
|
||||
const std::shared_ptr<FilterManagement::ForeignAesGuiInterface> &fltAesIfc,
|
||||
const std::shared_ptr<FilterManagement::ForeignFltBuildingComponentGuiInterface> &fltBuildingComponentIfc,
|
||||
int exerciseId,
|
||||
int currentOperatorId);
|
||||
bool init(const std::shared_ptr<Interface::Dtc>& dtc, const std::shared_ptr<Interface::Ftc>& ftc,
|
||||
const std::shared_ptr<OperatorManagement::Interface::Dtc>& opmDtc,
|
||||
const std::shared_ptr<OperatorManagement::ForeignGuiComboboxInterface>& opmCbxDtc,
|
||||
const std::shared_ptr<ExerciseManagement::Interface::Dtc>& exmDtc,
|
||||
const std::shared_ptr<AudioVideoManagement::ForeignDataInterface>& avmDataIfc,
|
||||
const std::shared_ptr<FilterManagement::ForeignFltParticipantGuiInterface>& fltParticipantIfc,
|
||||
const std::shared_ptr<FilterManagement::ForeignAesGuiInterface>& fltAesIfc,
|
||||
const std::shared_ptr<FilterManagement::ForeignFltBuildingComponentGuiInterface>& fltBuildingComponentIfc,
|
||||
int exerciseId, int currentOperatorId);
|
||||
|
||||
protected:
|
||||
protected:
|
||||
NGL::INGLLogger& m_logger;
|
||||
|
||||
NGL::INGLLogger &m_logger;
|
||||
void onEvlCriteriumModifyReply(const Core::FunctionReplyObject &replyObject) override final { m_requestHelper->requestReply(replyObject); }
|
||||
void onEvlCriteriumRemoveReply(const Core::FunctionReplyObject &replyObject) override final { m_requestHelper->requestReply(replyObject); }
|
||||
void onPrint();
|
||||
void onEvlCriteriumModifyReply(const Core::FunctionReplyObject& replyObject) override final
|
||||
{
|
||||
m_requestHelper->requestReply(replyObject);
|
||||
}
|
||||
|
||||
private:
|
||||
void retranslate() override;
|
||||
void editCriterium(int criteriumId);
|
||||
void tableColumnOrganiserSetting() override;
|
||||
void onEvlCriteriumRemoveReply(const Core::FunctionReplyObject& replyObject) override final
|
||||
{
|
||||
m_requestHelper->requestReply(replyObject);
|
||||
}
|
||||
|
||||
CriteriumDialogModel *m_model{nullptr};
|
||||
CriteriumFilterModel *m_proxyModel{nullptr};
|
||||
LtsSession::LtsSession *m_session{nullptr};
|
||||
Ui::CriteriumDialog *m_ui{nullptr};
|
||||
std::shared_ptr<Evaluations::Interface::Dtc> m_dtc;
|
||||
std::shared_ptr<Evaluations::Interface::Ftc> m_ftc;
|
||||
std::shared_ptr<OperatorManagement::Interface::Dtc> m_opmDtc;
|
||||
std::shared_ptr<OperatorManagement::ForeignGuiComboboxInterface> m_opmCbxDtc;
|
||||
std::shared_ptr<ExerciseManagement::Interface::Dtc> m_exmDtc;
|
||||
std::shared_ptr<AudioVideoManagement::ForeignDataInterface> m_avmDataIfc;
|
||||
std::shared_ptr<FilterManagement::ForeignFltParticipantGuiInterface> m_fltParticipantIfc;
|
||||
std::shared_ptr<FilterManagement::ForeignAesGuiInterface> m_fltAesIfc;
|
||||
std::shared_ptr<FilterManagement::ForeignFltBuildingComponentGuiInterface> m_fltBuildingComponentIfc;
|
||||
QString m_menuGroup;
|
||||
int m_exerciseId{-1};
|
||||
int m_currentOperatorId{-1};
|
||||
bool m_ownEvaluationElements{false};
|
||||
LtsUtils::RequestHelper *m_requestHelper{nullptr};
|
||||
private slots:
|
||||
void slotAdd();
|
||||
void slotEdit();
|
||||
void slotRemove();
|
||||
void enaDisa();
|
||||
void slotEditElements();
|
||||
void onPrint();
|
||||
|
||||
private:
|
||||
void retranslate() override;
|
||||
void editCriterium(int criteriumId);
|
||||
void tableColumnOrganiserSetting() override;
|
||||
|
||||
CriteriumDialogModel* m_model{nullptr};
|
||||
CriteriumFilterModel* m_proxyModel{nullptr};
|
||||
LtsSession::LtsSession* m_session{nullptr};
|
||||
Ui::CriteriumDialog* m_ui{nullptr};
|
||||
std::shared_ptr<Evaluations::Interface::Dtc> m_dtc;
|
||||
std::shared_ptr<Evaluations::Interface::Ftc> m_ftc;
|
||||
std::shared_ptr<OperatorManagement::Interface::Dtc> m_opmDtc;
|
||||
std::shared_ptr<OperatorManagement::ForeignGuiComboboxInterface> m_opmCbxDtc;
|
||||
std::shared_ptr<ExerciseManagement::Interface::Dtc> m_exmDtc;
|
||||
std::shared_ptr<AudioVideoManagement::ForeignDataInterface> m_avmDataIfc;
|
||||
std::shared_ptr<FilterManagement::ForeignFltParticipantGuiInterface> m_fltParticipantIfc;
|
||||
std::shared_ptr<FilterManagement::ForeignAesGuiInterface> m_fltAesIfc;
|
||||
std::shared_ptr<FilterManagement::ForeignFltBuildingComponentGuiInterface> m_fltBuildingComponentIfc;
|
||||
QString m_menuGroup;
|
||||
int m_exerciseId{-1};
|
||||
int m_currentOperatorId{-1};
|
||||
bool m_ownEvaluationElements{false};
|
||||
LtsUtils::RequestHelper* m_requestHelper{nullptr};
|
||||
private slots:
|
||||
void slotAdd();
|
||||
void slotEdit();
|
||||
void slotRemove();
|
||||
void enaDisa();
|
||||
void slotEditElements();
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace Evaluations
|
||||
Reference in new issue
Block a user