QML Drag and Drop components from listview to graph
I would like to make an app on my raspberry pi (since I'm self educating myself) for multitouch LCD.
I would like to have a list of items (rectangles) and drop them from listview to the graph.
The items should be dropped onto graph with keys A,B,C,D,E,F,G accordingly. Also the items taken from the listview should be dropped as a copy so multiple items of the same type can be dropped (A,B,C,D,E,F,G).
The Items also need to be resizable and they will correspond to time. After the user have created the graph with resized items there should be a way to measure the width of all the components on the graph to be converted as time.
Also componenets need to have the opction to be removed once dropped.
Any suggestions, example code so I can start developing?
Thanks in advance!