blob: 4b3bd756096b4c8c134057d29bdb68733dfb8146 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
import QtQuick.Controls.macOS
import QtQuick.Controls.macOS.impl as MacOSImpl
Menu {
id: menu
popupType: Popup.Window
required property var control
MacOSImpl.CutAction {
control: menu.control
}
MacOSImpl.CopyAction {
control: menu.control
}
MacOSImpl.PasteAction {
control: menu.control
}
MacOSImpl.DeleteAction {
control: menu.control
}
MenuSeparator {}
MacOSImpl.SelectAllAction {
control: menu.control
}
}
|