Eskil Abrahamsen Blomfeldt <[EMAIL PROTECTED]> wrote:
 
> Hi, Dimitri.
> 
> Dimitri Frederickx wrote:
>> When I start up my application, I execute the following code:
>> QApplication.setOverrideCursor(new 
>> QCursor(Qt.CursorShape.BlankCursor));
>>
>> After this I create a QGraphicsView.
>>
>> Although I've overridden the cursor to a blank cursor, the cursor is 
>> still displayed. From the moment that I move my mouse pointer, it is 
>> then made invisible.
>>
>> How can I make my mouse pointer invisible without first having to move 
>> my mouse? Is this maybe a bug?
>>   
> 
> I am not able to reproduce this problem. Please note that the cursor is 
> only overridden for the application window. Are you sure that you are 
> not misinterpreting the effects? To be clear, the intended effect of 
> your code is that the cursor should be visible when it's outside the 
> application's window, and invisible inside. E.g. if you use 
> showMaximized() to show your window rather than show(), the window will 
> immediately fill the entire screen and you should see that the mouse 
> cursor is invisible on start up.
> 
> Does this not work as intended? In that case, on which platform have you 
> tested it?
> 
> -- Eskil
> 
> 

Yes, this is the behavior that I expected, but it seems that this is not 
working on Mac OS X (I'm working on version 10.5.2).

I'm calling showFullScreen() instead of show() or showMaximized().

/Dimitri

_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to