Slow repaint underneath dragged object on X… Can Qt force drag and drop operations to be internal only?

An X11 window is only created for a drag operation if a QDrag::mimeData()->hasImage() is true. If you modify your code so it doesn't use an image then you will just get a drag cursor instead which won't trigger a repaint of the windows underneath.

An X11 window is only created for a drag operation if a QDrag::mimeData()->hasImage() is true. If you modify your code so it doesn't use an image then you will just get a drag cursor instead which won't trigger a repaint of the windows underneath. You don't specify what kind of object you are dragging or how you are setting up the drag operation.

Can you add some code to show that?

This interface will be used on a touchscreen without a cursor, so an image will be necessary I'm afraid. The object is irrelevant to be honest - I'm setting up the drag in the standard way (i.e. Newing it off, setting mimeData, pixmap and hotSpot then calling QDrag::exec()).

I hadn't thought of trying to setCursor rather than setPixmap though - I'll give that a go tomorrow. Cheers :) – sjwarner Nov 29 at 18:52 If this is for an kiosk or appliance (rather than a general purpose application) you could try using a compositing window manager if the hardware supports it. – atomice Dec 1 at 12:55.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions