[Qt-interest] Set blank cursor, works only after move

Donal O'Connor donaloconnor at gmail.com
Sat Mar 28 19:01:41 CET 2009


Hi Sean,

Thanks a million, guess I didn't look hard enough!

 QWSServer::setCursorVisible (false); in my main does the trick.


Cheers.


Regards,

Donal

On Sat, Mar 28, 2009 at 5:40 PM, Sean Harmer <
sean.harmer at maps-technology.com> wrote:

> Donal O'Connor wrote:
> > Hi,
> >
> > I have QT 4.5 embedded running on my ARM device.
> > I created a test application that uses a QMainWindow with
> > showFullScreen();
> >
> > In it's constructor I placed:
> >
> > setCursor(Qt::BlankCursor);
> >
> >
> > When I start the application, I have my mouse cursor visible in the
> > center (what I don't want.)
> > However, as soon as I touch the touch screen, it disappears.
> >
> > Anyone any suggestions to fix this? - Is there a way of moving the
> > mouse pointer even by a pixel so that it "wakes" it up or whatever it
> > does.
> > I also tried doing a repaint() incase it just needed a refresh and no
> joy.
> Try this:
>
> http://doc.trolltech.com/4.5/qwsserver.html#setCursorVisible
>
> Sean
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090328/363411e6/attachment.html 


More information about the Qt-interest-old mailing list