code: def hide_find_bar(self):
      if self.height() == 30:
          animation_duration = 200
          full_toolbar_height = 30
  
          hideAnimation = QtCore.QVariantAnimation(self)
          hideAnimation.setEasingCurve(QtCore.QEasingCurve.InOutQuad)
          hideAnimation.setDuration(animation_duration)
          hideAnimation.setStartValue(full_toolbar_height)
          hideAnimation.setEndValue(0)
          hideAnimation.valueChanged.connect(
              lambda val: self.setFixedHeight(val)
          )
  
          hideAnimation.start()
  
          # stop any running findThread
          if self.findThread:
              self.findThread.stop()
  
imports: import re
  import time
  import pkg_resources
  from PyQt5 import QtCore, QtGui, QtWidgets
  from PyQt5.QtCore import Qt
label_desc: Use image node_id 5 for calling the FindToolbar obj's underlying member method code with example usage: obj.hide_find_bar() without return types