rfm2  22.0
A python-based rewrite of RenderMan for Maya
rfm2.ui.utils Namespace Reference

Functions

def get_help_string (param, node_type)
 
def legal_ui_name (badname)
 
def list_qt_resources ()
 

Detailed Description

Utility functions for maya UI work.

Function Documentation

◆ get_help_string()

def rfm2.ui.utils.get_help_string (   param,
  node_type 
)
Return the help string of the paramDesc object.
We append the parameter name to the description string.

Args:
    param: the NodeDescParam object.
    node_type: the node type.

Returns:
    The help string that should be used as a widget annotation.

◆ legal_ui_name()

def rfm2.ui.utils.legal_ui_name (   badname)
Takes an arbitrary string and turn it into a legal maya UI name.

◆ list_qt_resources()

def rfm2.ui.utils.list_qt_resources ( )
Print all qt resources to the scriptEditor. Useful to find out which
images Maya uses for its Qt widgets.