Files
qt5-legatus-legacy/Lts/Plugins/Evaluations/Gui/SchemaEdit/evl_new_comment_dialog.h
T
2026-08-13 18:33:10 +02:00

46 lines
857 B
C++
Executable File

/**
* @RDE_HEADER@
* $Id$
* $HeadURL$
* $Author$
* Created by Philipp Last, NLSE, 2018-01-12
*/
#pragma once
#include <LtsWidgets/lts_dialog.h>
#include <Plugins/OperatorManagement/opm_data_plugin_interface.h>
namespace Ui
{
class EvlNewCommentDialog;
}
namespace Evaluations
{
class EvlNewCommentDialog : public QDialog
{
Q_OBJECT
public:
explicit EvlNewCommentDialog(const std::shared_ptr<OperatorManagement::Interface::Dtc> &opmDtc,
QWidget *parent = nullptr);
~EvlNewCommentDialog();
bool autoSend() const;
QString comment() const;
int selectedReceiverId() const;
void setAsEditComment(const QString &text);
private slots:
void onTextChanged();
private:
Ui::EvlNewCommentDialog *m_ui{nullptr};
const int m_maxChars{255};
NGL::INGLLogger &m_logger;
};
} // namespace Evaluations