Categories
How to remove the object associated with the tab being removed?
is there a QTabWidget where tabs = objects of my class how does removing a tab (removeTab(tab index)) remove the object associated with that tab?
Answer the question
In order to leave comments, you need to log in
Store mappings between the tab and related data somewhere. Get a tab manager who (and only he) will add, remove tabs and manage data on these tabs
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question