MECO™ API Reference
|
[ ABSTRACT CLASS ] - Class provides application information for applications. More...
Public Member Functions | |
def | __init__ (self) |
Constructor. More... | |
def | __str__ (self) |
String representation. More... | |
def | asStr (self) |
String representation. More... | |
def | asHTML (self) |
Get HTML string representation. More... | |
def | getParentApplicationsAsStr (self) |
Get parent applications as a string separated by comma. More... | |
def | getKeywordsAsStr (self) |
Get keywords as a string separated by comma. More... | |
def | getDeveloperUserNamesAsStr (self) |
Get developer user names as a string separated by comma. More... | |
def | getDeveloperEmailAddressesAsStr (self) |
Get developer email addresses as a string separated by comma. More... | |
def | getIconFileAbsolutePath (self) |
Get icon file absolute path used by this application. More... | |
def | getIcon (self) |
Get QIcon instance for the icon file used by this application. More... | |
def | getPixmap (self) |
Get QPixmap instance for the icon file used by this application. More... | |
PROPERTIES | |
def | package (self) |
Package class instance used by this class. More... | |
def | name (self) |
Name of the application. More... | |
def | versionMajor (self) |
Major version of the application. More... | |
def | versionMinor (self) |
Minor version of the application. More... | |
def | versionFix (self) |
Fix version of the application. More... | |
def | versionStr (self) |
Application version in "major.minor.fix" format. More... | |
def | windowTitle (self) |
Window title of the application. More... | |
def | isActive (self) |
Whether this application is active. More... | |
def | description (self) |
Description about the application. More... | |
def | iconFileName (self) |
Icon file name used by the application. More... | |
def | usePlatformIcon (self) |
Use platform icon instead of N/A icon if no icon is provided for this application. More... | |
def | parentApplications (self) |
Parent applications which this application can run in. More... | |
def | keywords (self) |
Keywords to find this application. More... | |
def | isGUI (self) |
Whether this is a GUI application. More... | |
def | runAsPanelInNuke (self) |
Whether to run this application as panel in Nuke if its a GUI application. More... | |
def | documents (self) |
Documents of the application. More... | |
def | pythonCommand (self) |
Python command to run the application. More... | |
def | command (self) |
Terminal command to run the application. More... | |
def | fullMenuPath (self) |
Full menu path of the application if it appears in menus in parent application. More... | |
def | menuPath (self) |
Menu path of the application if it appears in menus in parent application. More... | |
def | menuSeparatorBefore (self) |
Add separator before this menu item. More... | |
def | menuSeparatorAfter (self) |
Add separator after this menu item. More... | |
def | developers (self) |
Developers worked on this application. More... | |
Static Public Member Functions | |
def | list (parentApplication=None, packageName=None, keyword=None, ignoreInactive=True) |
List all application info classes (applications) available in the packages. More... | |
Static Public Attributes | |
string | INFO_MODULE_FILE_BASE_NAME = 'applicationInfoLib' |
[ str ] - Name of the application info module (file) that contains information about each application available in the packages. | |
[ ABSTRACT CLASS ] - Class provides application information for applications.
def mApplication.applicationInfoAbs.ApplicationInfo.__init__ | ( | self | ) |
Constructor.
N/A |
Reimplemented in mMayaCore.referenceLibApp.ReloadSelectedNodes, mMayaNode.utilitiesApp.DeleteOnChannelBox, mMayaCore.referenceLibApp.RemoveSelectedNodes, mMayaNode.utilitiesApp.DeleteUnknownNodes, mMayaCore.referenceLibApp.DuplicateSelectedNodes, mMayaNode.utilitiesApp.DisplayNodeType, and mNukeCore.exampleLibApp.DisplayPythonPath.
def mApplication.applicationInfoAbs.ApplicationInfo.__str__ | ( | self | ) |
String representation.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.package | ( | self | ) |
Package class instance used by this class.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.name | ( | self | ) |
Name of the application.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.versionMajor | ( | self | ) |
Major version of the application.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.versionMinor | ( | self | ) |
Minor version of the application.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.versionFix | ( | self | ) |
Fix version of the application.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.versionStr | ( | self | ) |
Application version in "major.minor.fix" format.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.windowTitle | ( | self | ) |
Window title of the application.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.isActive | ( | self | ) |
Whether this application is active.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.description | ( | self | ) |
Description about the application.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.iconFileName | ( | self | ) |
Icon file name used by the application.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.usePlatformIcon | ( | self | ) |
Use platform icon instead of N/A icon if no icon is provided for this application.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.parentApplications | ( | self | ) |
Parent applications which this application can run in.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.keywords | ( | self | ) |
Keywords to find this application.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.isGUI | ( | self | ) |
Whether this is a GUI application.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.runAsPanelInNuke | ( | self | ) |
Whether to run this application as panel in Nuke if its a GUI application.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.documents | ( | self | ) |
Documents of the application.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.pythonCommand | ( | self | ) |
Python command to run the application.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.command | ( | self | ) |
Terminal command to run the application.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.fullMenuPath | ( | self | ) |
Full menu path of the application if it appears in menus in parent application.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.menuPath | ( | self | ) |
Menu path of the application if it appears in menus in parent application.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.menuSeparatorBefore | ( | self | ) |
Add separator before this menu item.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.menuSeparatorAfter | ( | self | ) |
Add separator after this menu item.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.developers | ( | self | ) |
Developers worked on this application.
N/A |
username
, name
, email
, web
. def mApplication.applicationInfoAbs.ApplicationInfo.asStr | ( | self | ) |
String representation.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.asHTML | ( | self | ) |
Get HTML string representation.
This method provides information so it can be used on a GUI such as about dialog.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.getParentApplicationsAsStr | ( | self | ) |
Get parent applications as a string separated by comma.
An empty string returns if no parent application is set.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.getKeywordsAsStr | ( | self | ) |
Get keywords as a string separated by comma.
An empty string returns if no keyword is set.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.getDeveloperUserNamesAsStr | ( | self | ) |
Get developer user names as a string separated by comma.
An empty string returns if no developers is set.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.getDeveloperEmailAddressesAsStr | ( | self | ) |
Get developer email addresses as a string separated by comma.
An empty string returns if no developers is set.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.getIconFileAbsolutePath | ( | self | ) |
Get icon file absolute path used by this application.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.getIcon | ( | self | ) |
Get QIcon instance for the icon file used by this application.
N/A |
def mApplication.applicationInfoAbs.ApplicationInfo.getPixmap | ( | self | ) |
Get QPixmap instance for the icon file used by this application.
N/A |
|
static |
List all application info classes (applications) available in the packages.
parentApplication | [ str | None | in ] - Parent application name, which listed applications can be run in. |
packageName | [ str | None | in ] - Name of the package, the applications will be list for. |
keyword | [ str | None | in ] - Keyword to be searched. |
ignoreInactive | [ bool | True | in ] - Ignore, therefore do not list inactive applications. |
N/A |