How can you edit a QTableView cell from a QTest unit test?
问题 I'm writing a unit test for a custom Validator in a QTableView using the QTestLib framework. One of the most basic test cases could be described like this: Double click the table cell in the third column and the fourth row, and append the number '5' to its content. It is not sufficient to simply change the value in the model or anything, the test case shall perform it like this: Double Click the table cell to set it into edit mode Press the [End] key. Press the [5] key. Note: This question