Sunday, July 6th 2008, 2:51pm UTC+1

You are not logged in.

  • Login
  • Register

1

Tuesday, January 8th 2008, 12:53pm

Removing mouse icon

Hi All,
I don't want to use mouse Icon in my project, How can I remove mouse icon from my screen. I will use just keyboard at all.
  • Go to the top of the page

macabre13

Trainee

Posts: 127

Location: Poland/ Wroclaw

Occupation: sw developer

2

Monday, January 14th 2008, 11:54am

Hi, use this

Source code

1
QCursor::setShape( Qt::BlankCursor );

My first post!
- ebm - noise - industrial -
I always could be wrong.
Lets share knowledge!

This post has been edited 1 times, last edit by "macabre13" (Jan 14th 2008, 11:55am)

  • Go to the top of the page

sebo

Beginner

3

Monday, January 28th 2008, 2:48pm

you could use static method setOverrideCursor from QApplication class,
use this construction:

Source code

1
QApplication::setOverrideCursor(QCursor(Qt::BlankCursor));
  • Go to the top of the page

Manalishi

Beginner

Posts: 1

Location: Neinkeije

4

Thursday, February 28th 2008, 8:25am

RE: Removing mouse icon

Hi.

I deactivate the mouse icon with the following piece of code:

Source code

1
2
3
4
if ( QWSServer::isCursorVisible() )
    {
      QWSServer::setCursorVisible( false );
    }
Per Aspera Ad Astra

coptimer-info
  • Go to the top of the page

Rate this thread