add switch bridge
This commit is contained in:
@@ -10,12 +10,16 @@ class DORIC_EXPORT DoricSwitchNode : public DoricViewNode {
|
||||
private:
|
||||
bool checkByCodeToggle = false;
|
||||
|
||||
QString onSwitchFuncId;
|
||||
|
||||
public:
|
||||
using DoricViewNode::DoricViewNode;
|
||||
|
||||
QQuickItem *build() override;
|
||||
|
||||
virtual void blend(QQuickItem *view, QString name, QJsonValue prop) override;
|
||||
|
||||
void onSwitch(bool checked);
|
||||
};
|
||||
|
||||
#endif // DORICSWITCHNODE_H
|
||||
|
Reference in New Issue
Block a user