code: def createPenWidthCti(nodeName, defaultData=1.0, zeroValueText=None):
      
      # A pen line width of zero indicates a cosmetic pen. This means that the pen width is
      # always drawn one pixel wide, independent of the transformation set on the painter.
      # Note that line widths other than 1 may be slow when anti aliasing is on.
      return FloatCti(nodeName, defaultData=defaultData, specialValueText=zeroValueText,
                      minValue=0.1 if zeroValueText is None else 0.0,
                      maxValue=100, stepSize=0.1, decimals=1)
docs: Creates a FloatCti with defaults for configuring a QPen width.
  
          If specialValueZero is set, this string will be displayed when 0.0 is selected.
          If specialValueZero is None, the minValue will be 0.1