Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Sailfish.Silica 1.0
- import QtQuick 1.1
- Page {
- id: page
- SilicaFlickable {
- id: flick3
- anchors.fill: parent
- Column {
- width: page.width
- spacing: theme.paddingLarge
- Button {
- id: button
- text: "choose a time"
- onClicked: pageStack.openDialog("Sailfish.Silica.TimePickerDialog", {
- hour: 13,
- minute: 30,
- hourMode: DateTime.TwentyFourHours,
- onAccepted: (
- {button:text = "You chose: "}
- )
- })
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement