~themuso/ubuntu-ui-toolkit/add-accessibility-metadata

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/AppHeader.qml

  • Committer: Luke Yelavich
  • Date: 2014-07-28 07:04:49 UTC
  • mfrom: (992.51.43 ubuntu-ui-toolkit)
  • Revision ID: luke.yelavich@canonical.com-20140728070449-30bfzhu758caz058
Merge with trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
        property int count: tabsModel ? tabsModel.count : 0
130
130
        property int selectedIndex: tabsModel ? tabsModel.selectedIndex : -1
131
131
    }
 
132
    Item {
 
133
        // FIXME: This is a workaround to be able to get the properties of
 
134
        //  the sections in an autopilot test.
 
135
        objectName: "sectionsProperties"
 
136
        property int selectedIndex: header.config ? header.config.sections.selectedIndex : -1
 
137
    }
132
138
 
133
139
    /*!
134
140
      The flickable that controls the movement of the header.