|
yeah i dont think using a cell widget is workable with large libraries. The "right" way to fix this if not use QTableItems and instead use a proper model with caching. And then use a styled delegate that draws its buttons based on the data in the model for the current cell. And then it will have to handle mouse events and so on, its a lot of work. I think the checkmark is a reasonable compromise. One can add a tooltip to it saying press f2 to edit or whatever.
@charles: I think a styled delegate would be doable in python but given that it has to handle events and state and so on it will be a lot of work
|