I want to added check boxes to a dialog on a button click but not sure how to get started. either a function in qml or c++ to add a check-box item to a dialog....
any ideas?
I want to added check boxes to a dialog on a button click but not sure how to get started. either a function in qml or c++ to add a check-box item to a dialog....
any ideas?
Depends a bit on what you need, but likely by using a model that has the label and the state of the checkbox and provides methods for changing the state.
Then using that model as the input for a Repeater or ListView.
Cheers,
_
Bookmarks