mgear.core.pyqt

pyQt/pySide widgets and helper functions for mGear

Functions

deleteInstances(dialog, checkinstance) Delete any instance of a given dialog
fakeTranslate(*args) Fake Translation
get_icon(icon[, size]) get svg icon from icon resources folder as a pixel map
get_icon_path([icon_name]) Gets the directory path to the icon
get_instance(parent, gui_class) Get instace of a window from a given parent
get_main_window([widget]) Get the active window
maya_main_window() Get Maya’s main window
position_window(window) set the position for the windonw
qt_import([shi, cui]) import pyside/pyQt
showDialog(dialog[, dInst, dockable]) Show the defined dialog window
ui2py([filePath]) Convert qtDesigner .ui files to .py