def edit( key = '', value = '', parent = None ):
        """
        Prompts the user to edit the inputed key/value pairing.
        
        :param      key     | <str>
                    value   | <str>
                    parent  | <QWidget>
        
        :return     (<bool> accepted, <str> key, <str> value)
        """
        dlg = XKeyValueDialog(parent)
        dlg.setKey(key)
        dlg.setValue(value)
        
        if ( dlg.exec_() ):
            return (True, dlg.key(), dlg.value())
        
        return (False, '', '')
def edit ( key = '' , value = '' , parent = None ) : dlg = XKeyValueDialog ( parent ) dlg . setKey ( key ) dlg . setValue ( value ) if ( dlg . exec_ ( ) ) : return ( True , dlg . key ( ) , dlg . value ( ) ) return ( False , '' , '' )
Prompts the user to edit the inputed key/value pairing.
        
        :param      key     | <str>
                    value   | <str>
                    parent  | <QWidget>
        
        :return     (<bool> accepted, <str> key, <str> value)