Hi, it happened a strange thing: I need to retrieve myWidget1 width and to uncover this I put code below inside mainForm constructor and MyWidget:aintGL()
Qt Code:
  1. cout << width() << endl; //in paintGL() print 101
  2. cout << myWidget1->width() << endl; //in costructor of MainForm print 466 (truth)
To copy to clipboard, switch view to plain text mode 
I must obtain with from MainForm but I retieve 101 and it is wrong; why This? Thanks..