Java equivalent panels in qt

I would like to know the Java panel equivalent in QT. I mean, which class do we need to use in QT, i.e. qframe or qwidget . I need to add many panels to the main QT window.

+4
source share
1 answer

QFrame, QScrollArea, etc. have properties that handle the appearance of the panel and are suitable for the compopent container, as well as the behavior of the form layout.

QWidget does not have frameShape (), frameShadow (), lineWidth (), but has layout and size control methods, so it can also be used as a panel if you do not need any borders, scrolling, docking or other additional behavior.

+5
source

Source: https://habr.com/ru/post/1307120/


All Articles