Qt Components Hildon  0.20
QML components for Maemo5 with Hildon styling.
 All Classes Functions Properties Groups Pages
buttons.qml
import QtQuick 1.0
import org.hildon.components 1.0
Window {
id: window
title: qsTr("Buttons Example")
visible: true
id: flickable
anchors.fill: parent
contentHeight: column.height + platformStyle.paddingMedium
horizontalScrollBarPolicy: Qt.ScrollBarAlwaysOff
Column {
id: column
anchors {
top: parent.top
horizontalCenter: parent.horizontalCenter
}
width: 300
width: parent.width
text: qsTr("Push Button")
onClicked: console.log(qsTr("Button clicked"))
}
width: parent.width
text: qsTr("Accept Button")
}
width: parent.width
text: qsTr("Dialog Button")
}
width: parent.width
text: qsTr("Reject Button")
}
width: parent.width
style: ThumbButtonStyle {}
text: qsTr("Thumb Button")
}
}
}
}