Hi, I want to make a custom window and let it shadow effects
To do this I used the following code, but do not work
ApplicationWindow {
id: win
flags: Qt.FramelessWindowHint | Qt.NonModal
DropShadow {
anchors.fill: parent
horizontalOffset: 3
verticalOffset: 3
radius: 8.0
samples: 17
color: "#80000000"
source: parent
}
}
ApplicationWindow {
id: win
flags: Qt.FramelessWindowHint | Qt.NonModal
DropShadow {
anchors.fill: parent
horizontalOffset: 3
verticalOffset: 3
radius: 8.0
samples: 17
color: "#80000000"
source: parent
}
}
To copy to clipboard, switch view to plain text mode
Bookmarks