summaryrefslogtreecommitdiff
path: root/prototype_2016/third_party/qml-material/src/extras/CircleImage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'prototype_2016/third_party/qml-material/src/extras/CircleImage.qml')
-rw-r--r--prototype_2016/third_party/qml-material/src/extras/CircleImage.qml41
1 files changed, 0 insertions, 41 deletions
diff --git a/prototype_2016/third_party/qml-material/src/extras/CircleImage.qml b/prototype_2016/third_party/qml-material/src/extras/CircleImage.qml
deleted file mode 100644
index 777f412..0000000
--- a/prototype_2016/third_party/qml-material/src/extras/CircleImage.qml
+++ /dev/null
@@ -1,41 +0,0 @@
1/*
2 * QML Material - An application framework implementing Material Design.
3 *
4 * Copyright (C) 2014-2016 Michael Spencer <sonrisesoftware@gmail.com>
5 *
6 * This Source Code Form is subject to the terms of the Mozilla Public
7 * License, v. 2.0. If a copy of the MPL was not distributed with this
8 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 */
10
11import QtQuick 2.4
12import Material.Extras 0.1 as Extras
13import QtGraphicalEffects 1.0
14
15Item {
16 id: item
17
18 property alias source: image.source
19 property alias status: image.status
20 property alias averageColor: image.averageColor
21 property alias sourceSize: image.sourceSize
22 property alias asynchronous: image.asynchronous
23 property alias cache: image.cache
24 property alias fillMode: image.fillMode
25
26 width: image.implicitWidth
27 height: image.implicitHeight
28
29 Extras.Image {
30 id: image
31 anchors.fill: parent
32 smooth: true
33 visible: false
34 mipmap: true
35 }
36
37 CircleMask {
38 anchors.fill: image
39 source: image
40 }
41}