Creates a new editor for the given index parented to the inputed widget.
        
        :param      parent | <QtGui.QWidget>
                    option | <QtGui.QStyleOption>
                    index  | <QtGui.QModelIndex>
        
        :return     <QWidget> || None

def createEditor(self, parent, option, index):
        """
        Creates a new editor for the given index parented to the inputed widget.
        
        :param      parent | <QtGui.QWidget>
                    option | <QtGui.QStyleOption>
                    index  | <QtGui.QModelIndex>
        
        :return     <QWidget> || None
        """
        if index.column() != 1:
            return None
        
        editor = QtGui.QComboBox(parent)
        
        # load the levels
        items = sorted(XLoggerWidget.LoggingMap.items())
        for i, (level, data) in enumerate(items):
            editor.addItem(projex.text.pretty(data[0]))
            editor.setItemData(i, wrapVariant(level))
        
        return editor