1 /* This file is part of MeeGoFrames Component Library
2 * Copyright (C) 2011 Martin Grimme <martin.grimme _AT_ gmail.com>
3 * Copyright (C) 2012 Christophe CHAPUIS <chris.chapuis _at_ gmail _dot_ com>
5 * This program is free software; you can redistribute it, even commercially,
6 * as long as this copyright notice remains in place.
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16 property alias icon: imageLabel.source
31 when: mouseArea.pressed
41 ColorAnimation { duration: 100 }
45 NumberAnimation { duration: 100 }
49 anchors.centerIn: parent
52 anchors.horizontalCenter: parent.horizontalCenter
58 onClicked: parent.clicked()