Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Undecorated Window

$
0
0
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);

Viewing all articles
Browse latest Browse all 4972

Trending Articles