This don't work:
Quote Originally Posted by jacek
Then try "w = parent" if the main window is the parent of your widget.
( console says "parent" isn't the correct receiver() for my connect)
This works:
Qt Code:
  1. w= (MainForm*)this->topLevelWidget();
To copy to clipboard, switch view to plain text mode 
Thanks for help!