This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-Qt/example/doric/shader/DoricGroupNode.h
2021-05-20 18:27:45 +08:00

33 lines
715 B
C++

#ifndef DORICGROUPNODE_H
#define DORICGROUPNODE_H
#include "DoricExport.h"
#include "DoricSuperNode.h"
class DORIC_EXPORT DoricGroupNode : public DoricSuperNode {
public:
using DoricSuperNode::DoricSuperNode;
virtual void blend(QQuickItem *view, QString name, QJsonValue prop) override;
virtual void blend(QJsonValue jsValue) override;
protected:
QList<DoricViewNode *> mChildNodes;
QList<QString> mChildViewIds;
void configChildNode();
virtual void blendSubNode(QJsonValue subProperties) override;
virtual void afterBlended(QJsonValue props) override;
virtual void requestLayout() override;
virtual DoricViewNode *getSubNodeById(QString id) override;
};
#endif // DORICGROUPNODE_H