Warning, /plasma/qqc2-breeze-style/style/qtquickcontrols/MenuBar.qml is written in an unsupported language. File is not indexed.
0001 // NOTE: check/replace this 0002 import QtQuick 2.15 0003 import QtQuick.Templates 2.15 as T 0004 import QtQuick.Controls 2.15 as Controls 0005 import QtQuick.Controls.impl 2.15 0006 0007 T.MenuBar { 0008 id: control 0009 0010 implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, 0011 contentWidth + leftPadding + rightPadding) 0012 implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, 0013 contentHeight + topPadding + bottomPadding) 0014 0015 delegate: MenuBarItem { } 0016 0017 contentItem: Row { 0018 spacing: control.spacing 0019 Repeater { 0020 model: control.contentModel 0021 } 0022 } 0023 0024 background: Rectangle { 0025 implicitHeight: 40 0026 color: control.palette.button 0027 } 0028 }