Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Plugins/ParticipantManagement/Gui/OperationalPlanning/participant_show.h
T

72 lines
1.6 KiB
C++
Executable File

#pragma once
#include <ParticipantManagement/logger.h>
#include <ParticipantManagement/ppm_dtc.h>
#include <ParticipantManagement/ppm_ftc.h>
#include <ParticipantManagement/ppm_gui_combobox_plugin_interface.h>
#include <LtsWidgets/lts_dialog.h>
#include <LtsSession/lts_session.h>
#include <LtsUtils/LtsUtilsGui/LtsUtilsGuiDds/request_helper.h>
#include "ppm_planning_model.h"
namespace AdvancedSymbology
{
class ForeignDataInterface;
}
namespace Ui
{
class ParticipantShow;
}
namespace ParticipantManagement
{
class ParticipantPlanningModel;
class ParticipantTreeEditHandler;
class ParticipantShow : public LtsWidgets::LtsDialog
{
Q_OBJECT
public:
ParticipantShow(LtsSession::LtsSession *session,
bool asSupportService,
QWidget *parent = nullptr);
virtual ~ParticipantShow();
bool init(const std::shared_ptr<ParticipantManagement::Interface::Dtc> &dtc,
const std::shared_ptr<ParticipantManagement::Interface::Ftc> &ftc,
const std::shared_ptr<AdvancedSymbology::ForeignDataInterface> &asbIfc,
const int partyId,
const QString &nameParty);
private:
NGL::INGLLogger &m_logger;
void retranslate() override;
protected slots:
void onPartyChanged();
void onPrint();
private:
bool m_asSupportService;
ParticipantTreeEditHandler* m_pTreehandler;
std::shared_ptr<ParticipantManagement::Interface::Dtc> m_dtc;
std::shared_ptr<ParticipantManagement::Interface::Ftc> m_ftc;
int m_partyId;
QString m_nameParty;
LtsSession::LtsSession *m_session;
ParticipantPlanningModel *m_model;
Ui::ParticipantShow *m_ui;
};
}