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

« back to all changes in this revision

Viewing changes to examples/TransferComponents.qml

  • Committer: Bileto Bot
  • Date: 2016-11-11 16:52:44 UTC
  • mfrom: (146.4.57 touch+pointer-styles)
  • Revision ID: ci-train-bot@canonical.com-20161111165244-r1asz00gkwjgslp9
* Menus: add Pointer and Touch styles to be used depending on the user
  interaction with components
  Menu items now have a new Style property that defines some common properties
  such as shared colors and sizes that change depending on the UX journey. I'm
  only defining Pointer and TouchStyles for now, but they can be easily
  overridden in case.
  Removed some deprecated properties and adapted colors and sizes to new
  style.
* Bump package version as there's a new API for various components

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
import Ubuntu.Settings.Menus 0.1
23
23
 
24
24
Item {
 
25
    id: page
25
26
    property string title: "Transfer Components"
 
27
    property bool pointerMode: false
26
28
 
27
29
    width: units.gu(42)
28
30
    height: units.gu(75)
78
80
                progress: model.progress
79
81
                iconSource: model.image
80
82
                active: model.active
 
83
                pointerMode: page.pointerMode
81
84
            }
82
85
        }
83
86
    }