/** * @RDE_HEADER@ * The AssetListDialog shows how many assets are needed for a specific schedule, needed elsewhere, * totally possessed, free, and missing * $Id: ism_exercise_assignment_dialog.h 45935 2019-03-08 08:36:11Z ehrlicher $ * $HeadURL: svn://192.168.133.21/TDS/branches/product/iterations/22_01_homer/Lts/Plugins/InfrastructureManagement/Gui/AudioVideoConfig/ExerciseAssignment/ism_exercise_assignment_dialog.h $ * $Author: ehrlicher $ * Created by Hannes Baeuerle, SLSE, 2017-06-29 */ #pragma once #include #include #include #include #include namespace Ui { class ExerciseAssignmentDialog; } namespace LtsSession { class LtsSession; } namespace LtsUtils { class RequestHelper; } namespace InfrastructureManagement { class ExerciseAssignmentDialogModel; class ExerciseAssignmentDialog : public LtsWidgets::LtsDialog , protected InfrastructureManagement::Interface::Ftc::MainStructureElementModifyReplyHandler { Q_OBJECT public: explicit ExerciseAssignmentDialog(LtsSession::LtsSession *session, QWidget *parent = nullptr); ~ExerciseAssignmentDialog(); bool init(const std::shared_ptr &ismDtc, const std::shared_ptr &ismFtc, const std::shared_ptr &exmDtc); void onMainStructureElementModifyReply(const Core::FunctionReplyObject &replyObject) override final; private Q_SLOTS: void onAssignedClicked(); void onSelectionChanged(); void onPrint(); private: // methods void retranslate() override; private: // attributes LtsSession::LtsSession *m_session; Ui::ExerciseAssignmentDialog *m_ui; std::shared_ptr m_ismDtc; std::shared_ptr m_ismFtc; std::shared_ptr m_exmDtc; ExerciseAssignmentDialogModel *m_model; LtsUtils::RequestHelper *m_requestHelper; LOGGER_T m_logger; }; // class AssetListDialogModel } // namespace InfrastructureManagement