Warning, /maui/mauikit/examples/PopupPage.qml is written in an unsupported language. File is not indexed.
0001 import QtQuick 0002 import QtQuick.Controls 0003 import QtQuick.Layouts 0004 import org.mauikit.controls as Maui 0005 0006 Maui.ApplicationWindow 0007 { 0008 id: root 0009 0010 Maui.Page 0011 { 0012 id: _page 0013 0014 anchors.fill: parent 0015 Maui.Controls.showCSD: true 0016 Maui.Theme.colorSet: Maui.Theme.Complementary 0017 0018 Button 0019 { 0020 anchors.centerIn: parent 0021 text: "PopupPage" 0022 onClicked: _popupPage.open() 0023 } 0024 0025 Maui.PopupPage 0026 { 0027 id: _popupPage 0028 0029 title: "Title" 0030 0031 persistent: true 0032 hint: 1 0033 // maxWidth: 800 0034 0035 Rectangle 0036 { 0037 implicitHeight: 200 0038 Layout.fillWidth: true 0039 color: "purple" 0040 } 0041 0042 Rectangle 0043 { 0044 implicitHeight: 200 0045 Layout.fillWidth: true 0046 color: "orange" 0047 } 0048 0049 Rectangle 0050 { 0051 implicitHeight: 200 0052 Layout.fillWidth: true 0053 color: "yellow" 0054 } 0055 0056 actions: [ 0057 Action 0058 { 0059 text: "Action1" 0060 }, 0061 0062 Action 0063 { 0064 text: "Action2" 0065 } 0066 ] 0067 } 0068 } 0069 } 0070