Some map themes have optional texture layers that are mutually exclusive, for example blending place names in different languages on top of an unlabeled base map. In such a case users currently have to use the checkboxes like radio buttons. It would be nicer if map themes authors could note that restriction down in .dgml and have marble render radio buttons instead of check boxes. A possible implementation could be to add a "group" property to sections, e.g. <section name="i18n-en" checkable="true" group="i18n" connect="i18n-en" spacing="12"> <heading>English</heading> </section> <section name="i18n-fr" checkable="true" group="i18n" connect="i18n-fr" spacing="12"> <heading>French</heading> </section> <section name="i18n-de" checkable="true" group="i18n" connect="i18n-de" spacing="12"> <heading>German</heading> </section> <section name="i18n-es" checkable="true" group="i18n" connect="i18n-es" spacing="12"> <heading>Spanish</heading> </section> sections that are checkable and have an empty group name would then be rendered as check boxes, while sections that are checkable and have a non-empty group name would be rendered as radio buttons belonging to the same radio group. This should even be backward compatible (i.e. the new .dgml file would still work in older Marble versions, just show check boxes instead of radio buttons). Reproducible: Always
Implemented in https://git.reviewboard.kde.org/r/114031/