Results 1 to 2 of 2

Thread: setting Cursor for one operation

  1. #1
    Join Date
    Dec 2006
    Posts
    7
    Qt products
    Qt3

    Default setting Cursor for one operation

    Hello All,
    Can i set one cursortype for all applications and operations . During drag the cursor changes from arrow type to arrow+cross. i want only arrow cursor during dragmove, dragcopy and draglin operation. am using Qt's textdrag class and calling dragCopy operation. solve this issue please?

  2. #2
    Join Date
    May 2006
    Location
    Bangalore,India
    Posts
    235
    Thanks
    7
    Thanked 25 Times in 24 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: setting Cursor for one operation

    use
    setCursor(Qt::ArrowCursor);
    in your drag class
    OR

    set
    setCursor(Qt::ArrowCursor);
    in Drag and Drop API.

Similar Threads

  1. Setting style in QApplication
    By Doug Broadwell in forum Newbie
    Replies: 2
    Last Post: 28th October 2006, 21:56
  2. form setting
    By mickey in forum Qt Tools
    Replies: 5
    Last Post: 27th September 2006, 00:28
  3. change of ownershiip operation not permaitted while build
    By quickNitin in forum Installation and Deployment
    Replies: 5
    Last Post: 16th May 2006, 12:13

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.