Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] Reg : Need some help with QMdiArea
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Reg : Need some help with QMdiArea

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    roahanramesh
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      roahanramesh
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved