Warning, /maui/mauikit/examples/ToolButtonMenu.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 0015 Maui.Controls.showCSD: true 0016 0017 Maui.Theme.colorSet: Maui.Theme.Window 0018 0019 headBar.leftContent: Maui.ToolButtonMenu 0020 { 0021 icon.name: "overflow-menu" 0022 0023 MenuItem 0024 { 0025 text : "Menu1" 0026 } 0027 0028 MenuItem 0029 { 0030 text : "Menu2" 0031 } 0032 0033 MenuItem 0034 { 0035 text : "Menu3" 0036 } 0037 } 0038 } 0039 } 0040