PDA

View Full Version : Drag and Drop from QListWidget to QFrame



ali_mazighe
28th April 2016, 15:22
Hello all,

Please i want to know if i can drag elements from a QListWidget to a Qframe!??

best regards

anda_skoa
28th April 2016, 16:47
Yes.

Cheers,
_

ali_mazighe
28th April 2016, 17:04
Hello all

Please can any one of you help aboutthe way of dragging elements from QListWidget to a QFrame and extract only the icon of the QLisWidget!!!!

Thank you in advance

ali_mazighe
28th April 2016, 23:57
Hello all QT-Programmers

In my project i want to drag elements from a QListWidget and drop it to the mainwindow that extends from a Qframe, but in this case only the dragging that works and the main window do not accept drops.
So in this case if some one can help so i can realize this small application it wil be great

Thank you in advance

d_stranz
29th April 2016, 17:33
Have you looked at the Qt drag and drop examples? (http://doc.qt.io/qt-5/examples-draganddrop.html)