- 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>
34 lines
720 B
C++
34 lines
720 B
C++
#pragma once
|
|
|
|
#include "../../interfaces/child_interface.h"
|
|
#include <QLabel>
|
|
#include <QObject>
|
|
|
|
namespace DLBO
|
|
{
|
|
class ChildBeta
|
|
: public QObject
|
|
, public ChildInterface
|
|
{
|
|
Q_OBJECT
|
|
Q_PLUGIN_METADATA(IID "gui:3:ChildInterface")
|
|
Q_INTERFACES(ChildInterface)
|
|
|
|
public:
|
|
ChildBeta();
|
|
QString childName() const override { return QStringLiteral("BetaChild"); }
|
|
QString targetParentName() const override { return QStringLiteral("AlphaParent"); }
|
|
QWidget *widget() override { return m_widget; }
|
|
|
|
void setParentData(const QString &data) override;
|
|
|
|
public slots:
|
|
void updateLiveData(const QString &text) override;
|
|
|
|
private:
|
|
QWidget *m_widget;
|
|
QLabel *m_staticLabel;
|
|
QLabel *m_liveLabel;
|
|
};
|
|
}
|