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. qmdiarea tabbed subwindows
Forum Update on Monday, May 27th 2025

qmdiarea tabbed subwindows

Scheduled Pinned Locked Moved Solved General and Desktop
qmdiareaqmdisubwindow
8 Posts 3 Posters 2.9k Views
  • 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.
  • U Offline
    U Offline
    user4592357
    wrote on 23 Apr 2018, 10:38 last edited by user4592357
    #1

    i'm creating QMdiSubWindows inside QMdiArea and i set the view mode of mdi to QMdiArea::TabbedView. and in this case i lose the minimize, maximize, close buttons of my subwindow. how can i keep them?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 23 Apr 2018, 19:42 last edited by
      #2

      Hi,

      AFAIK, you can't have both behaviour at the same time.

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

      U 1 Reply Last reply 24 Apr 2018, 19:50
      1
      • S SGaist
        23 Apr 2018, 19:42

        Hi,

        AFAIK, you can't have both behaviour at the same time.

        U Offline
        U Offline
        user4592357
        wrote on 24 Apr 2018, 19:50 last edited by
        #3

        @SGaist
        hmm, that's an uncomfortable thing they did...

        M 1 Reply Last reply 24 Apr 2018, 20:03
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 24 Apr 2018, 19:55 last edited by
          #4

          Do you have an example of a program that provides an MDI interface with tabbed sub window that allows to minimise, maximise and close each of these tab separately ?

          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
          1
          • U user4592357
            24 Apr 2018, 19:50

            @SGaist
            hmm, that's an uncomfortable thing they did...

            M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 24 Apr 2018, 20:03 last edited by
            #5

            @user4592357
            Well the TabbedView mode was meant to not show decorations (win frames)
            and since its tabs, it would be odd to have the windows frame symbols.

            However, the biggest issue for me was its draw in win 7 style on win 10.
            Looks very out of place :)
            alt text

            QDockWidgets cannot be used for your app ?

            1 Reply Last reply
            1
            • U Offline
              U Offline
              user4592357
              wrote on 24 Apr 2018, 20:11 last edited by
              #6

              i only need the close button. i know QScintilla does that.

              no, no need for docks. i think i'll leave it like this.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 24 Apr 2018, 20:16 last edited by
                #7

                So you likely need to set the tabsClosable property to true.

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

                U 1 Reply Last reply 24 Apr 2018, 20:21
                2
                • S SGaist
                  24 Apr 2018, 20:16

                  So you likely need to set the tabsClosable property to true.

                  U Offline
                  U Offline
                  user4592357
                  wrote on 24 Apr 2018, 20:21 last edited by
                  #8

                  @SGaist
                  exactly, thanks!

                  1 Reply Last reply
                  0

                  6/8

                  24 Apr 2018, 20:11

                  • Login

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