Hi!

I have some problem with understanding the State Machine Framework in Qt.
I have some widget, further named 'TreeSelection', with pretty working State Machine, look the first image attached:
anim1.jpg
In a few words, it contains 2 treeviews an some other guys, and a statemachine, witch has two states:
state 0 (default) - one treeview is enlarged to the whole widget size, and everything except is resized to zero. ('view mode')
state 1 - all widget are resize to their default sizes ('edit mode')/
The transitions are emitted by mouseDoubleClick on the treeview.

The problem is it's only a part of the main widget. The main widget contains 3 'TreeSelections'.
anim2.jpg
And i want to implement some resizing behaviour:
each time some of the TreeSelection is changing state (with animation) - the two others are shrinking, and this TreeSelection is widening.
If some of the others was in 'edit mode' state, so it changed state to 'view mode', of course. If this TreeSelection was already in 'edit mode' , it just shrinkes to the default size.

How can i do it? Please give me some advice..)
Hope you can understand anything here..) Thank you!