<div dir="ltr">Hello,<div><br>I am trying to use new style signal/slot to connect </div><div>QTableView.horizontalHeader().sectionClicked signal to </div><div>QTableView.sortByColumns</div><div><br></div><div>this is the code:</div><div><br></div><div><div>self.tableView.horizontalHeader().sectionClicked.\</div><div>      connect(self.tableView.sortByColumn)</div></div><div><br></div><div>The little triangle appears in the header columns when I click, by sorting does not happen.</div><div>I did do:  self.tableView.setSortingEnabled(True) _before_.</div><div><br></div><div>1. Can I use new style connect with the versions I have?</div><div>2. If yes, how can I express the section number, the int argument, to be passed from sectionClicked to sortByColumn.</div><div><br></div><div>MM</div></div>