I want to modify listview's item.

so I add code this:

Qt Code:
  1. setEditTriggers(QAbstractItemView::DoubleClicked | QAbstractItemView::SelectedClicked);
To copy to clipboard, switch view to plain text mode 

but anythings are not changed.
I double-click listview's item, but i can't edit item..

I show some example about editing tablewidget's item.

Can I edit only listWIDGET or tableWIDGET, NOT listVIEW, tableVIEW??

than why listview has <setEditTriggers>function??
I can't understand.....

PLEASE HELP ME!