summaryrefslogtreecommitdiffstats
path: root/QtLauncher/SettingsButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'QtLauncher/SettingsButton.qml')
-rw-r--r--QtLauncher/SettingsButton.qml20
1 files changed, 20 insertions, 0 deletions
diff --git a/QtLauncher/SettingsButton.qml b/QtLauncher/SettingsButton.qml
new file mode 100644
index 0000000..74a7492
--- /dev/null
+++ b/QtLauncher/SettingsButton.qml
@@ -0,0 +1,20 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+import QtQuick
+
+Image {
+ id: root
+ height: parent.height
+ width: height
+ sourceSize: Qt.size(width, height)
+
+ signal clicked()
+
+ MouseArea {
+ anchors.fill: parent
+ anchors.margins: - width * 0.3
+
+ onClicked: root.clicked()
+ }
+}