When creating widgets in Qt, what do I need to free. Once I do the mainWidget.setLayout(layoutName), do I need to free any memory other than the widget itself? What about icon.setIcon(), does it take over the memory management for the icon?
I'll just include a sample file. Have I forgotten to free anything in the attached module, as long as I free the parent widget in the calling routine?
- BRC
Bookmarks