Changeset View
Changeset View
Standalone View
Standalone View
src/controls/templates/private/MenuIcon.qml
Show All 14 Lines | |||||
15 | * License along with this program; if not, write to the | 15 | * License along with this program; if not, write to the | ||
16 | * Free Software Foundation, Inc., | 16 | * Free Software Foundation, Inc., | ||
17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | import QtQuick 2.1 | 20 | import QtQuick 2.1 | ||
21 | import QtQuick.Layouts 1.2 | 21 | import QtQuick.Layouts 1.2 | ||
22 | import QtGraphicalEffects 1.0 | 22 | import QtGraphicalEffects 1.0 | ||
23 | import org.kde.kirigami 1.0 | 23 | import org.kde.kirigami 2.0 | ||
24 | 24 | | |||
25 | Item { | 25 | Item { | ||
26 | id: canvas | 26 | id: canvas | ||
27 | width: height | 27 | width: height | ||
28 | height: Units.iconSizes.smallMedium | 28 | height: Units.iconSizes.smallMedium | ||
29 | property real morph: 0 | 29 | property real morph: 0 | ||
30 | property color color: Theme.textColor | 30 | property color color: Theme.textColor | ||
31 | opacity: 0.8 | 31 | opacity: 0.8 | ||
Show All 38 Lines |