static inline void openInlineComponent(const ModelNode &modelNode) { if (!modelNode.metaInfo().isValid()) return; handleComponent(modelNode); handleDelegate(modelNode); handleTabComponent(modelNode); }
static inline void openInlineComponent(const ModelNode &modelNode) { if (!modelNode.isValid() || !modelNode.metaInfo().isValid()) return; if (!currentDesignDocument()) return; QHash<PropertyName, QVariant> propertyHash; getProperties(modelNode, propertyHash); handleComponent(modelNode); handleDelegate(modelNode); handleTabComponent(modelNode); ModelNode rootModelNode = currentDesignDocument()->rewriterView()->rootModelNode(); applyProperties(rootModelNode, propertyHash); }