Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+71
@@ -0,0 +1,71 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* HMI Plugin for OpeartorManagement - Operator/User Overview Dialog
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Christian Ehrlicher, SLSE, 2016-02-29
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LtsWidgets/lts_dialog.h>
|
||||
#include <WarehouseGuez/whg_ftc.h>
|
||||
#include <WarehouseGuez/whg_dtc.h>
|
||||
#include <WarehouseGuez/logger.h>
|
||||
|
||||
namespace Ui {
|
||||
class InjuryModelList;
|
||||
}
|
||||
|
||||
namespace LtsSession {
|
||||
class LtsSession;
|
||||
}
|
||||
|
||||
namespace LtsUtils {
|
||||
class RequestHelper;
|
||||
}
|
||||
|
||||
namespace WarehouseManagement
|
||||
{
|
||||
class InjuryModelModel;
|
||||
|
||||
class InjuryModelList : public LtsWidgets::LtsDialog
|
||||
, protected WarehouseGuez::Interface::Ftc::RemoveInjuryModelAgdusWhReplyHandler
|
||||
, protected WarehouseGuez::Interface::Ftc::ModifyInjuryModelAgdusWhReplyHandler
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit InjuryModelList(const QString &menuGroup, LtsSession::LtsSession *session, QWidget *parent = nullptr);
|
||||
~InjuryModelList();
|
||||
bool init();
|
||||
|
||||
protected:
|
||||
void onRemoveInjuryModelAgdusWhReply(const Core::FunctionReplyObject &reply) override;
|
||||
void onModifyInjuryModelAgdusWhReply(const Core::FunctionReplyObject &reply) override;
|
||||
|
||||
private:
|
||||
void retranslate() override;
|
||||
void tableColumnOrganiserSetting() override;
|
||||
|
||||
QString m_menuGroup;
|
||||
InjuryModelModel *m_model;
|
||||
LtsSession::LtsSession *m_session;
|
||||
std::shared_ptr<WarehouseGuez::Interface::Ftc> m_ftc;
|
||||
std::shared_ptr<WarehouseGuez::Interface::Dtc> m_dtc;
|
||||
LtsUtils::RequestHelper *m_requestHelper;
|
||||
WarehouseGuez::LOGGER_T m_logger;
|
||||
Ui::InjuryModelList *m_ui;
|
||||
|
||||
void editInjuryModel(int id);
|
||||
|
||||
private slots:
|
||||
void enaDisa();
|
||||
void onRemoveInjuryModel();
|
||||
void onAddInjuryModel();
|
||||
void onEditInjuryModel();
|
||||
void onNewInjuryModel(int id);
|
||||
};
|
||||
|
||||
} // namespace WarehouseManagement
|
||||
Reference in new issue
Block a user