class_docstr: Group parameters are used mainly as a generic parent item that holds (and groups!) a set
  of child parameters.
  
  It also provides a simple mechanism for displaying a button or combo
  that can be used to add new parameters to the group. To enable this, the group
  must be initialized with the 'addText' option (the text will be displayed on
  a button which, when clicked, will cause addNew() to be called). If the 'addList'
  option is specified as well, then a dropdown-list of addable items will be displayed
  instead of a button.
class_docstr_tok: ["Group","parameters","are","used","mainly","as","a","generic","parent","item","that","holds","(","and","groups","!",")","a","set","of","child","parameters",".","It","also","provides","a","simple","mechanism","for","displaying","a","button","or","combo","that","can","be","used","to","add","new","parameters","to","the","group",".","To","enable","this",",","the","group","must","be","initialized","with","the","'addText","'","option","(","the","text","will","be","displayed","on","a","button","which",",","when","clicked",",","will","cause","addNew","(",")","to","be","called",")",".","If","the","'addList'","option","is","specified","as","well",",","then","a","dropdown-list","of","addable","items","will","be","displayed","instead","of","a","button","."]
docstr: Change the list of options available for the user to add to the group.
docstr_tok: ["Change","the","list","of","options","available","for","the","user","to","add","to","the","group","."]
code: def setAddList(self, vals):
      """Change the list of options available for the user to add to the group."""
      self.setOpts(addList=vals)
  
imports: import builtins
  from ...None import functions
  from ...None import icons
  from ...Qt import QtCore, QtGui, QtWidgets, mkQApp
  from ..Parameter import Parameter
  from ..ParameterItem import ParameterItem
label_desc: Use image node_id 2 for calling the GroupParameter obj's underlying member method code with example usage: obj.setAddList(vals) without return types