Sets whether or not to invert the check state for collapsing.
        
        :param      state | <bool>

def setInverted(self, state):
        """
        Sets whether or not to invert the check state for collapsing.
        
        :param      state | <bool>
        """
        collapsed = self.isCollapsed()
        self._inverted = state
        if self.isCollapsible():
            self.setCollapsed(collapsed)