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?