c_srikanth1984
4th August 2009, 11:32
Hi,
I have a MainWindow where i am placing 2 QToolBox objects on left and rightside of MainWindow and a QGraphicsView object as the central widget using QHBoxLayout. The Problem is that my two ToolBox Objects are fixed size i have use
setsizePolicy(QSize::Minimum,QSize::Ignore)
but i want to give my ToolBox an option of resizing. As we can resize toolbox in QtCreator.
How can I achive this property.
I have a MainWindow where i am placing 2 QToolBox objects on left and rightside of MainWindow and a QGraphicsView object as the central widget using QHBoxLayout. The Problem is that my two ToolBox Objects are fixed size i have use
setsizePolicy(QSize::Minimum,QSize::Ignore)
but i want to give my ToolBox an option of resizing. As we can resize toolbox in QtCreator.
How can I achive this property.