[Qgis-developer] Spinbox in offset curve tool - what's it for?

Andreas Neumann a.neumann at carto.net
Tue Mar 17 02:51:09 PDT 2015


Hi,

The parallel line tool works fine at my local installation (master, 
kubuntu).

I agree that the numeric input is not yet ideal (because it can be 
easily overwritten, as Martin discovered). If you have a better idea how 
to allow numeric inputs you are welcome to propose a better approach.

We originally wanted the spinbox to follow the mouse cursor in the map 
canvas (like in Autocad) - but for some reasons this did not work with 
qt across all operating systems. That's why the spinbox is now at the 
bottom left. Maybe this would be easier to implement now with qt5?

It would also be nice to have a keyboard modifier (e.g. ctrl) which 
would make a copy of an existing line, rather than moving the existing line.

Andreas


On 17.03.2015 02:29, Martin Dobias wrote:
> Hi Nyall
>
> On Tue, Mar 17, 2015 at 5:38 AM, Nyall Dawson <nyall.dawson at gmail.com 
> <mailto:nyall.dawson at gmail.com>> wrote:
>
>     Hoping someone can point me in the right direction - when using the
>     "offset curve" tool a little floating spin box shows the current
>     offset. It's handy to have this displayed, but there doesn't seem to
>     be any way to interact with this spin box (eg, to enter a specific
>     offset amount).
>
>
> Just tried that - in my case the spin box gets keyboard focus, so I 
> was able to enter offset value (which must be followed by Enter). It 
> seems that all the time you need to keep the mouse at the same 
> location (with left button pressed) otherwise your value gets 
> overwritten. So it's best to take a deep breath beforehand :)
>
> Cheers
> Martin
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150317/d2f1d453/attachment.html>


More information about the Qgis-developer mailing list