[Marble-devel] Review Request 122938: Made precisely editing the node polygons from withing the EditPolygonDialog possible.

Marius Stanciu stanciumarius94 at gmail.com
Fri Mar 20 11:17:41 UTC 2015



> On March 20, 2015, 11 a.m., Calin Cruceru wrote:
> > Looks good. Wait for Torsten's approval as well. :)

i'll start working on the Polylines version of this when this gets shipped, since i could reuse the nodeitem delegate from this patch.


- Marius


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122938/#review77817
-----------------------------------------------------------


On March 20, 2015, 10:42 a.m., Marius Stanciu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122938/
> -----------------------------------------------------------
> 
> (Updated March 20, 2015, 10:42 a.m.)
> 
> 
> Review request for Marble.
> 
> 
> Repository: marble
> 
> 
> Description
> -------
> 
> In order to do this, i used the already availible widget LatLonEdit and set it as the model's edit wdiget, via a new delegate class.
> 
> This allows real-time modification of the nodes with the LatLonEdit's high precision. ( Even though dragging the nodes was possible, it wasn't really precise, and it did not allow exact coordinates input ( keyboard input ).
> 
> 
> Diffs
> -----
> 
>   src/lib/marble/EditPlacemarkDialog.h 24a5610 
>   src/plugins/render/annotate/CMakeLists.txt 594ea89 
>   src/plugins/render/annotate/EditPolygonDialog.h 6f07648 
>   src/plugins/render/annotate/EditPolygonDialog.cpp 8c8b302 
>   src/plugins/render/annotate/EditPolygonDialog.ui 0bfa86e 
>   src/plugins/render/annotate/NodeItemDelegate.h PRE-CREATION 
>   src/plugins/render/annotate/NodeItemDelegate.cpp PRE-CREATION 
>   src/plugins/render/annotate/NodeModel.h 4586eea 
>   src/plugins/render/annotate/NodeModel.cpp 984a2be 
> 
> Diff: https://git.reviewboard.kde.org/r/122938/diff/
> 
> 
> Testing
> -------
> 
> Works for me.
> 
> 
> Thanks,
> 
> Marius Stanciu
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20150320/e3d7a11b/attachment-0001.html>


More information about the Marble-devel mailing list