Having splitter type functionality in qmainwindw
-
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
RiteshI think what you want is
QSplitter::setOpaqueResize(false)
. -
I think what you want is
QSplitter::setOpaqueResize(false)
.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
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
RiteshI 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.