diff options
author | Kimmo Leppälä <kimmo.leppala@qt.io> | 2023-05-15 08:28:36 +0300 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-05-16 17:47:49 +0000 |
commit | 83d2bb5374d2e46e3bafbec144097bf9fa44cdea (patch) | |
tree | 9015469af87b322cb12c4470a0bc4ac8b6d30d29 /examples/demos/photoviewer/PhotoViewerCore/Button.qml | |
parent | 5d9cd258cc299ef66131d0f8c38699b234428cd2 (diff) | |
download | qtdoc-6.5.tar.gz |
Remove PhotoViewer example6.5
Fixes: QTBUG-113593
Change-Id: Idafd79a140067fac9c9f27440f4f43453e2e2ddf
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 117382f2615d1e16bfa437b1ccc388fb77c99bf2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/demos/photoviewer/PhotoViewerCore/Button.qml')
-rw-r--r-- | examples/demos/photoviewer/PhotoViewerCore/Button.qml | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/examples/demos/photoviewer/PhotoViewerCore/Button.qml b/examples/demos/photoviewer/PhotoViewerCore/Button.qml deleted file mode 100644 index 3548b9b6..00000000 --- a/examples/demos/photoviewer/PhotoViewerCore/Button.qml +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2016 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause - -import QtQuick - -Item { - id: container - - property alias label: labelText.text - property color tint: "transparent" - signal clicked - - width: labelText.width + 70 ; height: labelText.height + 18 - - BorderImage { - anchors { fill: container; leftMargin: -6; topMargin: -6; rightMargin: -8; bottomMargin: -8 } - source: 'images/box-shadow.png' - border.left: 10; border.top: 10; border.right: 10; border.bottom: 10 - } - - Image { anchors.fill: parent; source: "images/cardboard.png"; antialiasing: true } - - Rectangle { - anchors.fill: container; color: container.tint; visible: container.tint != "" - opacity: 0.25 - } - - Text { id: labelText; font.pixelSize: 15; anchors.centerIn: parent } - - MouseArea { - anchors { fill: parent; leftMargin: -20; topMargin: -20; rightMargin: -20; bottomMargin: -20 } - onClicked: container.clicked() - } -} |