61 lines
1.5 KiB
C++
Executable File
61 lines
1.5 KiB
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* SanNineLiner - Overview Dialog
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Hanna E. Rathje, SLSE, 2020-05-14
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <Evaluations/evl_ftc.h>
|
|
#include <Evaluations/logger.h>
|
|
#include <LtsWidgets/lts_dialog.h>
|
|
#include <LtsUtilsGuiDds/request_helper.h>
|
|
#include <LtsSession/lts_session_data_dds.h>
|
|
|
|
namespace Ui
|
|
{
|
|
class SanNineLinerDialog;
|
|
}
|
|
|
|
namespace Evaluations
|
|
{
|
|
class SanNineLinerDialogModel;
|
|
// --------------------------------------------------------
|
|
// SanNineLinerDialog
|
|
// --------------------------------------------------------
|
|
class SanNineLinerDialog : public LtsWidgets::LtsDialog
|
|
, protected Evaluations::Interface::Ftc::SanNineLinerRemoveReplyHandler
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit SanNineLinerDialog(const QString &menuGroup, QWidget *parent = nullptr);
|
|
~SanNineLinerDialog();
|
|
|
|
bool init(LtsSession::LtsSessionDataDds *session);
|
|
|
|
private slots:
|
|
void enaDisa();
|
|
void onAddSanNineLiner();
|
|
void onEditSanNineLiner();
|
|
void onRemoveSanNineLiner();
|
|
|
|
private:
|
|
void retranslate() override;
|
|
void onSanNineLinerRemoveReply(const Core::FunctionReplyObject &replyObject) override final { m_requestHelper->requestReply(replyObject); }
|
|
void tableColumnOrganiserSetting() override;
|
|
|
|
SanNineLinerDialogModel *m_model{nullptr};
|
|
Ui::SanNineLinerDialog *m_ui{nullptr};
|
|
LtsSession::LtsSessionDataDds *m_session{nullptr};
|
|
std::shared_ptr<Evaluations::Interface::Ftc> m_ftc;
|
|
QString m_menuGroup;
|
|
LtsUtils::RequestHelper *m_requestHelper{nullptr};
|
|
|
|
LOGGER_T m_logger;
|
|
};
|
|
}
|