Results 1 to 9 of 9

Thread: Does QDrag support QBitmap?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Does QDrag support QBitmap?

    As I said, you have to replace the construction and serialisation code of the pixmap. Otherwise your pixmap won't be used at all (the code I mentioned is around line #100 or earlier).

  2. #2
    Join Date
    Feb 2007
    Posts
    14
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    1

    Default Re: Does QDrag support QBitmap?

    I am sorry that I can not deliver my question clearly.
    I attached drag.jpg file, and I wanted the cursor in the picture is mono-color.
    I do not wanted to change all content of pixmap.

    I only wanted to show mono-color mouse when dragging.
    That is, I wanted to set mono-color in function "drag->setPixmap()".

    Thanks your reply.
    Attached Images Attached Images

Similar Threads

  1. object-relational mapping support?
    By brcain in forum Qt Programming
    Replies: 18
    Last Post: 28th January 2016, 11:42
  2. Qt static library with jpeg support
    By vishal.chauhan in forum Installation and Deployment
    Replies: 2
    Last Post: 11th May 2007, 06:53
  3. Compile QT4.2.2 with MySQL on Mac OS
    By asd in forum Installation and Deployment
    Replies: 7
    Last Post: 12th February 2007, 14:50
  4. Qt and jpg support in Linux ?
    By probine in forum Qt Programming
    Replies: 2
    Last Post: 22nd January 2007, 23:46
  5. Strange Problem with JPEG Support on win XP
    By caligula in forum Installation and Deployment
    Replies: 3
    Last Post: 18th September 2006, 10:36

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
  •  
Qt is a trademark of The Qt Company.