Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Drap and Drop pixmap support?

$
0
0
My purpose is to set the QDrag’s pixmap so that when i am doing an external drag i see a snapshot of the item i am moving. I would also like to know can i use drag and Item first as Internal drag and as soon as I detect MouseArea::mouseX is outside the some rect then I switch to External drag. Basically i want something like below:- - Mouse-pressed – Mouse-Moved ———Start internal drag —————Mouse move event ——————-Check if mouse position is out of rect, ————————-Yes it is outside rect start External drag ————————————DragEnter ——————————————-If in the same window cancel External Drag and Start Internal Drag else continue. Basically i want to have external as well as internal drag inside the same drag sequence? Please let me know if it is possible?

Viewing all articles
Browse latest Browse all 4972

Trending Articles