Hello Qt devs, I'm pretty new to qt and I would like to ask for a simple problem:
_ I have a MainWindow with:
+ An initial widget for storing initial items.
+ 10 list widgets for storing dropped items.
+ A line edit inside a for showing a "count" variable which count how many items in there.
What I want to do is after dropping a item in these 10 widgets, the "count" number plus one, and dragging an item outside the list widgets the "count" minus one. I tried eventFilter but after installingEventFilter to a widget, the dropped item dissappears. I have stuck at this for many hours so hopefully someone could give me a solution.
Bookmarks