Stash Software API  2.0.0
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
sApplication.applicationInfoAbs.ApplicationInfo Class Reference

[ ABSTRACT CLASS ] - Class provides application information for applications. More...

Inheritance diagram for sApplication.applicationInfoAbs.ApplicationInfo:
sMayaCore.referenceLibApp.DuplicateSelectedNodes sMayaCore.referenceLibApp.ReloadSelectedNodes sMayaCore.referenceLibApp.RemoveSelectedNodes sMayaNode.utilitiesApp.DeleteOnChannelBox sMayaNode.utilitiesApp.DeleteUnknownNodes sMayaNode.utilitiesApp.DisplayNodeType sNukeCore.exampleLibApp.DisplayPythonPath

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. More...
 

Detailed Description

[ ABSTRACT CLASS ] - Class provides application information for applications.

Constructor & Destructor Documentation

◆ __init__()

def sApplication.applicationInfoAbs.ApplicationInfo.__init__ (   self)

Constructor.

Exceptions
N/A
Returns
None - None.

Member Function Documentation

◆ __str__()

def sApplication.applicationInfoAbs.ApplicationInfo.__str__ (   self)

String representation.

Exceptions
N/A
Returns
str - String representation.

◆ package()

def sApplication.applicationInfoAbs.ApplicationInfo.package (   self)

Package class instance used by this class.

Exceptions
N/A
Returns
sStashPackage.packageLib.Package - Class instance.

◆ name()

def sApplication.applicationInfoAbs.ApplicationInfo.name (   self)

Name of the application.

Exceptions
N/A
Returns
str - Name.

◆ versionMajor()

def sApplication.applicationInfoAbs.ApplicationInfo.versionMajor (   self)

Major version of the application.

Exceptions
N/A
Returns
int - Value.

◆ versionMinor()

def sApplication.applicationInfoAbs.ApplicationInfo.versionMinor (   self)

Minor version of the application.

Exceptions
N/A
Returns
int - Value.

◆ versionFix()

def sApplication.applicationInfoAbs.ApplicationInfo.versionFix (   self)

Fix version of the application.

Exceptions
N/A
Returns
int - Value.

◆ versionStr()

def sApplication.applicationInfoAbs.ApplicationInfo.versionStr (   self)

Application version in "major.minor.fix" format.

Exceptions
N/A
Returns
str - Version.

◆ windowTitle()

def sApplication.applicationInfoAbs.ApplicationInfo.windowTitle (   self)

Window title of the application.

Exceptions
N/A
Returns
str - Title.

◆ isActive()

def sApplication.applicationInfoAbs.ApplicationInfo.isActive (   self)

Whether this application is active.

Exceptions
N/A
Returns
bool - Result.

◆ description()

def sApplication.applicationInfoAbs.ApplicationInfo.description (   self)

Description about the application.

Exceptions
N/A
Returns
str - Description.

◆ iconFileName()

def sApplication.applicationInfoAbs.ApplicationInfo.iconFileName (   self)

Icon file name used by the application.

Exceptions
N/A
Returns
str - Icon file name.

◆ usePlatformIcon()

def sApplication.applicationInfoAbs.ApplicationInfo.usePlatformIcon (   self)

Use platform icon instead of N/A icon if no icon is provided for this application.

Exceptions
N/A
Returns
bool - Result.

◆ parentApplications()

def sApplication.applicationInfoAbs.ApplicationInfo.parentApplications (   self)

Parent applications which this application can run in.

See also
sApplication.parentApplicationLib.Application
Exceptions
N/A
Returns
list of enum - Parent applications.

◆ keywords()

def sApplication.applicationInfoAbs.ApplicationInfo.keywords (   self)

Keywords to find this application.

Exceptions
N/A
Returns
list of str - Keywords.

◆ isGUI()

def sApplication.applicationInfoAbs.ApplicationInfo.isGUI (   self)

Whether this is a GUI application.

Exceptions
N/A
Returns
bool - Result.

◆ runAsPanelInNuke()

def sApplication.applicationInfoAbs.ApplicationInfo.runAsPanelInNuke (   self)

Whether to run this application as panel in Nuke if its a GUI application.

Exceptions
N/A
Returns
bool - Result.

◆ documents()

def sApplication.applicationInfoAbs.ApplicationInfo.documents (   self)

Documents of the application.

Exceptions
N/A
Returns
list of dict - Documentations, keys of dict instances are: title, url.

◆ pythonCommand()

def sApplication.applicationInfoAbs.ApplicationInfo.pythonCommand (   self)

Python command to run the application.

Exceptions
N/A
Returns
str - Python command.

◆ command()

def sApplication.applicationInfoAbs.ApplicationInfo.command (   self)

Terminal command to run the application.

Exceptions
N/A
Returns
str - Command.

◆ fullMenuPath()

def sApplication.applicationInfoAbs.ApplicationInfo.fullMenuPath (   self)

Full menu path of the application if it appears in menus in parent application.

Exceptions
N/A
Returns
str - Full menu path.

◆ menuPath()

def sApplication.applicationInfoAbs.ApplicationInfo.menuPath (   self)

Menu path of the application if it appears in menus in parent application.

Exceptions
N/A
Returns
str - Menu path.

◆ menuSeparatorBefore()

def sApplication.applicationInfoAbs.ApplicationInfo.menuSeparatorBefore (   self)

Add separator before this menu item.

Exceptions
N/A
Returns
bool - Value.

◆ menuSeparatorAfter()

def sApplication.applicationInfoAbs.ApplicationInfo.menuSeparatorAfter (   self)

Add separator after this menu item.

Exceptions
N/A
Returns
bool - Value.

◆ developers()

def sApplication.applicationInfoAbs.ApplicationInfo.developers (   self)

Developers worked on this application.

Exceptions
N/A
Returns
list of dict - Developers, keys of dict instances are username, name, email, web.

◆ asStr()

def sApplication.applicationInfoAbs.ApplicationInfo.asStr (   self)

String representation.

Exceptions
N/A
Returns
str - Information about the application in human readable form.

◆ asHTML()

def sApplication.applicationInfoAbs.ApplicationInfo.asHTML (   self)

Get HTML string representation.

This method provides information so it can be used on a GUI such as about dialog.

Exceptions
N/A
Returns
str - Information about the application in human readable form in HTML format.

◆ getParentApplicationsAsStr()

def sApplication.applicationInfoAbs.ApplicationInfo.getParentApplicationsAsStr (   self)

Get parent applications as a string separated by comma.

An empty string returns if no parent application is set.

Exceptions
N/A
Returns
str - Parent applications.

◆ getKeywordsAsStr()

def sApplication.applicationInfoAbs.ApplicationInfo.getKeywordsAsStr (   self)

Get keywords as a string separated by comma.

An empty string returns if no keyword is set.

Exceptions
N/A
Returns
str - Keywords.

◆ getDeveloperUserNamesAsStr()

def sApplication.applicationInfoAbs.ApplicationInfo.getDeveloperUserNamesAsStr (   self)

Get developer user names as a string separated by comma.

An empty string returns if no developers is set.

Exceptions
N/A
Returns
str - Developer user names.

◆ getDeveloperEmailAddressesAsStr()

def sApplication.applicationInfoAbs.ApplicationInfo.getDeveloperEmailAddressesAsStr (   self)

Get developer email addresses as a string separated by comma.

An empty string returns if no developers is set.

Exceptions
N/A
Returns
str - Developer email addresses.

◆ getIconFileAbsolutePath()

def sApplication.applicationInfoAbs.ApplicationInfo.getIconFileAbsolutePath (   self)

Get icon file absolute path used by this application.

Exceptions
N/A
Returns
str - Absolute path of the icon file.

◆ getIcon()

def sApplication.applicationInfoAbs.ApplicationInfo.getIcon (   self)

Get QIcon instance for the icon file used by this application.

Exceptions
N/A
Returns
QIcon - QIcon instance.

◆ getPixmap()

def sApplication.applicationInfoAbs.ApplicationInfo.getPixmap (   self)

Get QPixmap instance for the icon file used by this application.

Exceptions
N/A
Returns
QPixmap - QPixmap instance.

◆ list()

def sApplication.applicationInfoAbs.ApplicationInfo.list (   parentApplication = None,
  packageName = None,
  keyword = None,
  ignoreInactive = True 
)
static

List all application info classes (applications) available in the packages.

Parameters
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.
Exceptions
N/A
Returns
list of sApplication.applicationInfoAbs.ApplicationInfo - List of application info class instances.

Member Data Documentation

◆ INFO_MODULE_FILE_BASE_NAME

string sApplication.applicationInfoAbs.ApplicationInfo.INFO_MODULE_FILE_BASE_NAME = 'applicationInfoLib'
static

[ str ] - Name of the application info module (file) that contains information about each application available in the packages.


The documentation for this class was generated from the following file: