~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/TimeZoneMenu.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:
18
18
 
19
19
import QtQuick 2.4
20
20
import Ubuntu.Components 1.3
21
 
import Ubuntu.Components.ListItems 1.3 as ListItem
22
21
 
23
22
StandardMenu {
24
23
    id: timeZoneMenu
25
24
 
26
25
    property alias city: timeZoneMenu.text
27
 
    property string time
 
26
    property alias time: timeLabel.text
28
27
 
29
 
    component: Component {
30
 
        Label {
31
 
            id: timeLabel
32
 
            objectName: "timeLabel"
33
 
            text: time
34
 
        }
 
28
    slots: Label {
 
29
        id: timeLabel
 
30
        objectName: "timeLabel"
35
31
    }
36
32
}