<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setEditorData(self, editor, index):
 """Sets the current data for the editor. The data displayed has the same value as `index.data(Qt.EditRole)` (the translated name of the datatype). Therefor a lookup for all items of the combobox is made and the matching item is set as the currently displayed item. Signals emitted by the editor are blocked during exection of this method. Args: editor (QtGui.QComboBox):
 The current editor for the item. Should be a `QtGui.QComboBox` as defined in `createEditor`. index (QtCore.QModelIndex):
 The index of the current item. """

        editor.blockSignals(True)
        data = index.data()
        dataIndex = editor.findData(data)
        # dataIndex = editor.findData(data, role=Qt.EditRole)
        editor.setCurrentIndex(dataIndex)
        editor.blockSignals(False)