Icon manager class to handle all icons for the program.
def Modules.IconManager.IconManager.__init__ |
( |
|
self | ) |
|
def Modules.IconManager.IconManager.get_icon |
( |
|
self, |
|
|
|
icon_name |
|
) |
| |
Get specific icon.
Args:
icon_name: String representing icon file name.
Return:
Returns QtGui.QIcon of icon_name and empty icon if not found.
def Modules.IconManager.IconManager.set_icon |
( |
|
self, |
|
|
|
target, |
|
|
|
icon_name, |
|
|
|
size = (20, 20 |
|
) |
| |
Set icon (icon_name) to target.
Args:
target: QtGui element that has icon. (setIcon method)
icon_name: String representing filename of the icon.
The documentation for this class was generated from the following file:
- C:/MyTemp/ibasoft/ibasoft/Modules/IconManager.py