Results 1 to 2 of 2

Thread: Cursor style changes when placed at the edges of the Qt Dialog box

  1. #1

    Default Cursor style changes when placed at the edges of the Qt Dialog box

    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.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Cursor style changes when placed at the edges of the Qt Dialog box

    I think Qt doesn't have anything to do with this... This is likely your operating system doing that, not the application itself.

Similar Threads

  1. [itemview] delegation to a dialog ...
    By lauranger in forum Qt Programming
    Replies: 6
    Last Post: 27th November 2006, 10:08
  2. how to create a popup dialog
    By Morea in forum Qt Programming
    Replies: 1
    Last Post: 19th November 2006, 16:40
  3. Replies: 3
    Last Post: 23rd July 2006, 18:02
  4. Show/hide part of dialog with resizing.
    By Spockmeat in forum Qt Tools
    Replies: 6
    Last Post: 7th June 2006, 08:22
  5. Dialog positioning in GNOME
    By simk in forum Qt Programming
    Replies: 2
    Last Post: 16th March 2006, 09:41

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.