tags:

views:

44

answers:

1

hello i would like to know the java panel equivalent in qt..i mean which class we need to use in qt,i.e.. qframe or qwidget..i need to add many panels to my qt mainwindow

+1  A: 

QFrame, QScrollArea etc. have properties, that handles panel appearance and suitable for compopent container, and form layout behaviour.

QWidget has no frameShape(), frameShadow(), lineWidth(), but has layout and size operation methods, so it can be used as panel too, if you do not need any border, scroll, docking or other additional behaviour.

Max