code: def hide(self, event):
          
          if self.content.isHidden():
              self.content.show()
              self.hideBtn.setIcon(self.hideIcon)
              self.setMaximumHeight(16777215)
          else:
              self.content.hide()
              self.hideBtn.setIcon(self.showIcon)
              self.setFixedHeight(30)
docs: Toggles the visiblity of the content widget