code: def __init__(self, datalist, comment="", parent=None):
      super().__init__(parent)
      layout = QtWidgets.QVBoxLayout()
      self.tabwidget = QtWidgets.QTabWidget()
      layout.addWidget(self.tabwidget)
      layout.setContentsMargins(0, 0, 0, 0)
      self.setLayout(layout)
      self.widgetlist = []
      for data, title, comment in datalist:
          if len(data[0]) == 3:
              widget = FormComboWidget(
                  data, comment=comment, parent=self
              )
          else:
              widget = FormWidget(
                  data, with_margin=True, comment=comment, parent=self
              )
          index = self.tabwidget.addTab(widget, title)
          self.tabwidget.setTabToolTip(index, comment)
          self.widgetlist.append(widget)
  
imports: from ast import literal_eval
  import copy
  import datetime
  import logging
  from numbers import Integral, Real
  from matplotlib import _api, colors
  from matplotlib.backends.qt_compat import _to_int, QtGui, QtWidgets, QtCore
label_desc: Use image node_id 1 to create a new FormTabWidget object from inherited base classes: QtWidgets with example: obj = FormTabWidget(datalist, comment, parent)