[Marble-devel] Review Request 114082: Added combobox support to the Marble Legend Browser
Yazeed Zoabi
yazeedz.zoabi at gmail.com
Mon Nov 25 13:30:38 UTC 2013
> On Nov. 25, 2013, 5:54 a.m., Dennis Nienhüser wrote:
> > Great to see you got this working :-)
> > Is it possible to avoid the comboboxorder attribute by spending more effort in generatesectionshtml? It looks like an implementation detail.
> >
I would be happy to hear suggestions. I've thought about that before (or even started working on making it happen), but then realized that I need to keep the map working with older marble versions. Thanks for the remark. ;)
- Yazeed
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/114082/#review44366
-----------------------------------------------------------
On Nov. 24, 2013, 3:41 p.m., Yazeed Zoabi wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/114082/
> -----------------------------------------------------------
>
> (Updated Nov. 24, 2013, 3:41 p.m.)
>
>
> Review request for Marble, Utku Aydın, Dennis Nienhüser, and Torsten Rahn.
>
>
> Repository: marble
>
>
> Description
> -------
>
> You can now use add comboboxes in maps.
>
> In order to use this feature, new attributes to sections are introduced: combobox, comboboxOrder.
> the comboboxOrder attribute should appear twice, once to indicate that top of a combobox, and the other to indicate it's bottom :D. (top: "first", middle: [anything but first or last], bottom: "last")
>
> note: You must keep checkable="true" (one reason for that is for options to function as checkboxes in older versions of marble)
>
> Example:
>
> <section name="first" checkable="true" combobox="true" comboboxOrder="first" connect="first" spacing="12">
> <heading>First option</heading>
> </section>
> <section name="middle" checkable="true" combobox="true" comboboxOrder="" connect="middle" spacing="12">
> <heading>Middle option</heading>
> </section>
> <section name="last" checkable="true" combobox="true" comboboxOrder="last" connect="last" spacing="12">
> <heading>Last option</heading>
> </section>
>
>
> Diffs
> -----
>
> src/lib/marble/MarbleLegendBrowser.h e7fb4b5
> src/lib/marble/MarbleLegendBrowser.cpp 644dd0f
> src/lib/marble/geodata/handlers/DgmlOptionTagHandler.h e69de29
> src/lib/marble/geodata/handlers/DgmlOptionTagHandler.cpp e69de29
> src/lib/marble/geodata/handlers/dgml/DgmlAttributeDictionary.h d426e0d
> src/lib/marble/geodata/handlers/dgml/DgmlAttributeDictionary.cpp 20b0ebe
> src/lib/marble/geodata/handlers/dgml/DgmlSectionTagHandler.cpp 66ee562
> src/lib/marble/geodata/parser/GeoSceneTypes.h 5fd1cdb
> src/lib/marble/geodata/parser/GeoSceneTypes.cpp a653d02
> src/lib/marble/geodata/scene/GeoSceneOption.h e69de29
> src/lib/marble/geodata/scene/GeoSceneOption.cpp e69de29
> src/lib/marble/geodata/scene/GeoSceneSection.h 5224f43
> src/lib/marble/geodata/scene/GeoSceneSection.cpp 9d7bf77
>
> Diff: http://git.reviewboard.kde.org/r/114082/diff/
>
>
> Testing
> -------
>
> Kubuntu 13.10 . Qt version: 4.8.4 .
>
>
> Thanks,
>
> Yazeed Zoabi
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20131125/35eaaa9d/attachment-0001.html>
More information about the Marble-devel
mailing list