~osomon/ubuntu-ui-toolkit/downloadmanager

« back to all changes in this revision

Viewing changes to examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml

  • Committer: Zoltán Balogh
  • Date: 2013-05-06 13:11:21 UTC
  • mto: This revision was merged to the branch mainline in revision 483.
  • Revision ID: zoltan@bakter.hu-20130506131121-tve527q0rd66lnw3
rename demo to ubuntu-ui-toolkit-gallery and moved from the source root to the examples

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
MainView {
22
22
    id: gallery
 
23
    // objectName for functional testing purposes (autopilot-qt5)
 
24
    objectName: "mainView"
 
25
 
 
26
    // Note! applicationName needs to match the .desktop filename
 
27
    applicationName: "Gallery"
 
28
 
23
29
 
24
30
    width: units.gu(120)
25
31
    height: units.gu(75)
26
32
 
27
33
    property bool wideAspect: width >= units.gu(80)
 
34
    /*
 
35
     This property enables the application to change orientation
 
36
     when the device is rotated. The default is false.
 
37
    */
28
38
    automaticOrientation: true
29
39
 
30
40
    state: wideAspect ? "wide" : ""