[Marble-devel] Review Request 108511: Template System + MarbleLegendBrowser + HTML5 (Woo Hoo)

Torsten Rahn tackat at kde.org
Sun Jan 20 23:53:39 UTC 2013



> On Jan. 20, 2013, 11:14 p.m., Thibaut Gridel wrote:
> > src/lib/MarbleLegendBrowser.cpp, line 217
> > <http://git.reviewboard.kde.org/r/108511/diff/3/?file=108273#file108273line217>
> >
> >     What if a theme has specific legend.html with "checkbox:" fields?
> >     I think that part should not hardcode one specific case.

This is a very specific case which up to my knowledge is only used in this particular implementation - at least for the MapThemes we offer. Given the lack of documentation and my experience with other people developing themes I doubt that any different usage exists. Still you're right that ideally it would be covered in a generic way. But it's great that it works for the 99-100% case already ;-)


- Torsten


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108511/#review25874
-----------------------------------------------------------


On Jan. 20, 2013, 10:17 p.m., Illya Kovalevskyy wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108511/
> -----------------------------------------------------------
> 
> (Updated Jan. 20, 2013, 10:17 p.m.)
> 
> 
> Review request for Marble, Dennis Nienhüser, Torsten Rahn, and René Küttner.
> 
> 
> Description
> -------
> 
> A list of changes:
> 
> - Fixed Cities bug
> - Added TemplateDocument class for templating things
> - MarbleLegendBrowser tweaked (support of cool image borders, nice fonts, everything Bootstrap has)
> - Added support of Bootstrap (http://twitter.github.com/bootstrap/index.html) in HTML of Marble
> - MapInfoDialog improved (see MarbleLegendBrowser changes)
> 
> More about TemplateDocument:
> 
> - It use %var_name% to template the text
> - String format %!{name}% will include library `name` into the HTML. Used in <head> tag
> 
> 
> Diffs
> -----
> 
>   data/legend.html 317b6cf 
>   data/maps/earth/openstreetmap/legend.html aa02426 
>   data/maps/earth/schagen1689/legend.html db3f171 
>   src/lib/CMakeLists.txt 59ad8d2 
>   src/lib/MarbleLegendBrowser.cpp fad7020 
>   src/lib/MarbleWidgetPopupMenu.cpp eb608be 
>   src/lib/TemplateDocument.h PRE-CREATION 
>   src/lib/TemplateDocument.cpp PRE-CREATION 
>   src/lib/htmlfeatures/bootstrap-responsive.css PRE-CREATION 
>   src/lib/htmlfeatures/bootstrap.css PRE-CREATION 
>   src/lib/htmlfeatures/bootstrap.js PRE-CREATION 
>   src/lib/htmlfeatures/bootstrap.tpl PRE-CREATION 
>   src/lib/htmlfeatures/jquery-latest.js PRE-CREATION 
>   src/lib/htmlfeatures/jquery.tpl PRE-CREATION 
>   src/lib/libmarble.qrc 7753834 
>   src/lib/webpopup/city.html 764f3c3 
>   src/lib/webpopup/geoplace.html 4abca92 
>   src/lib/webpopup/nation.html 4bfe9a0 
>   src/lib/webpopup/placesscreen.css b25f73d 
>   src/lib/webpopup/skyplace.html 707f30f 
> 
> Diff: http://git.reviewboard.kde.org/r/108511/diff/
> 
> 
> Testing
> -------
> 
> Tested on Qt version of Marble - everything is ok. Tests are passed.
> 
> 
> File Attachments
> ----------------
> 
> Old Historic Legend
>   http://git.reviewboard.kde.org/media/uploaded/files/2013/01/20/compare-historic-old.png
> Old OSM Legend
>   http://git.reviewboard.kde.org/media/uploaded/files/2013/01/20/compare-osm-old.png
> New Histroric Legend
>   http://git.reviewboard.kde.org/media/uploaded/files/2013/01/20/compare-historic-new.png
> Old Temperature Legend
>   http://git.reviewboard.kde.org/media/uploaded/files/2013/01/20/compare-temp-old.png
> New OSM Legend
>   http://git.reviewboard.kde.org/media/uploaded/files/2013/01/20/compare-osm-new.png
> New Temperature Legend
>   http://git.reviewboard.kde.org/media/uploaded/files/2013/01/20/compare-temp-new.png
> New MapInfoDialog
>   http://git.reviewboard.kde.org/media/uploaded/files/2013/01/20/compare-ukraine-new.png
> 
> 
> Thanks,
> 
> Illya Kovalevskyy
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20130120/3a569c38/attachment.html>


More information about the Marble-devel mailing list