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

33 lines
715 B
C
Raw Normal View History

2021-02-09 15:54:22 +08:00
#ifndef DORICGROUPNODE_H
#define DORICGROUPNODE_H
2021-05-18 16:15:28 +08:00
#include "DoricExport.h"
2021-02-09 15:54:22 +08:00
#include "DoricSuperNode.h"
2021-05-18 16:15:28 +08:00
class DORIC_EXPORT DoricGroupNode : public DoricSuperNode {
2021-02-09 15:54:22 +08:00
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