apango
6th April 2013, 05:32
Hi, everyone.
How to customize a edit key in QTableView?
I use a customized delegate to edit data in model. The cell editor can be triggered by a way defined by setEditTriggers ( EditTriggers ).
But I don't find a way to define custom key, such an enter or some other key. There are only 7 trigger types, but no one is what I need.
Thank you.
How to customize a edit key in QTableView?
I use a customized delegate to edit data in model. The cell editor can be triggered by a way defined by setEditTriggers ( EditTriggers ).
But I don't find a way to define custom key, such an enter or some other key. There are only 7 trigger types, but no one is what I need.
Thank you.