def _activate_project_at_index(self, index):
    item = self.window.listProjects.item(index)
    point = self.window.listProjects.visualItemRect(item).center()
    QtTest.QTest.mouseClick(self.window.listProjects.viewport(), QtCore.Qt.LeftButton, pos=point)
    QtWidgets.QApplication.processEvents()
    QtTest.QTest.mouseDClick(self.window.listProjects.viewport(), QtCore.Qt.LeftButton, pos=point)
    QtWidgets.QApplication.processEvents()
def _activate_project_at_index(self, index):
    item = self.window.listProjects.item(index)
    point = self.window.listProjects.visualItemRect(item).center()
    QtTest.QTest.mouseClick(self.window.listProjects.viewport(), QtCore.Qt.LeftButton, pos=point)
    QtWidgets.QApplication.processEvents()
    QtTest.QTest.mouseDClick(self.window.listProjects.viewport(), QtCore.Qt.LeftButton, pos=point)
    QtWidgets.QApplication.processEvents()