Warning, /maui/mauikit/examples/AppViewLoader.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.AppViews 0011 { 0012 id: _page 0013 anchors.fill: parent 0014 Maui.Controls.showCSD: true 0015 headBar.forceCenterMiddleContent: true 0016 0017 Maui.AppViewLoader 0018 { 0019 Maui.AppView.title: "View1" 0020 Maui.AppView.iconName: "love" 0021 0022 Rectangle 0023 { 0024 color: "blue" 0025 } 0026 } 0027 0028 Maui.AppViewLoader 0029 { 0030 Maui.AppView.title: "View2" 0031 Maui.AppView.iconName: "folder" 0032 Maui.AppView.badgeText: "30" 0033 0034 Rectangle 0035 { 0036 color: "pink" 0037 } 0038 } 0039 0040 Maui.AppViewLoader 0041 { 0042 Maui.AppView.title: "View3" 0043 Maui.AppView.iconName: "tag" 0044 0045 Rectangle 0046 { 0047 color: "green" 0048 } 0049 } 0050 } 0051 }