Sets whether or not the popup widget should animate its opacity
        when it is shown.
        
        :param      state | <bool>

def setAnimated(self, state):
        """
        Sets whether or not the popup widget should animate its opacity
        when it is shown.
        
        :param      state | <bool>
        """
        self._animated = state
        self.setAttribute(Qt.WA_TranslucentBackground, state)