[Solved]Rounded corners of outer most frame
-
Is it possible to achieve rounded corners at the outermost frame? I have managed to remove Windows default border, menu bar, title etc.
I am trying to achieve it using QML, Background image, Rectangle and its property:Radius. I use a rectangle as child of item and get the effect however I want the main container to be curved at corners. Want to achieve this .
I am just starting out on Qt. Thanks for your time. -
Is it possible to achieve rounded corners at the outermost frame? I have managed to remove Windows default border, menu bar, title etc.
I am trying to achieve it using QML, Background image, Rectangle and its property:Radius. I use a rectangle as child of item and get the effect however I want the main container to be curved at corners. Want to achieve this .
I am just starting out on Qt. Thanks for your time.Hi @PP99 and Welcome,
Try out the following:import QtQuick 2.4 import QtQuick.Window 2.2 Window { width: 400 height: 400 flags: Qt.FramelessWindowHint color: "transparent" Rectangle { x: 10 y: 10 width: parent.width-20 height: parent.height-20 radius: 15 } }