[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 10:42:50 UTC 2015


-----------------------------------------------------------
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.


Changes
-------

fixed Calin's suggested issues


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 (updated)
-----

  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/fda73523/attachment.html>


More information about the Marble-devel mailing list