rfm2
22.0
A python-based rewrite of RenderMan for Maya
|
Public Member Functions | |
def | __init__ |
def | ui_create |
def | ui_update |
def | editor_show |
def | editor_update |
def | create_attr |
def | delete_attrs |
Public Member Functions inherited from rfm2.ui.common.BaseWidget | |
def | __init__ |
def | ui_create |
def | ui_update |
def | setup |
def | create |
def | update |
def | conditional_visibility |
def | add_param_popup_menu |
def | create_navigation_popup |
def | update_navigation_popup |
def | __str__ |
Static Public Member Functions | |
def | refresh_available_widgets |
def | refresh_widgets_options |
Static Public Member Functions inherited from rfm2.ui.common.BaseWidget | |
def | build_navigation_popup_menu |
Public Attributes | |
jdata | |
mayaFunc | |
ui_has_builtin_connector | |
Public Attributes inherited from rfm2.ui.common.BaseWidget | |
nattr | |
label | |
ctl | |
widget | |
desc | |
param | |
uiprefix | |
ui_func | |
ui_has_builtin_connector | |
mayaFunc | |
mayaSubControl | |
Additional Inherited Members | |
Static Public Attributes inherited from rfm2.ui.common.BaseWidget | |
list | indexTwoTypes = [kk.W_POPUP, kk.W_MAPPER, kk.W_BOOLEAN, kk.W_CHECKBOX] |
Creates a sub layout in which user attributes will appear.
def rfm2.ui.user_attrs.UserAttrWidget.__init__ | ( | self | ) |
def rfm2.ui.user_attrs.UserAttrWidget.create_attr | ( | self, | |
_ | |||
) |
Read input data and calls user_attrs_add(). Args: - Passed by Maya but ignored.
def rfm2.ui.user_attrs.UserAttrWidget.delete_attrs | ( | self, | |
args | |||
) |
Get the list of selected attributes from the UI and call user_attrs_del(). Args: - args[0] (str): the textScrollList control name. - args[1] (str): the metadata attr name. Kwargs: - kwarg: keyword_argument. Returns: - return_description Raises: - error_type: error_condition
def rfm2.ui.user_attrs.UserAttrWidget.editor_show | ( | self, | |
add_state, | |||
del_state | |||
) |
Show/Hide the inline editors to add or delete user attributes. Args: - add_state (bool): visibility state of the add editor - del_state (bool): visibility state of the del editor
def rfm2.ui.user_attrs.UserAttrWidget.editor_update | ( | self, | |
suffix | |||
) |
Update one of the inline editors. Args: - suffix (str): appended to the editor to build the control name. Must be 'Add' or 'Del'
|
static |
Update the widget menu to only display type-compatible widgets. Args: - editor (str): basename for all widgets. - args[0] (str): selected type.
|
static |
Update widget options section to only enable widget-compatible fields. Also update text field placeholder text if need be. Args: - editor (str): basename for all widgets. - args[0] (str): selected widget.
def rfm2.ui.user_attrs.UserAttrWidget.ui_create | ( | self | ) |
Create the main layout infrastructure but leaves adding user attributes to ui_update().
def rfm2.ui.user_attrs.UserAttrWidget.ui_update | ( | self | ) |
rfm2.ui.user_attrs.UserAttrWidget.jdata |
rfm2.ui.user_attrs.UserAttrWidget.mayaFunc |
rfm2.ui.user_attrs.UserAttrWidget.ui_has_builtin_connector |