mgear.synoptic.utils

mgear.synoptic.utils.getModel(widget)

Get the model Name

Parameters:widget (QWidget) – Synoptic widget
Returns:The rig model name
Return type:PyNode
mgear.synoptic.utils.getSynopticWidget(widget, max_iter=20)

Return the widget where the synoptic panel is attach

Parameters:
  • widget (QWidget) – The widget to get the parent
  • max_iter (int, optional) – Iteration limit to find the paretn widget
Returns:

The Parent widget

Return type:

widget

mgear.synoptic.utils.selectObj(model, object_names, mouse_button, key_modifier)

Select an object

Parameters:
  • model (PyNode) – The rig top node
  • object_names (list) – The names of the objects to select
  • mouse_button (QtSignal) – Clicked mouse button signal
  • key_modifier (QtSignal) – Modifier button signal
Returns:

None