diff options
author | Roberto C. Sanchez <roberto@connexer.com> | 2014-10-21 22:58:34 -0400 |
---|---|---|
committer | Roberto C. Sanchez <roberto@connexer.com> | 2014-10-21 22:58:34 -0400 |
commit | 1ea03c0fce8066c1e22188447b4a6ca4dcef1201 (patch) | |
tree | 1ad46980fdca402062502b20b7e16468b89393f8 /src/mobile/qml/ImageButton.qml | |
parent | 579657c8cb4ecd8a313221e70bdbbc7267f20286 (diff) |
Imported Upstream version 2.10.1
Diffstat (limited to 'src/mobile/qml/ImageButton.qml')
-rw-r--r-- | src/mobile/qml/ImageButton.qml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mobile/qml/ImageButton.qml b/src/mobile/qml/ImageButton.qml new file mode 100644 index 0000000..552a9b4 --- /dev/null +++ b/src/mobile/qml/ImageButton.qml @@ -0,0 +1,24 @@ +import QtQuick 2.1 + +Rectangle { + id: imageButton + + property bool show: true + property string icon: "" + property int corner: 6 + + border.width: 1 + border.color: "gray" + radius: corner + + Image{ + id: nextIcon + anchors.fill: parent + fillMode: Image.PreserveAspectFit + source: imageButton.icon + height: parent.height + width: parent.height + anchors.right: parent.right + anchors.top: parent.top + } +} |