I have a QlistView
inside is which a checkboxes (created dynamically) with item name (QstandardItem
). And below Qlistview
is a checkbox named DatacheckercheckBox1
. What I want is when this DatacheckercheckBox1
checkbox statechanges to "Checked", all the checkboxes inside the QlistView
should be checked. I have made a signal for DatacheckercheckBox1
checkbox by
self.dlg.DatacheckercheckBox1.stateChanged.connect(self.selectAll)
i dont have idea in writing a method that should iterate all the items inside Qlistview
and make the checkboxes next to it "Checked" if its not checked already.