ApplicationWindow 导入QtQuick.Controls Window 导入QtQuick.Window 。 区别 ApplicationWindow提供了简单的方式创建程序窗口,有属性menuBar、toolBar、Tabview等属性,可以方便快速创建一个丰富的窗口。