lovehouye
8th April 2011, 07:15
Hello,
Here is a QTreeView, first & second columns are text, the third column is a push button.
6211
The requirement is: If multi-select the rows, and then click one "Download" button, all the selected items can be downloaded. And the multi-selected rows still keep selection.
Currently: The download function has been implemented. But if I click one "Download" button, the row with the button clicked is selected, other rows are not selected.
Question:
How can I keep the selection after click the "Download" button? Thanks!
Hope somebody can help me. Thanks again.
Here is a QTreeView, first & second columns are text, the third column is a push button.
6211
The requirement is: If multi-select the rows, and then click one "Download" button, all the selected items can be downloaded. And the multi-selected rows still keep selection.
Currently: The download function has been implemented. But if I click one "Download" button, the row with the button clicked is selected, other rows are not selected.
Question:
How can I keep the selection after click the "Download" button? Thanks!
Hope somebody can help me. Thanks again.