~aaronp/software-center/tests

« back to all changes in this revision

Viewing changes to softwarecenter/ui/qml/dummydata/pkglistmodel.qml

  • Committer: Aaron Peachey
  • Date: 2011-06-20 09:50:42 UTC
  • mfrom: (1805.10.18 software-center)
  • Revision ID: alpeachey@gmail.com-20110620095042-a5s30o4vtx9l9fgr
merge from trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2011 Canonical Ltd.
 
3
 *
 
4
 * Authors:
 
5
 *  Olivier Tilloy <olivier@tilloy.net>
 
6
 *
 
7
 * This program is free software; you can redistribute it and/or modify
 
8
 * it under the terms of the GNU General Public License as published by
 
9
 * the Free Software Foundation; version 3.
 
10
 *
 
11
 * This program is distributed in the hope that it will be useful,
 
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
 * GNU General Public License for more details.
 
15
 *
 
16
 * You should have received a copy of the GNU General Public License
 
17
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
18
 */
 
19
 
 
20
import QtQuick 1.0
 
21
 
 
22
ListModel {
 
23
    ListElement {
 
24
        _appname: "Gestionnaire de Mises à Jour"
 
25
        _pkgname: "update-manager"
 
26
        _icon: "/usr/share/icons/Humanity/categories/32/applications-other.svg"
 
27
        _summary: "Voir et installer les mises à jour disponibles"
 
28
        _installed: true
 
29
        _description: "This is the GNOME apt update manager. It checks for updates and lets the user choose which to install."
 
30
        _ratings_total: 4.12
 
31
        _ratings_average: 17
 
32
        _installremoveprogress: -1
 
33
    }
 
34
    ListElement {
 
35
        _appname: "Unity 2D"
 
36
        _pkgname: "unity-2d"
 
37
        _icon: "/usr/share/icons/Humanity/categories/32/applications-other.svg"
 
38
        _summary: "Unity interface for non-accelerated graphics cards"
 
39
        _installed: true
 
40
        _description: "The Unity 2D interface installs a fully usable 2D session and provides the common configuration files and defaults. Installing this package will offer a session called Unity 2D in your login manager. Unity 2D is designed to run smoothly without any graphics acceleration."
 
41
        _ratings_total: 4.68
 
42
        _ratings_average: 25
 
43
        _installremoveprogress: -1
 
44
    }
 
45
    ListElement {
 
46
        _appname: "Neverball"
 
47
        _pkgname: "neverball"
 
48
        _icon: "file:///usr/share/app-install/icons/neverball.xpm"
 
49
        _summary: "Un jeu d'arcade 3D avec une balle"
 
50
        _installed: false
 
51
        _description: "Dans la grande tradition de Marble Madness et Super Monkey Ball, Neverball vous fait guider une boule roulant à travers des territoires dangereux. Balancez-vous sur des ponts étroits, naviguez dans des labyrinthes, roulez sur des plate-formes en mouvement et évitez des pousseurs et des glisseurs pour arriver au but. Courrez contre la montre pour collecter les pièces pour obtenir des boules supplémentaires."
 
52
        _ratings_total: 4.53
 
53
        _ratings_average: 15
 
54
        _installremoveprogress: -1
 
55
    }
 
56
 
 
57
    function setCategory(category) {
 
58
        console.log("setting category to", category)
 
59
    }
 
60
}
 
61