Warning, /maui/mauikit/src/controls.5/ContextualMenu.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-FileCopyrightText: 2020 Carson Black <uhhadd@gmail.com> 0002 // 0003 // SPDX-License-Identifier: AGPL-3.0-or-later 0004 0005 import QtQuick 2.10 0006 import QtQuick.Controls 2.15 0007 0008 Menu 0009 { 0010 id: control 0011 0012 function show(x, y, parent) 0013 { 0014 if (control.responsive) 0015 { 0016 control.open() 0017 } 0018 else 0019 { 0020 control.popup(parent,x ,y) 0021 } 0022 } 0023 } 0024