qmdiarea tabbed subwindows
-
wrote on 23 Apr 2018, 10:38 last edited by user4592357
i'm creating
QMdiSubWindow
s insideQMdiArea
and i set the view mode of mdi toQMdiArea::TabbedView
. and in this case i lose the minimize, maximize, close buttons of my subwindow. how can i keep them? -
Hi,
AFAIK, you can't have both behaviour at the same time.
-
wrote on 24 Apr 2018, 19:50 last edited by
@SGaist
hmm, that's an uncomfortable thing they did... -
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 ?
-
@SGaist
hmm, that's an uncomfortable thing they did...@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 :)
QDockWidgets cannot be used for your app ?
-
wrote on 24 Apr 2018, 20:11 last edited by
i only need the close button. i know
QScintilla
does that.no, no need for docks. i think i'll leave it like this.
-
So you likely need to set the tabsClosable property to true.
-
So you likely need to set the tabsClosable property to true.
wrote on 24 Apr 2018, 20:21 last edited by@SGaist
exactly, thanks!
5/8