123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- import QtQuick
- import QtQuick.Templates as T
- import QtQuick.Controls.impl
- import QtQuick.Controls.Fusion
- import QtQuick.Controls.Fusion.impl
- T.Popup {
- id: control
- implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
- contentWidth + leftPadding + rightPadding)
- implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
- contentHeight + topPadding + bottomPadding)
- padding: 6
- background: Rectangle {
- color: control.palette.window
- border.color: control.palette.mid
- radius: 2
- }
- T.Overlay.modal: Rectangle {
- color: Fusion.topShadow
- }
- T.Overlay.modeless: Rectangle {
- color: Fusion.topShadow
- }
- }
|