Question

I want to get the QDockArea size when the user changes its size by dragging the Splitter. Is there any signal that emits when QDockArea size changes ? I'm using Qt 3.3.6 (please don't suggest to change the Qt version).

Was it helpful?

Solution

You could:

Create a subclass of QDockArea and reimplement the resizeEvent function to emit a signal or directly call into some sort of manager object.

Alternatively:

How about using the manager object as an eventFilter on your QDockAreas and checking for QEvent::Resize?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top