Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+56
@@ -0,0 +1,56 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Philipp Last, NLSE, 2018-01-11
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LtsWidgets/lts_dialog.h>
|
||||
#include <Evaluations/logger.h>
|
||||
#include <Evaluations/evl_dtc.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:
|
||||
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};
|
||||
NGL::INGLLogger &m_logger;
|
||||
};
|
||||
} // namespace BuildingViewer
|
||||
Reference in new issue
Block a user