// Copyright (C) 2025 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause import QtQuick import QtQuick.Controls Page { id: page enabled: !GalleryConfig.disabled header: MenuBar { Menu { title: qsTr("&File") Action { text: qsTr("&New...") } Action { text: qsTr("&Open...") } Action { text: qsTr("&Save") } Action { text: qsTr("Save &As...") } MenuSeparator { } Action { text: qsTr("&Quit") } } Menu { title: qsTr("&Edit") Action { text: qsTr("Cu&t") } Action { text: qsTr("&Copy") } Action { text: qsTr("&Paste") } } Menu { title: qsTr("&Help") Action { text: qsTr("&About") } } } Label { anchors.verticalCenter: parent.verticalCenter width: parent.width wrapMode: Label.Wrap horizontalAlignment: Qt.AlignHCenter text: qsTr("MenuBar provides a horizontal bar with drop-down menus, " + "allowing users to access grouped commands and actions " + "within an application.") } }