[Interest] Qt dialogs, Ok / Cancel button order

Harri Pasanen harri at mpaja.com
Fri Nov 21 10:40:41 CET 2014


It would seem me that the Ok/Cancel are in the wrong order on Android.

MessageDialog {
     id: dialog
     visible: false
     modality: Qt.WindowModal
     title: qsTr("Confirm");
     text: qsTr("Are you sure about it?")
     standardButtons: StandardButton.Ok | StandardButton.Cancel
}

According to 
http://developer.android.com/design/building-blocks/dialogs.html
The Cancel should be on the left on Android.

The same goes for iOS, (although there the standard dialog looks too 
ugly to be used in 5.4 beta). 
https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/Alerts.html

On OSX it seems to be correct.

Harri












More information about the Interest mailing list