Warning, /pim/merkuro/src/contacts/qml/GlobalMenuBar.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-FileCopyrightText: 2021 Claudio Cambra <claudio.cambra@gmail.com> 0002 // SPDX-FileCopyrightText: 2022 Carl Schwan <carlschwan@kde.org> 0003 // SPDX-License-Identifier: GPL-3.0-or-later 0004 0005 import Qt.labs.platform 1.1 as Labs 0006 0007 import QtQuick 2.15 0008 import QtQuick.Window 2.15 0009 import org.kde.merkuro.components 1.0 0010 import org.kde.merkuro.contact 1.0 0011 0012 Labs.MenuBar { 0013 NativeFileMenu {} 0014 0015 NativeEditMenu {} 0016 0017 Labs.Menu { 0018 title: i18nc("@action:menu", "View") 0019 0020 NativeMenuItemFromAction { 0021 action: ContactApplication.action('open_kcommand_bar') 0022 } 0023 0024 NativeMenuItemFromAction { 0025 action: ContactApplication.action("refresh_all") 0026 } 0027 } 0028 0029 Labs.Menu { 0030 title: i18nc("@action:menu", "Create") 0031 0032 NativeMenuItemFromAction { 0033 action: ContactApplication.action("create_contact") 0034 } 0035 NativeMenuItemFromAction { 0036 action: ContactApplication.action("create_contact_group") 0037 } 0038 } 0039 0040 NativeWindowMenu {} 0041 0042 Labs.Menu { 0043 title: i18nc("@action:menu", "Settings") 0044 0045 NativeMenuItemFromAction { 0046 action: ContactApplication.action('open_tag_manager') 0047 } 0048 0049 Labs.MenuSeparator {} 0050 0051 NativeMenuItemFromAction { 0052 action: ContactApplication.action('options_configure_keybinding') 0053 } 0054 NativeMenuItemFromAction { 0055 action: ContactApplication.action('options_configure') 0056 } 0057 } 0058 0059 NativeHelpMenu { 0060 application: ContactApplication 0061 } 0062 }