Warning, /maui/mauikit/examples/ToolBar.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         anchors.fill: parent
0014         Maui.Controls.showCSD: true
0015 
0016         footBar.forceCenterMiddleContent: true
0017         footBar.farLeftContent: ToolButton
0018         {
0019             icon.name: "love"
0020         }
0021 
0022         footBar.leftContent: ToolButton
0023         {
0024             icon.name: "folder"
0025         }
0026 
0027         footBar.middleContent: ToolButton
0028         {
0029             icon.name: "folder-music"
0030             Layout.alignment: Qt.AlignHCenter
0031         }
0032 
0033         footBar.rightContent: ToolButton
0034         {
0035             icon.name: "download"
0036         }
0037 
0038         footBar.farRightContent: ToolButton
0039         {
0040             icon.name: "application-menu"
0041         }
0042 
0043         Maui.Holder
0044         {
0045             anchors.fill: parent
0046             title: "Page"
0047             body: "Page main content."
0048             emoji: "application-x-addon-symbolic"
0049         }
0050     }
0051 }