I have some questions regarding QML. I have a TableView and , when i click on a column header, i need to open a new window which contains all elements under that column with a button on the left of each element.
Clicking on that button should send a message back to TableView to update.
My questions are:
- How can I catch the mouse click for a column?
- Which would be best solution for the 2nd window: a tableview with 2 columns(one for the button and one for the element)? In this case I am not sure how to set the value for the 1st column...
- How can i pass messages between 2 qml windows?From the 1st window i send the model(elements under the column) and from the 2nd windows i send back one or multiple values(depending on how many buttons are checked)
Thank you