From: Paul A. <py...@ag...> - 2005-03-18 15:43:31
|
An almost certainly basic problem (as I am just starting on PyQt): I'm using designer and pyuic to create my interface. My main window class needs some initialization, so I wrote these into the ui.h file in the approved manner: void MyDocWindow::init() { print "I'm inited!" } void MyDocWindow::destroy() { print "I'm destroyed!" } But, pyuic doesn't put the included code into the MyDocWindow.__init__() function in the generated file. Neither is MyDocWindow.__del__() or init() generated. Is there some obvious point that I'm missing? -- Paul-Michael Agapow (pm...@vi...) |