def edit(self, index, trigger, event):
        """
        Prompts the edit for the inputed index given a trigger and event.
        
        :param      index   | <QModelIndex>
                    trigger | <EditTrigger>
                    event   | <QEvent>
        """
        # disable right-click editing
        if trigger in (self.SelectedClicked, self.DoubleClicked) and \
           event.button() in (QtCore.Qt.RightButton, QtCore.Qt.MidButton):
            return False
        
        if not self.isColumnEditingEnabled(index.column()):
            return False
        
        item = self.itemFromIndex(index)
        if isinstance(item, XTreeWidgetItem) and \
            not item.isColumnEditingEnabled(index.column()):
            return False
        
        return super(XTreeWidget, self).edit(index, trigger, event)
Prompts the edit for the inputed index given a trigger and event.
        
        :param      index   | <QModelIndex>
                    trigger | <EditTrigger>
                    event   | <QEvent>