From 9a50c13ad99d40115bb023aa1a89a9f0c1a352bb Mon Sep 17 00:00:00 2001 From: No'am Rosenthal Date: Thu, 26 Nov 2009 15:26:27 -0800 Subject: removed fringe features --- examples/mediaplayer/mediaplayer.scxml | 240 --------------------------------- 1 file changed, 240 deletions(-) delete mode 100644 examples/mediaplayer/mediaplayer.scxml (limited to 'examples/mediaplayer/mediaplayer.scxml') diff --git a/examples/mediaplayer/mediaplayer.scxml b/examples/mediaplayer/mediaplayer.scxml deleted file mode 100644 index 323d9c9..0000000 --- a/examples/mediaplayer/mediaplayer.scxml +++ /dev/null @@ -1,240 +0,0 @@ - - - - - [[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]] - - - - - - - - -- cgit v1.2.3