Desperado
29th December 2010, 17:07
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
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