Files
qt5-legatus-legacy/Lts/Plugins/ParticipantManagement/participant_info_gui_element_interface.h
T
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

24 lines
574 B
C++

#pragma once
#include <QtPlugin>
#include <QWidget>
namespace LtsSession
{
class LtsSession;
}
class GuiElementInterface
{
public:
GuiElementInterface() = default;
virtual ~GuiElementInterface() = default;
virtual QString pluginName() = 0;
virtual QWidget* createGuiElement(QWidget *parent = nullptr) = 0;
virtual bool init(LtsSession::LtsSession *session, int participantId = 0) = 0;
};
// Eindeutige ID für das Qt-Plugin-System
#define IGuiElementPlugin "gui_element:3:participantInfo.guiElement"
Q_DECLARE_INTERFACE(GuiElementInterface, IGuiElementPlugin)