Results 1 to 2 of 2

Thread: Cursor for paint program

  1. #1
    Join Date
    Jul 2007
    Posts
    39
    Thanks
    10

    Default Cursor for paint program

    Hi all

    I am designing a paint program in Qt4. I am using the QGraphics Framework. I have a list of buttons with custom shapes. I want to click on the button and then when I move to the screen, I would like to have a mouse pointer attached to that particualr custom shape. So, I can have a feel of where I am placing the shape on the screen.

    So, the mouse pointer will have a shape attached to it. Any help pointing towards how to do it in Qt4 would be great.

    Thanks
    Arjun

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Cursor for paint program

    Create your own predefined set of cursor and set them as needed.

    Or, if you have the possibility to generate the cursor dynamically, depending on the shape you drag, even better.


    Regards

Similar Threads

  1. In what order do you create program pieces?
    By Backslash in forum Newbie
    Replies: 2
    Last Post: 15th July 2007, 19:18
  2. Porting my program to another windows machine !
    By probine in forum Qt Programming
    Replies: 1
    Last Post: 14th March 2007, 07:46
  3. QT Program debug,GDB on Linux
    By darpan in forum General Programming
    Replies: 1
    Last Post: 26th January 2007, 23:02
  4. QT MySQL
    By sabeeshcs in forum Newbie
    Replies: 6
    Last Post: 12th January 2007, 05:19
  5. Enter key causing program to exit
    By welby in forum Qt Programming
    Replies: 2
    Last Post: 9th March 2006, 17:11

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.