Rename Component Widget

artv2.tools.rigging.rig_builder.rename_widget

author:Jeremy Ernst
description:This module contains a class that presents a simple widget for setting a prefix and suffix for a component.
class RenameComponentWidget(metanode, parent_inst, parent=None)[source]

This class creates a QMainWindow that has QLineEdits for setting a prefix and suffix for a component. It is invoked from the ComponentContextMenu.

Parameters:
  • metanode – the string name of the component’s network node that is to be renamed.
  • parent_inst – the instance of the ComponentContextMenu that invoked this class.
  • parent – the instance of the RigBuilderUI that will be this widget’s parent.
../../../_images/rename_component_widget.png