Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+54
@@ -0,0 +1,54 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* HMI Plugin for ParticipantManagement - Name Template Unit Frameless Dialog
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Patric Karwat, SLSE, 2016-11-07
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <ParticipantManagement/logger.h>
|
||||
#include <ParticipantManagement/ppm_dtc.h>
|
||||
#include <Plugins/ParticipantManagement/ppm_gui_combobox_plugin_interface.h>
|
||||
#include <LtsWidgets/lts_frameless_dialog.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class TemplateUnitNamer;
|
||||
}
|
||||
namespace ParticipantManagement
|
||||
{
|
||||
|
||||
class TemplateUnitNamer : public LtsWidgets::LtsFramelessDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit TemplateUnitNamer(bool asSupportService,
|
||||
const std::shared_ptr<ParticipantManagement::Interface::Dtc> &dtc,
|
||||
const std::shared_ptr<ParticipantManagement::ForeignGuiComboboxInterface> &ppmGuiCbxIfc,
|
||||
QWidget *parent = nullptr);
|
||||
~TemplateUnitNamer();
|
||||
|
||||
private:
|
||||
void onSetUnitName();
|
||||
void onTypeClassChanged();
|
||||
void enaDisa();
|
||||
|
||||
Q_SIGNALS:
|
||||
void newUnitTemplateRoot(const ParticipantManagement::TemplateData &);
|
||||
|
||||
private:
|
||||
bool m_asSupportService;
|
||||
std::shared_ptr<ParticipantManagement::Interface::Dtc> m_dtc;
|
||||
std::shared_ptr<ParticipantManagement::ForeignGuiComboboxInterface> m_ppmGuiCbxIfc;
|
||||
Ui::TemplateUnitNamer *m_ui;
|
||||
QValidator *m_validator;
|
||||
LOGGER_T m_logger;
|
||||
};
|
||||
|
||||
} // namespace ParticipantManagement
|
||||
Reference in new issue
Block a user