Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+76
@@ -0,0 +1,76 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* GUI Plugin for ParticipantManagement - Participant Edit
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Patric Karwat, SLSE, 2016-10-17
|
||||
*/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <ParticipantManagement/logger.h>
|
||||
#include <Services/ParticipantManagement/ppm_dtc.h>
|
||||
#include <Services/ParticipantManagement/ppm_ftc.h>
|
||||
#include <Plugins/ParticipantManagement/ppm_gui_combobox_plugin_interface.h>
|
||||
#include <LtsWidgets/lts_dialog.h>
|
||||
#include <LtsSession/lts_session.h>
|
||||
#include <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:
|
||||
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;
|
||||
NGL::INGLLogger &m_logger;
|
||||
};
|
||||
|
||||
} //ParticipantManagement
|
||||
Reference in new issue
Block a user