16 lines
425 B
C++
16 lines
425 B
C++
#include "DoricStackNode.h"
|
|
|
|
QQuickItem *DoricStackNode::build() {
|
|
QQmlComponent component(getContext()->getQmlEngine());
|
|
|
|
const QUrl url(QStringLiteral("qrc:/doric/qml/stack.qml"));
|
|
component.loadUrl(url);
|
|
|
|
qCritical() << component.errorString();
|
|
|
|
QQuickItem *item = qobject_cast<QQuickItem *>(component.create());
|
|
return item;
|
|
}
|
|
|
|
void DoricStackNode::blendLayoutConfig() { DoricViewNode::blendLayoutConfig(); }
|