开发者

java equivalent panels in qt

开发者 https://www.devze.com 2022-12-26 21:07 出处:网络
I would like to know the Java panel equivalent in开发者_如何学JAVA QT. I mean which class do we need to use in QT, i.e. qframe or qwidget. I need to add many panels to my QT mainwindow.QFrame, QScroll

I would like to know the Java panel equivalent in开发者_如何学JAVA QT. I mean which class do we need to use in QT, i.e. qframe or qwidget. I need to add many panels to my QT mainwindow.


QFrame, QScrollArea, etc. have properties that handle panel appearance and are suitable for component containers and form layout.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号