e === Qt.RightEdge rightPadding: control.edge === Qt.LeftEdge bottomPadding: control.edge === Qt.TopEdge enter: Transition { SmoothedAnimation { velocity: 5 } } exit: Transition { SmoothedAnimation { velocity: 5 } } background: Rectangle { color: control.Universal.chromeMediumLowColor Rectangle { readonly property bool horizontal: control.edge === Qt.LeftEdge || control.edge === Qt.RightEdge width: horizontal ? 1 : parent.width height: horizontal ? parent.height : 1 color: control.Universal.chromeHighColor x: control.edge === Qt.LeftEdge ? parent.width - 1 : 0 y: control.edge === Qt.TopEdge ? parent.height - 1 : 0 } } T.Overlay.modal: Rectangle { color: control.Universal.baseLowColor } T.Overlay.modeless: Rectangle { color: control.Universal.baseLowColor } }