Spreadsheet: Add programmatic selection of cells
Implement modifying the current selection programmatically via the ViewProvider object in both C++ and Python. This enables unit testing of GUI tasks that require a selection, and improves scriptability of Spreadsheet.
This commit is contained in:
@@ -25,5 +25,12 @@
|
||||
<UserDocu>returns a list with the selected cells</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="select">
|
||||
<Documentation>
|
||||
<UserDocu>
|
||||
select(index, flags): Select the specified cell using the given QItemSelectionModel.SelectionFlag set
|
||||
select(topLeft, bottomRight, flags): Select the specified range using the given QItemSelectionModel.SelectionFlag set</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
</PythonExport>
|
||||
</GenerateModel>
|
||||
|
||||
Reference in New Issue
Block a user