PDA

View Full Version : resize qtable according to frame



decipher
30th August 2012, 11:23
8156

I have a qtabe which i inserted in a frame. but when i maximize the window, the qtable inside the window doesnt resize accordingly...help..


table=new Q3Table(25000,10,ui->bframe);

ChrisW67
30th August 2012, 23:26
What is with the spate of people using Qt3/Qt3 support widgets lately?
From the Q3Table docs (emphasis mine):


This class is part of the Qt 3 support library. It is provided to keep old source code working. We strongly advise against using it in new code. See Porting to Qt 4 for more information.



The answer is the same anyway: use a layout to manage the content of the frame.