How use resize event for QDialog ? I try like this, but not work.

Qt Code:
  1. ...............
  2. ...............
  3. connect(this, SIGNAL(resizeEvent ( QResizeEvent * event )), this, SLOT(coba( QResizeEvent * event )));
  4. ...............
  5. ...............
  6.  
  7. void myDialog::coba( QResizeEvent * event )
  8. {
  9. qDebug() << size();
  10. }
To copy to clipboard, switch view to plain text mode