PDA

View Full Version : Switching between models



janorcutt
24th January 2012, 19:46
Maybe a dumb question but I have to ask....

Using the model/view framework can I switch a view's model on the fly?
And how might one go about it?

cheers in advance

janorcutt

wysota
24th January 2012, 19:52
Just set a new model using QAbstractItemView::setModel().