Hi
Im wondering how i can create an undecorated window. I want do disable the outside borders and status bar.
Any Idea? QtQuick.Window does not seem to have such a feature and i was not able to add Qt::FramelessWindowHint.
Im using QQmlComponent becaus it works so far. Im using Window{} in qml because nothing will be shown if i dont.
import QtQuick 2.0
import QtQuick.Window 2.0
Window {
width: 360
height: 360
property string src
Image {
source: src
anchors.fill: parent
}
}
comp = new QQmlComponent(e, QUrl("qml/MultiRegionTypePlayer/main.qml"));
p = qobject_cast<QQuickWindow*>(comp->create());
p->setVisible(true);
↧