Toggles the visiblity of the content widget

def hide(self, event):
        """Toggles the visiblity of the content widget"""
        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)