hi, I put at begin of paintGL that code but print strange things.......
cout << " size.width() " << size().width() << " " << " size.height() " << size().height() << endl;
cout << " size.width() " << size().width() << " " << " size.height() " << size().height() << endl;
To copy to clipboard, switch view to plain text mode
// at start of app
size.width() 101 size.height() 31
paintGL
size.width() 101 size.height() 31
paintGL
// at start of app
size.width() 101 size.height() 31
paintGL
size.width() 101 size.height() 31
paintGL
To copy to clipboard, switch view to plain text mode
//after a rotation or traslation
size.width() 320 size.height() 340
paintGL
size.width() 447 size.height() 363
paintGL
//after a rotation or traslation
size.width() 320 size.height() 340
paintGL
size.width() 447 size.height() 363
paintGL
To copy to clipboard, switch view to plain text mode
why this change of values printed?? thanks
Bookmarks