MCPcopy Create free account
hub / github.com/Nadrin/Quartz / RenderWindow

Method RenderWindow

apps/quartz/renderwindow.cpp:33–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31} // Config
32
33RenderWindow::RenderWindow()
34{
35 QString qmlImportPath = QString("%1/%2").arg(QApplication::applicationDirPath()).arg("qml");
36 qmlEngine()->setImportPathList({qmlImportPath});
37
38 QTimer *updateTitleTimer = new QTimer(this);
39 QObject::connect(updateTitleTimer, &QTimer::timeout, this, &RenderWindow::updateTitle);
40 updateTitleTimer->start(Config::UpdateTitleInterval);
41
42 QObject::connect(raytraceAspect(), &Qt3DRaytrace::QRaytraceAspect::imageReady, this, &RenderWindow::imageReady);
43}
44
45QVulkanInstance *RenderWindow::createDefaultVulkanInstance()
46{

Callers

nothing calls this directly

Calls 1

startMethod · 0.80

Tested by

no test coverage detected