code: def __init__(self, param, depth):
      self.defaultBtn = self.makeDefaultButton()
      super().__init__(param, depth)
      self.itemWidget = QtWidgets.QWidget()
      layout = QtWidgets.QHBoxLayout()
      layout.setContentsMargins(0, 0, 0, 0)
      layout.setSpacing(2)
  
      self.penLabel = PenPreviewLabel(param)
      for child in self.penLabel, self.defaultBtn:
          layout.addWidget(child)
      self.itemWidget.setLayout(layout)
  
imports: import re
  from contextlib import ExitStack
  from .None import GroupParameterItem, WidgetParameterItem
  from .basetypes import GroupParameter, Parameter, ParameterItem
  from .qtenum import QtEnumParameter
  from ...None import functions
  from ...Qt import QtCore, QtWidgets
  from ...SignalProxy import SignalProxy
  from ...widgets.PenPreviewLabel import PenPreviewLabel
label_desc: Use image node_id 1 to create a new PenParameterItem object from inherited base classes: GroupParameterItem with example: obj = PenParameterItem(param, depth)