[Marble-devel] Review Request: PlacemarkLayout: honour the visibility settings in GeoDataDocuments

Torsten Rahn rahn at kde.org
Sat Jul 17 21:33:39 CEST 2010


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



/trunk/KDE/kdeedu/marble/src/lib/MarblePlacemarkModel.cpp
<http://reviewboard.kde.org/r/4674/#comment6387>

    Hm, what was the reason why we commented this out in the first place? SaroEngels might still know or maybe it's mentioned in the commit message.



/trunk/KDE/kdeedu/marble/src/lib/PlacemarkLayout.cpp
<http://reviewboard.kde.org/r/4674/#comment6388>

    Ew, this looks to me like there are a lot of things done in the next few lines that make things very slow. (like all the qvariant casts, dynamic casts).


- Torsten


On 2010-07-17 12:29:33, Thibaut Gridel wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/4674/
> -----------------------------------------------------------
> 
> (Updated 2010-07-17 12:29:33)
> 
> 
> Review request for marble and Torsten Rahn.
> 
> 
> Summary
> -------
> 
> If the geodata for any reason says a placemark or its containers are not visible,
> I think we would want to not display the placemark on the screen.
> 
> This patch honours visibility for all nested containers, such that if a
> document/folder/placemark is not visible, then none of those should (recursively)
> be displayed.
> 
> As discussed with tackat, the visibility is orthogonal to the properties like showCities,
> so the checks for those stay and all conditions are necessary to layout the point.
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdeedu/marble/src/lib/MarblePlacemarkModel.cpp 1150967 
>   /trunk/KDE/kdeedu/marble/src/lib/PlacemarkLayout.cpp 1150967 
>   /trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataFeature.h 1150967 
> 
> Diff: http://reviewboard.kde.org/r/4674/diff
> 
> 
> Testing
> -------
> 
> with --enableFileView, toggle the visibility of document/folder/placemark and enjoy.
> Also load documents which have visibility tags.
> 
> 
> Thanks,
> 
> Thibaut
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/marble-devel/attachments/20100717/0d560682/attachment.htm 


More information about the Marble-devel mailing list