forked from qt-creator/qt-creator
Squish: Clean up single (left) mouse clicks on items or objects
Do no more use pixels as offset if we can handle this without. Clicking on items by using an (x, y) offset will likely fail if running on a machine with a different DPI setting. Change-Id: I0e5a4985104bd1d68aadf8c5534583fa1b048edb Reviewed-by: Robert Loehning <robert.loehning@qt.io>
This commit is contained in:
@@ -53,8 +53,7 @@ def startCreatorVerifyingClang(useClang):
|
||||
|
||||
def __openCodeModelOptions__():
|
||||
invokeMenuItem("Tools", "Options...")
|
||||
waitForObjectItem(":Options_QListView", "C++")
|
||||
clickItem(":Options_QListView", "C++", 14, 15, 0, Qt.LeftButton)
|
||||
mouseClick(waitForObjectItem(":Options_QListView", "C++"))
|
||||
clickOnTab(":Options.qt_tabwidget_tabbar_QTabBar", "Code Model")
|
||||
|
||||
def getCodeModelString(useClang):
|
||||
|
||||
Reference in New Issue
Block a user