title: QML: ListView and toolbar with "Back" button
body: <p>I'm trying to figure this out a while and I'm stuck. So there I have some simple ListView with expanding delegates and a toolbar with "back" button above it. This what I want is to be able to redirect onClick action from button to currently expanded element (mainly to collapse it).</p>
  
  <p>I'll post some code after I'll clean it, but for now this has to be it (not working example):</p>
  
  <pre><code>Rectangle {
      id: main
      Toolbar {
          id: myTolbar
          Button{ id: backButton }
      }
      ListModel {
          id: myDelegate
          ListElement { option: "OptionA" }
          /// .... etc.
      }
  
      ListView {
          id: myList
          model: dataModel
          delegate: myDelegate
      }
      Component {
          id: myDelegate
          Text{ text: option }
          states: State{
              name: 'details'
              PropertyChanges { } //some property magic
          }
  
          MouseArea {
              onClick: state='details'
              //!!!! here I need some help - how to "tell" backButton 
              //to change state of currently shown item back to default state ('')
          }
      }
  }
  </code></pre>