Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Plugins/Evaluations/Gui/SchemaEdit/evl_comments.h
T
torstenandCopilot d6b6ffce7c Apply clang-format to Lts/Common and DTC/enum headers
- Formatted all CodeGen module files (9 files)
- Formatted LtsAppDescriptor module files
- Formatted LtsAppManager/AppChooser files
- Applied clang-format to all DTC and enum headers across modules
- Removed coordTransTests from CommonUnitTestsPlaceholder (moved to tests/)

Cosmetic changes only, no functional modifications.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-19 14:46:29 +02:00

49 lines
1.3 KiB
C++

#pragma once
#include <Evaluations/evl_dtc.h>
#include <Evaluations/logger.h>
#include <LtsWidgets/lts_dialog.h>
#include <Plugins/OperatorManagement/opm_data_plugin_interface.h>
namespace Ui
{
class EvlCommentsDialog;
}
namespace Evaluations
{
class EvlCommentDataViewModel;
class EvlCommentDataViewProxyModel;
class EvlCommentsView : public LtsWidgets::LtsDialog
{
Q_OBJECT
public:
EvlCommentsView(const std::shared_ptr<Interface::Dtc>& evlDtc,
const std::shared_ptr<OperatorManagement::Interface::Dtc>& opmDtc, QWidget* parent = nullptr);
~EvlCommentsView();
private slots:
void onLtsDataView_DoubleClicked();
void onCommentChanged(const Evaluations::EvaluationComment& data, DataModification modType);
private:
NGL::INGLLogger& m_logger;
bool insertComment(const Evaluations::EvaluationComment& c);
void retranslate() override;
bool eventFilter(QObject* object, QEvent* event) override;
void tableColumnOrganiserSetting() override;
Ui::EvlCommentsDialog* m_ui{nullptr};
std::shared_ptr<Interface::Dtc> m_evlDtc;
std::shared_ptr<OperatorManagement::Interface::Dtc> m_opmDtc;
EvlCommentDataViewModel* m_model{nullptr};
EvlCommentDataViewProxyModel* m_proxyModel{nullptr};
};
} // namespace Evaluations