* @brief Possibility to save node properties * @return json object */
| 131 | * @return json object |
| 132 | */ |
| 133 | virtual QJsonObject save() const override |
| 134 | { |
| 135 | QJsonObject json = _component.getConfig(); |
| 136 | json["name"] = name(); |
| 137 | json["caption"] = caption(); |
| 138 | return json; |
| 139 | } |
| 140 | |
| 141 | /** |
| 142 | * @brief Used to restore node configurations |
no test coverage detected