Adds initial intermediate qt6 porting state

This commit is contained in:
torsten committed 2026-08-17 17:54:56 +02:00
1 parent 99136e9460
commit d176b5e0d7
11247 files changed
+1891537

No files matched your search

@@ -0,0 +1,73 @@
#pragma once
#include "msg_messaging_model.h"
#include <Services/Messaging/msg_dtc.h>
#include <Services/Messaging/msg_ftc.h>
#include <OperatorManagement/opm_gui_combobox_plugin_interface.h>
#include <Plugins/ParticipantManagement/ppm_data_plugin_interface.h>
#include <Plugins/TrainingAreaBaseOC/taboc_data_plugin_interface.h>
#include <LtsWidgets/lts_dialog.h>
#include <LtsSession/lts_session.h>
#include <LtsUtilsGuiDds/request_helper.h>
namespace Ui
{
class MessagingView;
}
namespace Messaging
{
class MessagingView : public LtsWidgets::LtsDialog
, protected Messaging::Interface::Ftc::ModifyOperatorMessageReplyHandler
{
Q_OBJECT
public:
explicit MessagingView(const QString &menuGroup, LtsSession::LtsSession *session, QWidget *parent = nullptr);
~MessagingView();
bool init(const std::shared_ptr<Messaging::Interface::Dtc> &dtc,
const std::shared_ptr<Messaging::Interface::Ftc> &ftc,
const std::shared_ptr<ParticipantManagement::Interface::Dtc> &ppmDtc,
const std::shared_ptr<TrainingAreaBaseOC::Interface::Dtc> &tabocDtc,
const std::shared_ptr<OperatorManagement::ForeignGuiComboboxInterface> &opmCbxDtc,
const MessagingModel::Box &box);
private:
void retranslate() override;
void onSelectionChanged();
void onShowMessage();
void onNewMessage();
void onRemoveMessage();
void onPrint();
void tableColumnOrganiserSetting() override;
protected:
void onModifyOperatorMessageReply(const Core::FunctionReplyObject &replyObject) override final { m_requestHelper->requestReply(replyObject); }
private:
QString m_menuGroup;
MessagingModel *m_model;
MessagingProxyModel *m_proxyModel;
MessagingModel::Box m_box;
std::shared_ptr<Messaging::Interface::Dtc> m_dtc;
std::shared_ptr<Messaging::Interface::Ftc> m_ftc;
std::shared_ptr<OperatorManagement::ForeignGuiComboboxInterface> m_opmCbxDtc;
int m_uniqueMsgId;
LtsSession::LtsSession *m_session;
Ui::MessagingView *m_ui;
LtsUtils::RequestHelper *m_requestHelper;
LOGGER_T m_logger;
};
}