Actually, the widget within the frame is resizing with the frame.

What i didnt realize is that a maximize event was not a resizeEvent, so my test was invalid.

So what I am trying to do now is catch a maximize event so I can handle it.

I am trying this, but it doesnt seem to be working.

Qt Code:
  1. void COutput::changeEvent(QEvent* event)
  2. {
  3. switch (event->type())
  4. {
  5. case QEvent::WindowStateChange:
  6. {
  7. qDebug() << "state change";
  8. }
  9. default:
  10. QWidget::changeEvent(event);
  11. }
  12. }
To copy to clipboard, switch view to plain text mode 

What am I doing wrong here?

p.s. thenagain, I am probably wrong to think I can catch such a window event within a widget.. which leaves me in somewhat of a quandry...