~josephjamesmills/ubuntutv/maps_fanart

« back to all changes in this revision

Viewing changes to shell/launcher/SimpleLauncher.qml

  • Committer: Joseph Mills
  • Date: 2012-06-29 23:56:57 UTC
  • Revision ID: josephjamesmills@gmail.com-20120629235657-0zollco6r87bqidx
added saviq and jays code. added slots for "other" SimpleLaunchers added templeate for a "holding cell" for lens meaning that there will be a "Dash" that will be plkace holders to lens. Like a Internettv page that holds youtube hulu watchseries and other lens then a music one that holds a local musioc lens a groovesharkone ect.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
                active: launcher.activeComponent == "epg"
58
58
 
59
59
                KeyNavigation.up: videoLens
 
60
                KeyNavigation.down: itv
 
61
                onClicked: launcher.itemClicked("epg")
 
62
            }
 
63
 
 
64
            SimpleLauncherItem {
 
65
                id: itv
 
66
                icon: "tvpicker"
 
67
                active: launcher.activeComponent == "../dash/ITV.qml"
 
68
 
 
69
                KeyNavigation.up: epg
60
70
                KeyNavigation.down: musicLens
61
 
                onClicked: launcher.itemClicked("epg")
 
71
                onClicked: launcher.itemClicked("../dash/ITV.qml")
62
72
            }
63
73
 
64
74
            SimpleLauncherItem {
65
75
                id: musicLens
66
76
                icon: "music-lens"
67
 
                                focus: true                
68
 
                                active: launcher.activeComponet == "musicLens"
 
77
                focus: true
 
78
                active: launcher.activeComponet == "musicLens"
69
79
 
70
 
                                KeyNavigation.up: epg
 
80
                KeyNavigation.up: itv
71
81
                KeyNavigation.down: appLens
72
82
                onClicked: launcher.itemClicked("music.lens")
73
83
 
76
86
            SimpleLauncherItem {
77
87
                id: appLens
78
88
                icon: "app-lens"
79
 
                                focus: true 
80
 
                                active: launcher.activeComponet == "applications.lens"           
 
89
                focus: true
 
90
                active: launcher.activeComponet == "applications.lens"
81
91
 
82
 
                        KeyNavigation.up: musicLens
 
92
                KeyNavigation.up: musicLens
83
93
                KeyNavigation.down: filelens
84
94
                onClicked: launcher.itemClicked("applications.lens")    
85
95
        }
115
125
                active: launcher.activeComponet == "contacts.lens"
116
126
 
117
127
                KeyNavigation.up: photolens
118
 
                KeyNavigation.down: player
 
128
                KeyNavigation.down: torrentslens
119
129
                onClicked: launcher.itemClicked("contacts.lens")
120
130
        }
121
131
 
122
132
            SimpleLauncherItem {
123
 
                id: player
 
133
                id: torrentslens
124
134
                icon: "media-player"
125
 
                active: launcher.activeComponent == "player"
 
135
                active: launcher.activeComponent == "torrents.lens"
126
136
 
127
137
                KeyNavigation.up: contactslens
128
138
                                KeyNavigation.down: youtubelens
129
 
                onClicked: launcher.itemClicked("player")
 
139
                onClicked: launcher.itemClicked("torrents.lens")
130
140
            }
131
141
 
132
142
            SimpleLauncherItem {
133
143
                id: youtubelens
134
144
                icon: "youtube"
135
 
                                active: launcher.activeComponet == "youtube.lens"           
 
145
                active: launcher.activeComponet == "youtube.lens"
136
146
 
137
 
                                KeyNavigation.up: player
138
 
                                KeyNavigation.down: videoLens
 
147
                KeyNavigation.up: torrentslens
 
148
                KeyNavigation.down: watchseries
139
149
                onClicked: launcher.itemClicked("youtube.lens")
140
150
 
141
151
                }
142
 
                }
 
152
                 SimpleLauncherItem {
 
153
                id: watchseries
 
154
                icon: "youtube"
 
155
                active: launcher.activeComponet == "watchseries.lens"
 
156
 
 
157
                KeyNavigation.up: youtubelens
 
158
                KeyNavigation.down: videoLens
 
159
                onClicked: launcher.itemClicked("watchseries.lens")
 
160
 
 
161
                }
 
162
        
 
163
        }
143
164
    }
144
165
}