> You then need to make sure your restoreState work with all our backend > code for toolbars (addToolbar etc).This looks like a good plan ;-)
I would rather go another way. Namely, figure out 1. location (left, top etc), already done. 2. line (first, second line etc) 3. position at a line and save/restore the values. IMHO, these are non-intrusive additions to our current toolbar/session stuff, while your approach looks dangerous to me. Bo