summaryrefslogtreecommitdiff
path: root/examples/location/places/forms/SearchOptionsForm.ui.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/location/places/forms/SearchOptionsForm.ui.qml')
-rw-r--r--examples/location/places/forms/SearchOptionsForm.ui.qml17
1 files changed, 12 insertions, 5 deletions
diff --git a/examples/location/places/forms/SearchOptionsForm.ui.qml b/examples/location/places/forms/SearchOptionsForm.ui.qml
index 462abcac..0d04cd42 100644
--- a/examples/location/places/forms/SearchOptionsForm.ui.qml
+++ b/examples/location/places/forms/SearchOptionsForm.ui.qml
@@ -60,6 +60,7 @@ Item {
property alias orderGroup: orderGroup
property alias distanceOrderButton: distanceOrderButton
property alias nameOrderButton: nameOrderButton
+ property alias unspecifiedButton: unspecifiedButton
property alias favoritesButton: favoritesButton
property alias locales: locales
@@ -122,18 +123,26 @@ Item {
Layout.columnSpan: 2
}
- ExclusiveGroup { id: orderGroup }
+ ButtonGroup { id: orderGroup }
+
RadioButton {
id: distanceOrderButton
text: qsTr("Order by distance")
- exclusiveGroup: orderGroup
+ ButtonGroup.group: orderGroup
Layout.columnSpan: 2
}
RadioButton {
id: nameOrderButton
text: qsTr("Order by name")
- exclusiveGroup: orderGroup
+ ButtonGroup.group: orderGroup
+ Layout.columnSpan: 2
+ }
+
+ RadioButton {
+ id: unspecifiedButton
+ text: qsTr("Unspecified")
+ ButtonGroup.group: orderGroup
Layout.columnSpan: 2
}
@@ -162,8 +171,6 @@ Item {
Layout.fillHeight: true
Layout.columnSpan: 2
}
-
-
}
}
}