PDA

View Full Version : Change base class



villy
20th September 2006, 10:56
Hello evrybody, my question is the following...
I create an UI that extends QWidget. Now, if I want that this UI extends QMainWidget (for example) what can I do? I've to edit the ui file by hand? Is there a better way?

thanks to all...

sunil.thaha
20th September 2006, 11:11
Ya AFAIK you have to maually edit the .ui file and Replace the QWidget with QMainWindow.

villy
20th September 2006, 11:26
oh... thanks :)