background: Rectangle { color: control.palette.window border.color: control.palette.mid radius: 2 Rectangle { z: -1 x: 1; y: 1 width: parent.width height: parent.height color: control.palette.shadow opacity: 0.2 radius: 2 } } header: Label { text: control.title visible: control.title elide: Label.ElideRight font.bold: true padding: 6 background: Rectangle { x: 1; y: 1 width: parent.width - 2 height: parent.height - 1 color: control.palette.window radius: 2 } } footer: DialogButtonBox { visible: count > 0 } T.Overlay.modal: Rectangle { color: Fusion.topShadow } T.Overlay.modeless: Rectangle { color: Fusion.topShadow } }