QWidget resize signal?

warvariuc picture warvariuc · Jan 21, 2012 · Viewed 38.6k times · Source

I want to take an action when a widget was resized.

Is there a way to catch that without installing an event filter on that widget (and, obviously, without subclassing it)? AFAIK, QWidget does not have a resized signal.

Answer

Lol4t0 picture Lol4t0 · Jan 21, 2012

You can derive from widget class and reimplement resizeEvent event