- 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>
26 lines
603 B
C++
26 lines
603 B
C++
#pragma once
|
|
|
|
#include <QtPlugin>
|
|
#include <QString>
|
|
#include <QWidget>
|
|
|
|
class ChildInterface
|
|
{
|
|
public:
|
|
virtual ~ChildInterface() = default;
|
|
virtual QString childName() const = 0;
|
|
virtual QString targetParentName() const = 0;
|
|
virtual QWidget* widget() = 0;
|
|
|
|
// Für die einmalige Übergabe direkt nach dem Laden
|
|
virtual void setParentData(const QString& data) = 0;
|
|
|
|
// Für die dynamischen Live-Updates zur Laufzeit
|
|
virtual void updateLiveData(const QString& text) = 0;
|
|
};
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
Q_DECLARE_INTERFACE(ChildInterface, "gui:3:ChildInterface")
|
|
QT_END_NAMESPACE
|
|
|