Author: Not specified Language: text
Description: Not specified Timestamp: 2017-01-31 15:29:40 +0000
View raw paste Reply
  1. import QtQuick 2.5
  2. import QtQuick.Controls 1.4
  3.  
  4. ApplicationWindow
  5. {
  6.   id: root
  7.   width: 640; height: 480
  8.  
  9.   menuBar: MenuBar { menus: root.menus }
  10.  
  11.   property list<Menu> menus: [ Menu { title: "Menu"; MenuItem { text: "Item1" } } ]
  12. }
  13.  
View raw paste Reply