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.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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).