def edit(parent, profile):
        """
        Edits the given profile.
        
        :param      parent  | <QWidget>
                    profile | <projexui.widgets.xviewwidget.XViewProfile>
        
        :return     <bool>
        """
        dlg = XViewProfileDialog(parent)
        dlg.setProfile(profile)
        if ( dlg.exec_() ):
            return True
        return False
def edit ( parent , profile ) : dlg = XViewProfileDialog ( parent ) dlg . setProfile ( profile ) if ( dlg . exec_ ( ) ) : return True return False
Edits the given profile.
        
        :param      parent  | <QWidget>
                    profile | <projexui.widgets.xviewwidget.XViewProfile>
        
        :return     <bool>