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. MDI Parent Frame with floatable clint frames and selection tab
Forum Updated to NodeBB v4.3 + New Features

MDI Parent Frame with floatable clint frames and selection tab

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.6k 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.
  • Q Offline
    Q Offline
    qtcheckout
    wrote on last edited by
    #1

    Hello,
    i am new to qt and want to figure out if i can create an application with QT in a straight manner (so no custom hacks).

    Requirements:

    1. An MDI parent frame (seems to be possible)
    2. Clients the can be arranged within this parent in a standard way: tile horinzontally, vertically and as cascade.
      Seems also to be possible.
    3. The Clients can be selected by a tabcontrol (not sure)
    4. It is possible to release clients from MDI parent to have them as toplevel windows and vice versa.
      So the user should be able to switch between docked and floating state. (Found no information about)

    Is all this possible with QT (on Windows) ?
    Thank you in advance

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      1 and 2) QMdiArea
      3) focus handling
      4) Might be a bit more tricky to put the widget back in the container, something that works like a QDockWidget ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qtcheckout
        wrote on last edited by
        #3

        Hello SGaist,
        thank you for reply.

        The QDockWidget sounds like a dockable pane. I am not sure if this
        is in line with the QMdiArea as it may expects something different from
        QDockWidgets as client

        However, do you think it is possible just to move the view (or a subwindow)
        from the MDI child into a new created toplevel and on closing this toplevel
        frame, to create a new MDI child and moving back the view (subwindow)
        into this MDI child ?

        Basically something like a Reparent..?

        I ask this instead of trying on my own because i like to avoid to setup
        the whole qt environment and to create a quick example in order to check this out. I fear a bit the time.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Indeed they are different but the question was more about whether the features you want are similar to those of QDockWidget.

          Yes it should be, you can add and remove sub windows in QMdiArea so nothing stops you from implementing that.

          Go with the MinGW package, you don't have anything more to install

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            qtcheckout
            wrote on last edited by
            #5

            Thank you for reply.
            will checkout

            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