code: def handleProgressBarSingal(self, i):
      self.pb.setValue(i)
  
      # calculate time left of auto labeling
      avg_time = (
          time.time() - self.time_start
      ) / i  # Use average time to prevent time fluctuations
      time_left = str(
          datetime.timedelta(seconds=avg_time * (self.lender - i))
      ).split(".")[
          0
      ]  # Remove microseconds
      self.setWindowTitle(
          "PPOCRLabel  --  " + f"Time Left: {time_left}"
      )
  
imports: import time
  import datetime
  import json
  import cv2
  import numpy
  from libs.utils import newIcon
label_desc: Use image node_id 2 for calling the AutoDialog obj's underlying member method code with example usage: obj.handleProgressBarSingal(i) without return types