My idea is to define a ListModel with some Elements, like this.

Qt Code:
  1. ListModel {
  2. id: list
  3.  
  4. ListElement {
  5. name: "test"
  6. signal run
  7. }
  8.  
  9. ListElement {
  10. ...
  11. }
  12.  
  13. }
To copy to clipboard, switch view to plain text mode 

Then I want to connect the Signal run with a State and start the Signal in Javascript with (for Example)

Qt Code:
  1. emit ListView.currentItem.signal
To copy to clipboard, switch view to plain text mode 

Thank you for your help.