I want to have a button which when it is clicked it clear the selection for QListWidget items
I searched and people were suggesting to use
Qt Code:
  1. void QAbstractItemView::clearSelection()
To copy to clipboard, switch view to plain text mode 
any suggestion on how to use this ?
Qt Code:
  1. void MainWindow::on_Button_clear_all_clicked()
  2. {
  3. //
  4. }
To copy to clipboard, switch view to plain text mode