~timo-jyrinki/ubuntu-ui-toolkit/workaround_qt55_emit_declaration

« back to all changes in this revision

Viewing changes to src/Ubuntu/Components/1.3/PageHeader.qml

  • Committer: Tarmac
  • Author(s): Tim Peeters
  • Date: 2015-10-20 14:19:02 UTC
  • mfrom: (1690.1.6 70-implicitActions)
  • Revision ID: tarmac-20151020141902-it3lp00xfufz9woa
Add a navigationActions property to PageHeader.

Approved by Zsombor Egri, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
    }
113
113
 
114
114
    /*!
 
115
      The actions to be shown in the leading action bar.
 
116
      This property is automatically set by the
 
117
      \l AdaptivePageLayout and other navigation components to configure the
 
118
      back action for the \l Page. Setting \l leadingActionBar's actions
 
119
      directly in the app will override the default actions that
 
120
      were set by navigation components.
 
121
     */
 
122
    property list<Action> navigationActions
 
123
 
 
124
    /*!
115
125
      \qmlproperty ActionBar leadingActionBar
116
126
      The \l ActionBar for the leading navigation actions.
117
127
      Example:
138
148
        height: header.__styleInstance.contentHeight
139
149
        numberOfSlots: 1
140
150
        delegate: header.__styleInstance.defaultActionDelegate
 
151
        actions: header.navigationActions
141
152
        visible: actions.length > 0
142
153
        StyleHints {
143
154
            overflowIconName: "navigation-menu"