Hi,
I have a QSplitter controlling a QTreeWidget on top and a
group of 4 buttons on the bottom. I have placed the 4 buttons
in a frame who has a fixed height and a max height which
is only slightly larger than its min height.
What I want to do is catch the direction of the vertical
scroller movement and hide/show one or more of the
buttons in the frame.
This works to the extent that the frame corectly resizes
when I hide/show a button.
My problem is determining where the vertical scrollbar
has moved.
Catching the splitterMoved Signal only tells me the
new position. Hiding or Showing one of the buttons
results in a resizeEvent for the XMLtree and another
splitterMoved Signal call with the new position.
I need a way to differentiate between a splitterMoved Signal
due to a resizing and one from an actual move of the splitter
handle. It would be nice if they generated different event types
but they don't..
Thanks
Mark
Bookmarks