[SOLVED] Reg : Need some help with QMdiArea



  • Hello
    I am developing an application which is in multiple document interface. I am creating seperate .ui for each form and adding them to the MdiArea using (ui->mdiArea->addSubWindow(QWidgetname). This works, However, when I close the sub-window and try to open it (the form) once again, my application quits, giving me an error. what can be done to solve this issue.

    I have one question. When I close my application, Shall i emit a signal called "closing window". In my main, i will process this signal and from there remove my subwindow. would that work.

    Any help would be greatly appreciated.



  • Sorry, I managed to solve the problem myself. The issue was I made the forms modal, and that was what was creating the problem. I removed it and the problem disappeared.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.