code: def __init__(
      self,
      centerOnParent=True,
      disableParentWhenSpinning=True,
      *args,
      **kwargs,
  ):
      QWidget.__init__(self, *args, **kwargs)
      self.mCenterOnParent = centerOnParent
      self.mDisableParentWhenSpinning = disableParentWhenSpinning
      self.initialize()
  
imports: from math import ceil
  from PyQt5.QtCore import *
  from PyQt5.QtGui import *
  from PyQt5.QtWidgets import *
label_desc: Use image node_id 1 to create a new Spinner object from inherited base classes: QWidget with example: obj = Spinner(centerOnParent, disableParentWhenSpinning)