1 /* This file is part of MeeGoFrames Component Library
2 * Copyright (C) 2011 Martin Grimme <martin.grimme _AT_ gmail.com>
4 * This program is free software; you can redistribute it, even commercially,
5 * as long as this copyright notice remains in place.
7 * This library is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 property alias icon: imageLabel.source
32 when: mouseArea.pressed
42 ColorAnimation { duration: 100 }
46 NumberAnimation { duration: 100 }
50 anchors.centerIn: parent
53 anchors.horizontalCenter: parent.horizontalCenter
59 onClicked: parent.clicked()