39 lines
1.0 KiB
C++
Executable File
39 lines
1.0 KiB
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* GUI Plugin for ParticipantManagement - ParticipantEdit
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Patric Karwat, SLSE, 2016-10-17
|
|
*/
|
|
|
|
#include "participant_selection_gui_plugin.h"
|
|
#include "participant_selection.h"
|
|
|
|
//#include <ParticipantManagement/ppm_operator_rights.h>
|
|
//#include <Plugins/AdvancedSymbology/asb_data_plugin_interface.h>
|
|
//#include <LtsUtilsSettings/settings.h>
|
|
|
|
|
|
namespace ParticipantManagement
|
|
{
|
|
|
|
ParticipantManagement::ParticipantSelection *InterfaceImpl::onParticipantSelection(QWidget *parent, LtsSession::LtsSession *session)
|
|
{
|
|
|
|
// if (!session->getDtc<ParticipantManagement::DataInterface>(m_dtc))
|
|
// return nullptr;
|
|
// if (!session->getForeignGuiInterface<ParticipantManagement::ForeignGuiComboboxInterface>(m_ppmGuiCbxIfc))
|
|
// return nullptr;
|
|
// session->getForeignDataInterface<AdvancedSymbology::DataInterface>(m_asb);
|
|
|
|
auto *dlg = new ParticipantSelection(session, parent);
|
|
if (dlg->init())
|
|
return dlg;
|
|
return nullptr;
|
|
|
|
}
|
|
|
|
|
|
} // namespace ParticipantManagement
|