Ezhil
20th May 2009, 11:54
hi,
I am adding a groupbox to the scroll area dynamically whenever new connection is made i.e whenever Connection button is clicked, it will create a new connection and a groupbox will be
created with connection name and is placed on the scroll area.
My problem the scroll area can display only 10 such group boxes,when my connection exceeds 10, i am unable to view my new connection.
I wud like to know how to enable the scrollbar when my contents exceeds the scroll area widget size, to view all the item added to scroll area.
I use QT designer to design my mainwindow and groupbox is created using code(whenever connection clicked event is generated)
Note:I use verticalscrollbarPolicy as scrollBarAlwaysOn, but still it is not working.
Pls anyone help me solve this problem.
Thanks,
Ezhil
I am adding a groupbox to the scroll area dynamically whenever new connection is made i.e whenever Connection button is clicked, it will create a new connection and a groupbox will be
created with connection name and is placed on the scroll area.
My problem the scroll area can display only 10 such group boxes,when my connection exceeds 10, i am unable to view my new connection.
I wud like to know how to enable the scrollbar when my contents exceeds the scroll area widget size, to view all the item added to scroll area.
I use QT designer to design my mainwindow and groupbox is created using code(whenever connection clicked event is generated)
Note:I use verticalscrollbarPolicy as scrollBarAlwaysOn, but still it is not working.
Pls anyone help me solve this problem.
Thanks,
Ezhil