code: def __initialize_ui(self):
          
  
          self.setAttribute(Qt.WA_DeleteOnClose)
          self.setWordWrapMode(QTextOption.NoWrap)
  
          self.setAcceptDrops(True)
  
          if platform.system() == "Windows" or platform.system() == "Microsoft":
              fontFamily, fontSize = self.__default_fonts_settings["Windows"]
          elif platform.system() == "Darwin":
              fontFamily, fontSize = self.__default_fonts_settings["Darwin"]
          elif platform.system() == "Linux":
              fontFamily, fontSize = self.__default_fonts_settings["Linux"]
          font = QFont(fontFamily)
          font.setPointSize(fontSize)
          self.setFont(font)
docs: Initializes the Widget ui.