Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+51
@@ -0,0 +1,51 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* HMI Plugin for ParticipantManagement - Insert Template Frameless Dialog
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Patric Karwat, SLSE, 2016-10-05
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "participant_template_chooser_model.h"
|
||||
|
||||
#include <Services/ParticipantManagement/ppm_dtc.h>
|
||||
|
||||
|
||||
#include <LtsWidgets/lts_frameless_dialog.h>
|
||||
#include <LtsSession/lts_session.h>
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class ParticipantTemplateChooserFrameless;
|
||||
}
|
||||
namespace ParticipantManagement
|
||||
{
|
||||
|
||||
class ParticipantTemplateChooserFrameless : public LtsWidgets::LtsFramelessDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ParticipantTemplateChooserFrameless(LtsSession::LtsSession *session, QWidget *parent = nullptr);
|
||||
~ParticipantTemplateChooserFrameless();
|
||||
bool init(const std::shared_ptr<ParticipantManagement::Interface::Dtc> &dtc);
|
||||
|
||||
private Q_SLOTS:
|
||||
void onAddTemplate();
|
||||
Q_SIGNALS:
|
||||
void selectedTemplate(int);
|
||||
|
||||
private:
|
||||
ParticipantTemplateChooserModel *m_model;
|
||||
std::shared_ptr<ParticipantManagement::Interface::Dtc> m_dtc;
|
||||
LtsSession::LtsSession *m_session;
|
||||
|
||||
Ui::ParticipantTemplateChooserFrameless *m_ui;
|
||||
|
||||
LOGGER_T m_logger;
|
||||
};
|
||||
|
||||
} // namespace ParticipantManagement
|
||||
Reference in new issue
Block a user