Results 1 to 2 of 2

Thread: QDrag - Pixmaps alway cropped

  1. #1

    Default QDrag - Pixmaps alway cropped

    Hello folks,

    I tried to integrate the 'draggableicons' example into my own application. However, for some reason, once I start dragging one of the images, the pixmap following the cursor is cropped to a size of 60x60 or so, even though the actual image is larger. I use the dragwidget.cpp and dragwidget.h from the example without change.

    What seems to make the difference is whether I start up the widget using the QApplication setup from the example or not. If I use it instead of my own code, it works.

    Can you guess what might be missing from the QApplication code that crops my pixmaps at rendering?

    Thanks a lot

  2. #2

    Default Re: QDrag - Pixmaps alway cropped

    After some more tests, I come to the conclusion that it is actually this bug:

    http://bugreports.qt.nokia.com/browse/QTBUG-1946

    Has anyone ever fixed that?

Similar Threads

  1. Replies: 1
    Last Post: 24th May 2010, 11:57
  2. QDrag : memory allocation
    By kghose in forum Qt Programming
    Replies: 1
    Last Post: 14th August 2008, 22:57
  3. Hande a *lot* of pixmaps (Qt4.4)
    By bunjee in forum Qt Programming
    Replies: 3
    Last Post: 20th May 2008, 10:08
  4. Problems with QActions and Pixmaps
    By ToddAtWSU in forum Qt Programming
    Replies: 8
    Last Post: 11th April 2007, 21:53
  5. Changing QDrag's pixmap
    By Gopala Krishna in forum Qt Programming
    Replies: 2
    Last Post: 13th January 2007, 05:08

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.