PyANGKernel.GKSimulatorExtensionDescription¶
- class GKSimulatorExtensionDescription¶
The description of an Extension
Synopsis¶
Methods¶
def
__init__()def
getName()def
getVersion()def
setName()def
setScenario()def
setVersion()
Virtual methods¶
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- __init__()¶
- createExtension()¶
- Return type:
Creates the extension.
Returns the parameters of the extension as a XML string editable using
editParametersInternal, unique name of the extension.
Name of the extension that will be presented to the user. Can be translated.
- getPreferencesDefinition()¶
- Return type:
Used by the extension to get the default values of its preferences.
Version of the extension as X.Y.Z (Major Version, Minor Version, Revision)
- setInternalName(val)¶
- Parameters:
val – str
Internal, unique name of the extension.
- setName(val)¶
- Parameters:
val – str
Name of the extension that will be presented to the user. Can be translated.
- setScenario(scenario)¶
- Parameters:
scenario –
GKScenario
sets the scenario which is being edited.
- setVersion(val)¶
- Parameters:
val – str
Version of the extension as X.Y.Z (Major Version, Minor Version, Revision)