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