ah-forklib/Groot-Windows

Allow to customize builtin nodes' style

Closed this issue · 1 comments

Allow to customize builtin nodes' style

if (node.attribute("ID") == model_id) {
QDomElement icon_el = node.firstChildElement("icon");
if (!icon_el.isNull()) {
_style_icon = icon_el.text();
}
QDomElement color_el = node.firstChildElement("caption_color");
if (!color_el.isNull()) {
_style_caption_color = color_el.text();
}
QDomElement alias_el = node.firstChildElement("caption_alias");
if (!alias_el.isNull()) {
_style_caption_alias = alias_el.text();
}
}

image