Edits the given profile.
        
        :param      parent  | <QWidget>
                    profile | <projexui.widgets.xviewwidget.XViewProfile>
        
        :return     <bool>

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