Files
torstenandCopilot 3028302f7b Qt6 Migration: Merge latest Qt5 devel content and apply migration fixes
- Merged 292 changed files from dlbo snapshot
- Fixed IDL enum collisions (PortType, PdmEventType)
- Fixed Grantlee template for C++11 scoped enums
- Fixed CMake VERSION_GREATER syntax
- Added missing directories (THP, LtsRestClient, etc.)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-15 18:20:51 +00:00

37 lines
944 B
C++

#pragma once
#include <Core/core.hpp>
#include <ParticipantManagement/ppm_dtc.h>
#include <Plugins/ParticipantManagement/participant_info_gui_element_interface.h>
#include <Plugins/SituationMapPlugin/situation_map_gui_plugin_interface.h>
#include <QObject>
class CustomWidget;
class GuiElementPlugin : public QObject, public GuiElementInterface
{
Q_OBJECT
Q_PLUGIN_METADATA(IID IGuiElementPlugin)
Q_INTERFACES(GuiElementInterface)
public:
GuiElementPlugin();
QString pluginName() {return QStringLiteral("KeyValueGuiElement_XY");}
QWidget* createGuiElement(QWidget *parent = nullptr);
bool init(LtsSession::LtsSession *session, int participantId = 0);
void onFindOnMap();
private:
LtsSession::LtsSession *m_session;
std::shared_ptr<ParticipantManagement::Interface::Dtc> m_ppmDtc;
std::shared_ptr<SituationMap::ForeignGuiInterface> m_sitMapGuiIfc;
CustomWidget *m_customWidget;
int m_participantId = 0;
};