nheko/src/timeline2/TimelineViewManager.cpp

11 lines
365 B
C++
Raw Normal View History

2019-08-30 19:29:25 +02:00
#include "TimelineViewManager.h"
TimelineViewManager::TimelineViewManager(QWidget *parent)
{
view = new QQuickView();
container = QWidget::createWindowContainer(view, parent);
container->setMinimumSize(200, 200);
view->setSource(QUrl("qrc:///qml/TimelineView.qml"));
// view->rootContext()->setContextProperty(room);
}