Hello, I'm looking for a way to change a widget's type dynamically. So, for example, I have :
self.filetable = QTableView() and during the execution, I would like to change it to a QTreeView(). How should I do to do something like : self.filetable = QTableView() (...) if aVar == 3: self.filetable = QTreeView() self.filetable.updateUI() Where my hypothetic updateUI() function would redraw a new QTreeView on my screen's application. Any pointer to a documentation's url is welcome :-) Thank you, Gaëtan
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
