octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: differences between fltk and qt


From: Werner Koenig
Subject: Re: differences between fltk and qt
Date: Thu, 03 Oct 2013 19:03:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

On 03.10.2013 18:43, Michael Goffioul wrote:
On Thu, Oct 3, 2013 at 12:11 PM, Werner Koenig <address@hidden> wrote:
Hello List,

I want to query the mouse position in a graphic window. With the
graphics_toolkit fltk, I can do it with ginput, but with qt I get an
error

error: feval: function '__qt_ginput__' not found
error: called from:
error:   /opt/octave/share/octave/3.7.7+/m/plot/ginput.m at line 51, column 18

So I looked to the function __fltk_ginput__. When I imitate this function it works
fine with fltk, but with qt the property currentpoint of gca is always set to null.
How can I fix this problem.

The first option is to dive into QtHandles code, implement the missing feature and submit a patch. The second option is to wait until someone else does it for you :).

Michael.

Ok, but give me a hint, where is the place I have to dive in the QtHandles code. Is it the canvas routine  ?

So long Werner


reply via email to

[Prev in Thread] Current Thread [Next in Thread]