Important: Please read the Qt Code of Conduct -

[Closed] QTreeView setCurrentIndex() signal ?

  • For a treeView if i use setCurrentIndex() it selects/highlights a particular item based on the index. So is there any way that whenever I am using setCurrentIndex() it should emit a clicked() without creating my own custom class that subclasses QTreeView.

  • No :)

Log in to reply