Hi. I want to do this:
http://www.qtcentre.org/forum/faq.ph...esigner_2forms
So, I added this:
Qt Code:
  1. void Ui_MainWindow::openUi_Dialog(){
  2.  
  3. static Ui_Dialog *Ui_Dialog = new Ui_Dialog(this);
  4.  
  5. Ui_Dialog->show();
  6.  
  7. Ui_Dialog->activateWindow(); // or form2->setActiveWindow() in Qt3
  8.  
  9. Ui_Dialog->raise();
  10.  
  11. }
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