Does Qt Qml Have QMdiArea?

2019-08-08 08:50发布

Does Qml have QMdiArea and QMdiSubWindow? If so can you show me a little example? I have a cool idea for a program design that I would like to create.

标签: qt qml qmdiarea
1条回答
孤傲高冷的网名
2楼-- · 2019-08-08 09:00

QML does not have something like QMdiArea. But you can place your qml file in a QMdiArea widget. It's enought to set a QDeclarativeView as viewport widget of the QMdiArea or by putting the QDeclarativeView inside QMdiArea(It's just a QWidget subclass like any other).

查看更多
登录 后发表回答