Hello,

I have created a ui file that has a QListWidget on it. I am going to need to implement a drag and drop function on it and then reuse that code on another ui file. I thought about having a class myListWidget that implements the drag event and which would be inherited when I did multiple inheritance. However I am not sure how to get the QListWidget to inherit from my class as its created by the setupUi() function.

Any thoughts or suggestions?