48 lines
970 B
C++
Executable File
48 lines
970 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* HMI Plugin for OpeartorManagement - ACL Overview Dialog
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Patric Karwat, SLSE, 2016-04-20
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <QWidget>
|
|
|
|
#include "acl_dialog_model.h"
|
|
|
|
#include <OperatorManagement/opm_ftc.h>
|
|
#include <OperatorManagement/opm_dtc.h>
|
|
#include <OperatorManagement/logger.h>
|
|
#include <LtsWidgets/lts_dialog.h>
|
|
|
|
namespace Ui {
|
|
class AclDialog;
|
|
}
|
|
namespace OperatorManagement
|
|
{
|
|
class AclDialog : public LtsWidgets::LtsDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit AclDialog(QWidget *parent = nullptr);
|
|
~AclDialog();
|
|
bool init(const std::shared_ptr<OperatorManagement::Interface::Dtc> &dtc,
|
|
const std::shared_ptr<OperatorManagement::Interface::Ftc> &ftc);
|
|
|
|
private:
|
|
void retranslate() override;
|
|
|
|
AclDialogModel *m_model;
|
|
Ui::AclDialog *m_ui;
|
|
|
|
std::shared_ptr<OperatorManagement::Interface::Dtc> m_dtc;
|
|
std::shared_ptr<OperatorManagement::Interface::Ftc> m_ftc;
|
|
LOGGER_T m_logger;
|
|
};
|
|
}
|
|
|