Is there any signal I can use when an item is added or removed from a QListWidget? I need to resize the widget to fit its contents, but I can't override the addItem method when I subclass QListWidget because it's marked final. (This is using the QtD wrapper library, but it shouldn't be too different from the way Qt works).
Oh, nevermind. All I had to do was override the paintEvent method, it gets called automatically when items are added/removed.
Bookmarks