shan
shan

Reputation: 1202

How to get QDockArea size?

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).

Upvotes: 0

Views: 242

Answers (1)

sam-w
sam-w

Reputation: 7687

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?

Upvotes: 1

Related Questions