what do you mean by "overlapping"? Isn't the problem that you just store the area, not the position within the area?
I mean, disable multiple toolbars on the same Line (Qt term). Then, we do not need to save position.
Why don't we store QMainWindow::saveState?
The simple answer is that because (future) frontend XXX does not have saveState. As a matter of fact, even qt 3 does not have it. Bo