On 28.08.09 03:05:19, tabish--> wrote: > i want to make a copy of the currentwidget and its child widgets of a > tabwidget and create a new tabwidget with the copy of that tabwidget. > > how can i go about, i search the docs and found that we can't make a copy of > the Qobject , i am confused. > i tried deepcopy but it doesn't work. > and i don't know how to use Copy constructor to get the copy of an object.
You cannot do that. All you can do is create a new widget and feed it with the data from the existing one. There is no way to copy widgets. Andreas -- You will be honored for contributing your time and skill to a worthy cause. _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
