Horje
QDrag and Drop Code Example
QDrag and Drop
QDrag *drag = new QDrag(this);

QString text = QString("TEXT");

QMimeData *mimeData = new QMimeData();
mimeData->setText(text);

drag->setMimeData(mimeData);

Qt::DropAction dropAction = drag->exec(Qt::CopyAction|Qt::MoveAction);
Source: forum.qt.io




C

Related
facetube Code Example facetube Code Example
peripheral bus clock pic32 Code Example peripheral bus clock pic32 Code Example
molotovn't ribbentropn't pact Code Example molotovn't ribbentropn't pact Code Example
vim set tab to 4 spaces Code Example vim set tab to 4 spaces Code Example
Selection Sort in C Code Example Selection Sort in C Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
6