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
QtWS25 Last Chance

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 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
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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
      1
      • SGaistS SGaist

        Hi,

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

        U Offline
        U Offline
        user4592357
        wrote on last edited by
        #3

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

        mrjjM 1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on 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

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

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on 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 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
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on 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
                2
                • SGaistS SGaist

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

                  U Offline
                  U Offline
                  user4592357
                  wrote on last edited by
                  #8

                  @SGaist
                  exactly, thanks!

                  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