code: def setEnabled(self, state):
          
          super(XToolButton, self).setEnabled(state)
          
          self.updateUi()
docs: Updates the drop shadow effect for this widget on enable/disable
          state change.
          
          :param      state | <bool>