[Qgis-developer] Re: [Qgis-user] Offset curve tool
Nathan Woodrow
madmanwoo at gmail.com
Wed Feb 29 06:43:07 EST 2012
On Wed, Feb 29, 2012 at 9:17 PM, Marco Hugentobler <
marco.hugentobler at sourcepole.ch> wrote:
> On Mac OS and Windows, the spin box is placed next to the cursor and moves
> with it. On X11, I had to disable that because there is a problem embedding
> widget items if the flag Qt::WA_PaintOnScreen is set on the canvas.
> But yes, it might be better to have a separate window on X11.
>
Ahh this makes sense. Having the tool follow the mouse cursor is something
that I was thinking about trying with some other tools, now I have
something to model that off. Bugger about the bug on X11, in that case it
would be best to have a window.
Is it possible to do a frameless modeless dialog with the widget inside and
have it follow the cursor? Or does this have the same issue.
> >Also if editing the value doesn't change the result of the tool I would
> think it would be good as read-only. I tried to edit it in order to order
> to supply a offset of 3 and nothing >happened.
>
> It is intended that editing changes the result. After pressing the return
> key, the offset line should move to the new distance (but the mouse should
> not be moved, otherwise it will be overriden by the following mouse move
> position). Doesn't this work for you?
>
Seems to not on my machine. Running Linux Mint 11
- Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120229/5d92fef6/attachment.html
More information about the Qgis-developer
mailing list