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()
Creates and shows editor for stimulus (test) selected