Creates and shows editor for stimulus (test) selected

def mouseDoubleClickEvent(self, event):
        """Creates and shows editor for stimulus (test) selected"""
        if event.button() == QtCore.Qt.LeftButton:
            index = self.indexAt(event.pos())
            if index.isValid():
                selectedStimModel = self.model().data(index, QtCore.Qt.UserRole)
                self.stimEditor = selectedStimModel.showEditor()
                self.stimEditor.show()