How to check elements whether it exists or not after drag and drop operation?
-
Hello,
I have one application in which i have implemented drag and drop functionality.
Now, I want to check if the items which we have selected for drag operation, does already exists,
If it exists. it should give some message box like to stop or to overwrite it.How can I achieve such kind of functionality?
-
Hi,
You should be able to do it on the drop event. There you can check whether you already have an element corresponding to what is being dropped and you can use a QDialog to ask the question to your user.
Hope it helps