| 1 |
/* |
| 2 |
* Copyright 2014 Canonical Ltd. |
| 3 |
* |
| 4 |
* This program is free software; you can redistribute it and/or modify |
| 5 |
* it under the terms of the GNU Lesser General Public License as published by |
| 6 |
* the Free Software Foundation; version 3. |
| 7 |
* |
| 8 |
* This program is distributed in the hope that it will be useful, |
| 9 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 |
* GNU Lesser General Public License for more details. |
| 12 |
* |
| 13 |
* You should have received a copy of the GNU Lesser General Public License |
| 14 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 |
*/ |
| 16 |
|
| 17 |
import QtQuick 2.0 |
| 18 |
import Lomiri.Components 0.1 |
| 19 |
import Lomiri.Components.ListItems 0.1 |
| 20 |
import Lomiri.Components.Popups 0.1 |
| 21 |
|
| 22 |
MainView { |
| 23 |
width: units.gu(50) |
| 24 |
height: units.gu(100) |
| 25 |
|
| 26 |
Component.onCompleted: Theme.name = "Lomiri.Components.Themes.SuruDark" |
| 27 |
|
| 28 |
Column { |
| 29 |
width: parent.width |
| 30 |
Repeater { |
| 31 |
model: 5 |
| 32 |
Subtitled { |
| 33 |
text: "Caption text" |
| 34 |
subText: "Subtitle" |
| 35 |
} |
| 36 |
} |
| 37 |
ThinDivider {} |
| 38 |
Repeater { |
| 39 |
model: 5 |
| 40 |
Subtitled { |
| 41 |
text: "Caption text" |
| 42 |
subText: "Subtitle" |
| 43 |
} |
| 44 |
} |
| 45 |
} |
| 46 |
} |