[Marble-devel] Review Request 122938: Made precisely editing the node polygons from withing the EditPolygonDialog possible.
Marius Stanciu
stanciumarius94 at gmail.com
Sat Mar 14 12:09:32 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122938/
-----------------------------------------------------------
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/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 c4f11f3
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/20150314/902c35a9/attachment.html>
More information about the Marble-devel
mailing list