Unsolved Copy/Paste several QImage with QClipboard
-
Hello,
I am using the QClipBoard to copy/paste an image, with te function
setImage(const QImage & image, Mode mode = Clipboard)
It is working very good, but now I need to copy several images at a time.
Is there a way to do that? I don't want to use setUrls() because I don't want to save the images in a specific file.Thank you for your help,
Emmanuel
-
How should the sender receive more than one image from the clipboard? Do you have an application which can handle this? I would say no (at least not in a standard way)
-
Thank you for your answer Christian.
If you take microsoft word for example, you can select several images, and copy paste them. I don't know how they do that, or any other application does, that's why I'm asking the question here. -
You can take a look into the clipboard to see how they store them in there and simulate it. See QClipboard::mimeData() and QMimeData::formats()