forked from qt-creator/qt-creator
Squish: Added helper functions for views and models
Change-Id: Ic5dc4a5fe11ec5f693ef9f5ddf3abbefd689fd99 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -89,8 +89,7 @@ def removeOldBreakpoints():
|
||||
test.log("No breakpoints found...")
|
||||
else:
|
||||
test.log("Found %d breakpoints - removing them" % model.rowCount())
|
||||
for row in range(model.rowCount()):
|
||||
currentIndex = model.index(row,0)
|
||||
for currentIndex in dumpIndices(model):
|
||||
rect = breakPointTreeView.visualRect(currentIndex)
|
||||
mouseClick(breakPointTreeView, rect.x+5, rect.y+5, 0, Qt.LeftButton)
|
||||
type(breakPointTreeView, "<Delete>")
|
||||
|
||||
Reference in New Issue
Block a user