Changeset View
Changeset View
Standalone View
Standalone View
src/data/contents/ui/gallery/SelectionControlsGallery.qml
Context not available. | |||||
47 | 47 | | |||
---|---|---|---|---|---|
48 | InfoSheet { | 48 | InfoSheet { | ||
49 | id: sheet | 49 | id: sheet | ||
50 | | ||||
50 | page: page | 51 | page: page | ||
51 | title: qsTr("Selection Controls") | 52 | component: "SelectionControlsGallery" | ||
52 | higUrl: "https://hig.kde.org/components/index.html#selection" | | |||
53 | sourceUrl: "https://cgit.kde.org/kirigami-gallery.git/tree/src/data/contents/ui/gallery/SelectionControlsGallery.qml" | | |||
54 | text: qsTr("<p>Selection controls allow users to complete tasks that involve a choice or a selection.</p> <p>Depending on the kind of choice that has to be made, the best control to use may be a Checkbox, a RadioButton, or a Switch.</p> <ul><li>Use checkboxes for non-exclusive options that have clear alternatives. Mutually exclusive options should use a set of radio buttons or a combo box.</li> <li>Use radio buttons for a few mutually exclusive options. If there are more than five options (or if there is not enough space to arrange four or five options), use a combo box or list instead.</li> <li>Use switches on Mobile, when immediately activating or deactivating something (ok/Apply buttons not needed).</li></ul>") | | |||
55 | } | 53 | } | ||
56 | 54 | | |||
57 | Controls.Dialog { | 55 | Controls.Dialog { | ||
Context not available. |