Hi. I want to do this:
http://www.qtcentre.org/forum/faq.ph...esigner_2forms
So, I added this:
Qt Code:
void Ui_MainWindow::openUi_Dialog(){ static Ui_Dialog *Ui_Dialog = new Ui_Dialog(this); Ui_Dialog->show(); Ui_Dialog->activateWindow(); // or form2->setActiveWindow() in Qt3 Ui_Dialog->raise(); }To copy to clipboard, switch view to plain text mode
into Ui_MainWindow class. Is that correctly?
No, it isn't. When I do it I have errors that MainWindow class does not have a member called raise, acitvateWindow and show. Even if I paste it out of this class there are errors:
class Ui-Dialog has no member called raise, show and activateWindow. So how should I do it? Regards
Bookmarks