QTableView and double click on a cell
问题 I am working on a test case editor. This editor contains USART a transmit and receive packet format. The editor is a table view. The transmit and receive packet is eight bytes long, for example: 0x01 0x02 0x03 ... 0x08 It is in my fifth and sixth column. Now, I want the cells in this column to be read only, but when I double-click on any cell in these columns a pop-up widget is displayed. This widget will contain eight boxes in the text edit, where the user can enter the packet format (i.e.