43 lines
847 B
C++
Executable File
43 lines
847 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* HMI Plugin for ParticipantManagement - Name Unit Frameless Dialog
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Patric Karwat, SLSE, 2016-11-07
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <ParticipantManagement/logger.h>
|
|
|
|
#include <LtsWidgets/lts_frameless_dialog.h>
|
|
|
|
namespace Ui
|
|
{
|
|
class ParticipantUnitNamer;
|
|
}
|
|
namespace ParticipantManagement
|
|
{
|
|
|
|
class ParticipantUnitNamer : public LtsWidgets::LtsFramelessDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ParticipantUnitNamer(const QString &designator, const QString &tactIdent, QWidget *parent = nullptr);
|
|
~ParticipantUnitNamer();
|
|
|
|
private Q_SLOTS:
|
|
void onSetUnitName();
|
|
Q_SIGNALS:
|
|
void newUnitNames(const QString &, const QString &);
|
|
|
|
private:
|
|
Ui::ParticipantUnitNamer *m_ui;
|
|
QValidator *m_validator;
|
|
LOGGER_T m_logger;
|
|
};
|
|
|
|
} // namespace ParticipantManagement
|