~ci-train-bot/ubuntu-settings-components/ubuntu-settings-components-ubuntu-zesty-2202

« back to all changes in this revision

Viewing changes to plugins/Ubuntu/Settings/Menus/ProgressValueMenu.qml

  • Committer: Bileto Bot
  • Date: 2016-10-24 11:32:00 UTC
  • mfrom: (146.3.110 slots-layout)
  • Revision ID: ci-train-bot@canonical.com-20161024113200-85dvkl9m1o0msi5i
* Menus: rewrite components using ListItemLayout's and SlotsLayout's
* Bump revision to 0.10, as per Components removal

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright 2013 Canonical Ltd.
 
2
 * Copyright 2013-2016 Canonical Ltd.
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
5
5
 * it under the terms of the GNU Lesser General Public License as published by
15
15
 *
16
16
 * Authors:
17
17
 *      Nick Dedekind <nick.dedekind@canonical.com>
 
18
 *      Marco Trevisan <marco.trevisan@canonical.com>
18
19
 */
19
20
 
20
21
import QtQuick 2.4
23
24
StandardMenu {
24
25
    id: menuItem
25
26
 
26
 
    property int value : 0.0
 
27
    property int value : 0
27
28
 
28
 
    component: Component {
 
29
    slots: [
29
30
        Label {
30
31
            id: progress
31
32
            objectName: "progress"
34
35
            fontSize: "medium"
35
36
            color: menuItem.foregroundColor
36
37
        }
37
 
    }
 
38
    ]
38
39
}