12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- import QtQuick
- import QtQuick.Templates as T
- import QtQuick.Controls.Universal
- T.Popup {
- id: control
- implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
- contentWidth + leftPadding + rightPadding)
- implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
- contentHeight + topPadding + bottomPadding)
- padding: 12
- background: Rectangle {
- color: control.Universal.chromeMediumLowColor
- border.color: control.Universal.chromeHighColor
- border.width: 1
- }
- T.Overlay.modal: Rectangle {
- color: control.Universal.baseLowColor
- }
- T.Overlay.modeless: Rectangle {
- color: control.Universal.baseLowColor
- }
- }
|