~ubuntu-branches/ubuntu/natty/unity-2d/natty-updates

« back to all changes in this revision

Viewing changes to places/Renderer.qml

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall
  • Date: 2011-01-14 17:42:08 UTC
  • Revision ID: james.westby@ubuntu.com-20110114174208-ww045t7shnu3a5zv
Tags: upstream-0.1
ImportĀ upstreamĀ versionĀ 0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import Qt 4.7
 
2
 
 
3
/* A renderer is used to display a group of a place, that is a set of items from
 
4
   a place that share the same group id. Concretely speaking, it will be a section
 
5
   of search results, for example, "Available Applications".
 
6
 
 
7
   The renderer to be used for a given group is chosen by the place backend
 
8
   itself. A typical renderer is the UnityDefaultRender that lays out the items
 
9
   in a grid of icons with the item's title underneath it.
 
10
*/
 
11
Item {
 
12
    property string displayName /* Name of the group typically displayed in the header */
 
13
    property string iconHint /* Icon id of the group */
 
14
    property variant model /* List model containing the items to be displayed by the renderer */
 
15
    property variant placeEntryModel /* Reference to the place entry the group belongs to */
 
16
    property variant parentListView /* Reference to the ListView the renderer is nested into */
 
17
}