[Marble-devel] Review Request 122938: Made precisely editing the node polygons from withing the EditPolygonDialog possible.
Marius Stanciu
stanciumarius94 at gmail.com
Mon Mar 23 21:45:57 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122938/
-----------------------------------------------------------
(Updated March 23, 2015, 9:45 p.m.)
Status
------
This change has been marked as submitted.
Review request for Marble.
Changes
-------
Submitted with commit 995c2f88fce40e72af0dc572cb6f95de0f861ed3 by Marius Stanciu to branch master.
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/20150323/b3441b4f/attachment.html>
More information about the Marble-devel
mailing list