Handles the visibility operation for this dialog.
        
        :param      state | <bool>

def setVisible( self, state ):
        """
        Handles the visibility operation for this dialog.
        
        :param      state | <bool>
        """
        super(XViewProfileDialog, self).setVisible(state)
        
        if ( state ):
            self.activateWindow()
            self.uiNameTXT.setFocus()
            self.uiNameTXT.selectAll()