21 #include "scriptabletemplate.h" 28 :
QObject(parent), m_template(t)
34 return m_template->render(c->context());
39 auto nodeList = m_template->nodeList();
42 for (
auto n : nodeList) {
52 for (
auto obj : list) {
53 auto n = qobject_cast<
Node *>(obj);
58 m_template->setNodeList(nodeList);
The Template class is a tree of nodes which may be rendered.
Base class for all nodes.
A list of Nodes with some convenience API for rendering them.