commandSearch.ui.utils module¶
-
class
commandSearch.ui.utils.
Divider
(parent, group)¶ Bases:
PySide.QtGui.QWidget
Divider widget that is used in the manager menu and the commands overview.
Parameters: - parent (QWidget) –
- group (str) – Name to be used in the divider
-
staticMetaObject
= <PySide.QtCore.QMetaObject object>¶
-
commandSearch.ui.utils.
findSearchIcon
()¶ Loop over all paths in the XBMLANGPATH variable and see if custom icon can be found, if this is not the case a maya default one will be returned.
Returns: CMD search icon. Return type: QIcon
-
commandSearch.ui.utils.
getStatusLine
()¶ Get the QWidget of Maya’s status line.
Returns: QWidget of Maya’s status line Return type: QWidget
-
commandSearch.ui.utils.
mayaMenu
()¶ Find Maya’s main menu bar.
Return type: QMenuBar
-
commandSearch.ui.utils.
mayaToQT
(name)¶ Maya -> QWidget
Parameters: name (str) – Maya name of an ui object Returns: QWidget of parsed Maya name Return type: QWidget
-
commandSearch.ui.utils.
mayaWindow
()¶ Get Maya’s main window.
Return type: QMainWindow
-
commandSearch.ui.utils.
qtToMaya
(widget)¶ QWidget -> Maya name
Parameters: widget (QWidget) – QWidget of a maya ui object Returns: Maya name of parsed QWidget Return type: str