PDA

View Full Version : Cursor style changes when placed at the edges of the Qt Dialog box



Gangadkar
1st February 2007, 07:00
Hi,

The cursor behaves weirdly when placed at the edges/border of the fixed Qt dialog box thereby inducing the user to resize the dialog box. The cursor changes to the shape of Qt::sizevercursor or Qt::sizehorcursor when placed at the edges of the fixed dialog boxes in case of Qt 3.3.4

I need the cursor style to be of Qt::ArrowCursor when placed at the edges of the fixed Qt dialog boxes. I have tried using
dialog->setcursor(QT::Arrowcursor)
but the changes happen when the cursor is placed on the layout of the qt dialog box and changes it shape to Qt::sizevercursor and Qt::sizehorcursor when placed at the edges of the dialog box.

So please suggest a method to over come this problem in Qt 3.3.4 on a windows platform.

wysota
1st February 2007, 18:07
I think Qt doesn't have anything to do with this... This is likely your operating system doing that, not the application itself.