[[listView,'styleSheet','QListView {font-size:20px}']] [[stackedWidget,"currentIndex",0]] { "parent" : listView, "windowTitle" : "Music Player", "styleSheet" : "QMenu {font-size:24px; width: 505;height:1000;}" + "QMenu::item:hover {background-color: blue;color: black;}", "children": function() { var c = [ {"type" : "action","id" : "artists", "text" : "Artists" }, {"type" : "action", "id" : "albums", "text" : "Albums" }, {"type" : "action", "id" : "genres", "text" : "Genres" }, {"type" : "action", "id" : "allsongs", "text" : "All Songs" }]; if (model.currentSongTitle != '') c[c.length] = {type: "action", id: "curplaying", text: model.currentSongTitle}; return c; }() } [ [selectButton,"enabled",false], [playingLabel,"text",model.currentSongTitle], [midLabel,"text",model.currentSongArtist], [posSlider,"minimum",0], [posSlider,"maximum",engine.totalTime], [stackedWidget,"currentIndex",1] ] [[stopButton,"enabled",false]] [[stopButton,"enabled",true]] [[playButton,"text","Pause"]] [[stopButton,"enabled",false], [playButton,"enabled",false], [prevButton,"enabled",false], [nextButton,"enabled",false]]