aboutsummaryrefslogtreecommitdiffstats
path: root/app/BtnEnlarge.qml
blob: 664c3aa015e3399bd958aa5487c8f1468c84f8de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import QtQuick 2.0
import QtQuick.Controls 1.5

Item {
	Button {
		id: btn_enlarge
		width: 100
		height: 100

		function doSomething() {
			// ...
		}

		onClicked: { doSomething() }

		Image {
			id: image
			width: 92
			height: 92
			anchors.verticalCenter: parent.verticalCenter
			anchors.horizontalCenter: parent.horizontalCenter
			source: "images/Enlarge_button.bmp"
		}
	}
}