Having splitter type functionality in qmainwindw
-
wrote on 9 Sept 2015, 08:29 last edited by
Hello All
I wanted to imitate the behavior we had in q3mainwindow in QT4 in terms of resize of the dockwindows.
In qt3 we had a splitter moving while resize, on mouse leave event, the dock widgets gets refreshed to new sizes.
whereas in qt4 the docwindows resize dynamically.Regards
Ritesh -
Hello All
I wanted to imitate the behavior we had in q3mainwindow in QT4 in terms of resize of the dockwindows.
In qt3 we had a splitter moving while resize, on mouse leave event, the dock widgets gets refreshed to new sizes.
whereas in qt4 the docwindows resize dynamically.Regards
Riteshwrote on 9 Sept 2015, 19:54 last edited byI think what you want is
QSplitter::setOpaqueResize(false)
. -
I think what you want is
QSplitter::setOpaqueResize(false)
.wrote on 10 Sept 2015, 06:44 last edited byThanks Joel
This seems to work, But is this available for qmainwindow which has dockable widgets.
I mean is the qmainwindow dockable widgets divided with splitter's.
If so how can we get the splitters and apply this function over this?Regards
Ritesh -
Thanks Joel
This seems to work, But is this available for qmainwindow which has dockable widgets.
I mean is the qmainwindow dockable widgets divided with splitter's.
If so how can we get the splitters and apply this function over this?Regards
Riteshwrote on 10 Sept 2015, 09:47 last edited byI see what you mean. My bad.
The only other thing I found is controlling whether the dock widgets are being animated or not. However, this doesn't affect their resize behavior.Hopefully somebody else can help. Sorry.
1/4