import QtQuick 2.0
import QtQuick.Controls 1.0
Item {
MenuBar {
id: ee
Menu {
title: "File"
MenuItem { text: "Open..." }
MenuItem { text: "Close" }
}
Menu {
title: "Edit"
MenuItem { text: "Cut" }
MenuItem { text: "Copy" }
MenuItem { text: "Paste" }
}
}
}我希望能看到一个半月板作为输出,但是我什么也没有得到。请指出我错过了什么。
发布于 2013-12-23 09:22:38
你需要ApplicationWindow。见示例
https://stackoverflow.com/questions/20740209
复制相似问题