Qt Code:
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" } } } }To copy to clipboard, switch view to plain text mode
**I hoped to see a menubar as an output, but I got nothing. Please point out what did I miss.**
Bookmarks