def METHOD_NAME(
    self, attribute_name, title, tool_tip=None, line_style_set=sc.STYLESET_DEFAULT
):
    style_chooser = sc.StyleChooser(line_style_set=line_style_set)
    self[attribute_name] = style_chooser
    self.addRow(title, self[attribute_name])
    if tool_tip is not None:
        self[attribute_name].setToolTip(tool_tip)
    def getter(self):
        return self[attribute_name].getStyle()
    def setter(self, style):
        self[attribute_name].setStyle(style)
    self.updateProperty(attribute_name, getter, setter)