Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Sometimes it is necessary to take data from one place and “send” it to another. One way is clipboard “cut and paste,” and another is “drag and drop.” The data transfer classes used are the same for both.
Every Qt application has access to the system clipboard from qApp->clipboard(). The clipboard holds onto typed data (text, graphics, URLs, or custom data). To place data into the clipboard, you create a QMimeData, encode the data somehow, and call QClipBoard->setMimeData().