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

31 lines
676 B
C
Raw Normal View History

2021-02-09 15:54:22 +08:00
#ifndef DORICGROUPNODE_H
#define DORICGROUPNODE_H
#include "DoricSuperNode.h"
class DoricGroupNode : public DoricSuperNode {
public:
using DoricSuperNode::DoricSuperNode;
2021-02-19 19:01:31 +08:00
2021-04-02 20:47:15 +08:00
virtual void blend(QQuickItem *view, QString name, QJsonValue prop) override;
2021-02-19 19:01:31 +08:00
2021-04-02 20:47:15 +08:00
virtual void blend(QJsonValue jsValue) override;
2021-02-19 19:01:31 +08:00
protected:
QList<DoricViewNode *> mChildNodes;
QList<QString> mChildViewIds;
void configChildNode();
2021-02-20 16:20:18 +08:00
2021-04-02 20:47:15 +08:00
virtual void blendSubNode(QJsonValue subProperties) override;
2021-04-13 21:14:17 +08:00
virtual void afterBlended(QJsonValue props) override;
virtual void requestLayout() override;
2021-05-07 18:17:07 +08:00
virtual DoricViewNode *getSubNodeById(QString id) override;
2021-02-09 15:54:22 +08:00
};
#endif // DORICGROUPNODE_H