aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/macos/Button.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickcontrols/macos/Button.qml')
-rw-r--r--src/quickcontrols/macos/Button.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/quickcontrols/macos/Button.qml b/src/quickcontrols/macos/Button.qml
new file mode 100644
index 0000000000..bc13ab4626
--- /dev/null
+++ b/src/quickcontrols/macos/Button.qml
@@ -0,0 +1,10 @@
+// Copyright (C) 2020 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
+import QtQuick.NativeStyle as NativeStyle
+
+NativeStyle.DefaultButton {
+ id: control
+ readonly property Item __focusFrameTarget: control
+}