Why not simply select the rows that are to be deleted using regular selection capabilities?
Why not simply select the rows that are to be deleted using regular selection capabilities?
selectig - using "shift" key and then delete'em some way?
Yes, shift and control.
this program is not for every day usage, just like a calculator for students - to calculate some values. Whould it be good idea to propose standard "select-delete" capabilities instead of checkboxes?
I don't understand what you are asking about... A regular way to select items is to use selection... So you can safely use selection for selecting![]()
ok, it seems I subtilize to muchI will follow your sugestion to use standard selection for selecting
thank you very much for the help.
If you're using it to delete rows, why not just make a column with the QTableWidgetItem having the flag Qt::ItemIsUserCheckable?
Or if you want to delete a row at a time, connect the table's (list's) clicked() signal to a delete function? Or even have a column with a "delete" label/button/icon & only have the delete function work if the column is correct?
Vycke
Bookmarks