Ui package¶
UI Submodules¶
Ui Module contents¶
This package contains all the custom controls and the ui design files used to create all the dialogs adn windows used by the Python plugin
Icon Module¶
Module containing classes for using and retriving icons files
-
megascan_link_python.ui.icon.
getIcon
(name: str) → str¶ Return the path to the specified icon :param name: icon filename :type name: str :return: absolute path to the icon :rtype: str
-
megascan_link_python.ui.icon.
getIconAsQPixmap
(name: str, scale: int = None) → PySide2.QtGui.QPixmap¶ Retrive a icon image as a QPixmap
- Parameters
name (str) – the icon filename
scale (int, optional) – the desired size to apply to the icon (squared size), defaults to None
- Returns
the icon as a QPixmap
- Return type
QtGui.QPixmap