Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,59 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* OperatorManangement - Operator Edit Dialog
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Christian Ehrlicher, SLSE, 2016-02-29
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LtsWidgets/lts_dialog.h>
|
||||
#include <ProjectDataManagement/pdm_ftc.h>
|
||||
#include <ProjectDataManagement/logger.h>
|
||||
|
||||
namespace Ui {
|
||||
class ChargeEditDialog;
|
||||
}
|
||||
|
||||
namespace LtsSession {
|
||||
class LtsSession;
|
||||
}
|
||||
|
||||
namespace LtsUtils {
|
||||
class RequestHelper;
|
||||
}
|
||||
|
||||
namespace ProjectDataManagement
|
||||
{
|
||||
class ChargeEditDialog : public LtsWidgets::LtsDialog
|
||||
, protected ProjectDataManagement::Interface::Ftc::UpdateChargeNamesReplyHandler
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ChargeEditDialog(const int chargeId,
|
||||
LtsSession::LtsSession *session,
|
||||
QWidget *parent = nullptr);
|
||||
~ChargeEditDialog();
|
||||
|
||||
bool init();
|
||||
void loadUiValues();
|
||||
|
||||
|
||||
protected:
|
||||
void onUpdateChargeNamesReply(const Core::FunctionReplyObject &reply) override;
|
||||
|
||||
private:
|
||||
void retranslate() override;
|
||||
bool apply() override final;
|
||||
|
||||
Ui::ChargeEditDialog *m_ui;
|
||||
LtsSession::LtsSession *m_session;
|
||||
std::shared_ptr<ProjectDataManagement::Interface::Ftc> m_ftc;
|
||||
LtsUtils::RequestHelper *m_requestHelper;
|
||||
ChargeType m_chargeType;
|
||||
LOGGER_T m_logger;
|
||||
};
|
||||
} //namespace ProjectDataManagement
|
||||
Reference in new issue
Block a user