@@ -232,12 +232,26 @@ def create_property(self, name, value, items=None, range=None,
232232 """
233233 Creates a custom property to the node.
234234
235+ Widget Types:
236+ - :attr:`NodeGraphQt.constants.NODE_PROP`
237+ - :attr:`NodeGraphQt.constants.NODE_PROP_QLABEL`
238+ - :attr:`NodeGraphQt.constants.NODE_PROP_QLINEEDIT`
239+ - :attr:`NodeGraphQt.constants.NODE_PROP_QTEXTEDIT`
240+ - :attr:`NodeGraphQt.constants.NODE_PROP_QCOMBO`
241+ - :attr:`NodeGraphQt.constants.NODE_PROP_QCHECKBOX`
242+ - :attr:`NodeGraphQt.constants.NODE_PROP_QSPINBOX`
243+ - :attr:`NodeGraphQt.constants.NODE_PROP_COLORPICKER`
244+ - :attr:`NodeGraphQt.constants.NODE_PROP_SLIDER`
245+
246+ See Also:
247+ :class:`NodeGraphQt.PropertiesBinWidget`
248+
235249 Args:
236250 name (str): name of the property.
237251 value (object): data.
238252 items (list[str]): items used by widget type ``NODE_PROP_QCOMBO``
239253 range (tuple)): ``(min, max)`` values used by ``NODE_PROP_SLIDER``
240- widget_type (int): widget flag to display in the properties bin.
254+ widget_type (int): widget flag to display in the ``PropertiesBinWidget``
241255 tab (str): name of the widget tab to display in the properties bin.
242256 """
243257 self .model .add_property (name , value , items , range , widget_type , tab )
@@ -441,8 +455,13 @@ def icon(self):
441455
442456 def add_combo_menu (self , name = '' , label = '' , items = None , tab = None ):
443457 """
444- Create a custom property and embed a
445- :class:`PySide2.QtWidgets.QComboBox` widget into the node.
458+ Creates a custom property with the :meth:`NodeObject.create_property`
459+ function and embeds a :class:`PySide2.QtWidgets.QComboBox` widget
460+ into the node.
461+
462+ Note:
463+ The embedded widget is wired up to the :meth:`NodeObject.set_property`
464+ function use this function to to update the widget.
446465
447466 Args:
448467 name (str): name for the custom property.
@@ -460,8 +479,13 @@ def add_combo_menu(self, name='', label='', items=None, tab=None):
460479
461480 def add_text_input (self , name = '' , label = '' , text = '' , tab = None ):
462481 """
463- Create a custom property and embed a
464- :class:`PySide2.QtWidgets.QLineEdit` widget into the node.
482+ Creates a custom property with the :meth:`NodeObject.create_property`
483+ function and embeds a :class:`PySide2.QtWidgets.QLineEdit` widget
484+ into the node.
485+
486+ Note:
487+ The embedded widget is wired up to the :meth:`NodeObject.set_property`
488+ function use this function to to update the widget.
465489
466490 Args:
467491 name (str): name for the custom property.
@@ -477,8 +501,13 @@ def add_text_input(self, name='', label='', text='', tab=None):
477501
478502 def add_checkbox (self , name = '' , label = '' , text = '' , state = False , tab = None ):
479503 """
480- Create a custom property and embed a
481- :class:`PySide2.QtWidgets.QCheckBox` widget into the node.
504+ Creates a custom property with the :meth:`NodeObject.create_property`
505+ function and embeds a :class:`PySide2.QtWidgets.QCheckBox` widget
506+ into the node.
507+
508+ Note:
509+ The embedded widget is wired up to the :meth:`NodeObject.set_property`
510+ function use this function to to update the widget.
482511
483512 Args:
484513 name (str): name for the custom property.
0 commit comments