- 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>
36 lines
720 B
C++
36 lines
720 B
C++
#pragma once
|
|
|
|
#include "../../interfaces/parent_interface.h"
|
|
#include <QLineEdit>
|
|
#include <QObject>
|
|
#include <QVBoxLayout>
|
|
|
|
namespace DLBO
|
|
{
|
|
class ParentAlpha
|
|
: public QObject
|
|
, public ParentInterface
|
|
{
|
|
Q_OBJECT
|
|
Q_PLUGIN_METADATA(IID "gui:3:ParentInterface")
|
|
Q_INTERFACES(ParentInterface)
|
|
|
|
public:
|
|
ParentAlpha();
|
|
QString pluginName() const override { return QStringLiteral("AlphaParent"); }
|
|
QWidget *widget() override { return m_widget; }
|
|
void addChildWidget(QWidget *childWidget) override;
|
|
QObject *qobjectInstance() override { return this; }
|
|
|
|
signals:
|
|
void dataChangedLive(const QString &text);
|
|
|
|
private:
|
|
QWidget *m_widget;
|
|
QVBoxLayout *m_layout;
|
|
QLineEdit *m_inputField;
|
|
};
|
|
|
|
}
|
|
|