In KF6, OverlaySheet clips its children, so if the sheet is not large enough, the cancel button will be clipped. In addition, the property that indicates whether it is opened is called opened instead of sheetOpen in KF6. This commits makes enough changes for it to pass under both KF5 and KF6.
Type: fix