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
Qt Code:
  1. ApplicationWindow {
  2. id: win
  3. flags: Qt.FramelessWindowHint | Qt.NonModal
  4. DropShadow {
  5. anchors.fill: parent
  6. horizontalOffset: 3
  7. verticalOffset: 3
  8. radius: 8.0
  9. samples: 17
  10. color: "#80000000"
  11. source: parent
  12. }
  13. }
To copy to clipboard, switch view to plain text mode