retargetBlendshape.ui module

class retargetBlendshape.ui.CheckBoxWidget(parent, label, toolTip)

Bases: PySide.QtGui.QWidget

isChecked()
staticMetaObject = <PySide.QtCore.QMetaObject object>
class retargetBlendshape.ui.RetargetBlendshapeWidget(parent)

Bases: PySide.QtGui.QWidget

retarget()

Read the values from the UI and call the command line convert function to retarget the blendshapes. Once the blendshapes are converted the new geometry will be selected.

staticMetaObject = <PySide.QtCore.QMetaObject object>
validate()

Validate the current selection, if the selection is valid the retarget button will be enabled. If not the button will stay disabled.

class retargetBlendshape.ui.SelectionWidget(parent, label, selectionMode='single')

Bases: PySide.QtGui.QWidget

selection
setSelection()

Update the UI with the current selection, a signal is emit so the parent widget can validate the current selection.

signal = <PySide.QtCore.Signal object>
staticMetaObject = <PySide.QtCore.QMetaObject object>
class retargetBlendshape.ui.SpinBoxWidget(parent, widget, label, toolTip, value, minimum, maximum, step)

Bases: PySide.QtGui.QWidget

staticMetaObject = <PySide.QtCore.QMetaObject object>
value()
retargetBlendshape.ui.divider(parent)

Create divider ui widget.

Parameters:parent (QWidget) –
Return type:QFrame
retargetBlendshape.ui.getIconPath(name)

Get an icon path based on file name. All paths in the XBMLANGPATH variable processed to see if the provided icon can be found.

Parameters:name (str) –
Returns:Icon path
Return type:str/None
retargetBlendshape.ui.mayaWindow()

Get Maya’s main window.

Return type:QMainWindow
retargetBlendshape.ui.show()
retargetBlendshape.ui.title(parent, name)

Create title ui widget.

Parameters:
  • parent (QWidget) –
  • name (str) –
Return type:

QLabel