[Marble-bugs] [Bug 299362] New: Mutually exclusive texture layers
Dennis Nienhüser
earthwings at gentoo.org
Fri May 4 11:20:39 UTC 2012
https://bugs.kde.org/show_bug.cgi?id=299362
Bug ID: 299362
Severity: wishlist
Version: unspecified
Priority: NOR
Assignee: marble-bugs at kde.org
Summary: Mutually exclusive texture layers
Classification: Unclassified
OS: Linux
Reporter: earthwings at gentoo.org
Hardware: Other
Status: NEW
Component: general
Product: marble
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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Marble-bugs
mailing list