Quote Originally Posted by mickey
Do you say this?
I meant:
Qt Code:
  1. w = this;
To copy to clipboard, switch view to plain text mode 

Edit: OK, I just noticed that you have MainForm and MyWidget. In this case you can probably use parent.