[Interest] Using QTabWidget to select model instance to display in QTableView

Carl Schumann schumann at fnal.gov
Wed Jun 20 20:30:05 CEST 2012

Qt community,

I would like to use a QTabWidget to allow user selection of the model 
currently displayed in a single QTableView instance.   I want to do this 
because the models have different data but their presentation should be 
uniform, e.g., width of each column.   addTab(...) does not appear to 
allow me to place the same widget multiple times.  I kind of understand 
why that would be the case.   Other ideas about how to make this idea 
work or do it in some better way please?

Carl Schumann

More information about the Interest mailing list