Files:
This example demonstrates using the Document Gallery QML elements to navigate a music collection.
The main menu of the music browser contains links to the four sub-menus each of which displays a different type of gallery item. The DocumentGalleryType element provides the number of items in each sub-menu.
Each sub-menu contains a list of items populated using the DocumentGalleryModel element. Selecting an item from one of the the Albums, Artists, or Genres menus will display a list of songs which belong to the selected item.
Selecting a song from the music browser will display a dialog with information about a song provided by the DocumentGalleryItem element. Property values changed in this dialog are written back to the DocumentGalleryItem element and saved to the gallery.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.