~ubuntu-branches/ubuntu/vivid/ubuntu-ui-extras/vivid

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/Extras/Example.qml

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2013-08-21 09:04:11 UTC
  • Revision ID: package-import@ubuntu.com-20130821090411-to8k205p7psx4e80
Tags: upstream-0.1+13.10.20130821
ImportĀ upstreamĀ versionĀ 0.1+13.10.20130821

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2013 Canonical Ltd.
 
3
 *
 
4
 * This file is part of ubuntu-ui-extras.
 
5
 *
 
6
 * ubuntu-ui-extras is free software; you can redistribute it and/or modify
 
7
 * it under the terms of the GNU General Public License as published by
 
8
 * the Free Software Foundation; version 3.
 
9
 *
 
10
 * ubuntu-ui-extras is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 * GNU General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
17
 */
 
18
 
 
19
import QtQuick 2.0
 
20
import Ubuntu.Components 0.1
 
21
import Ubuntu.Components.Extras 0.1
 
22
import "Example"
 
23
 
 
24
ListView {
 
25
    model: ExampleModel {
 
26
    }
 
27
 
 
28
    delegate: ExampleDelegate {
 
29
        text: model.text
 
30
        }
 
31
}