MeVisLab Scripting Reference
|
Inherits QObject.
Public Slots | |
Package information script access. | |
| |
QString | packageName () const |
QString | packageGroup () const |
QString | packageIdentifier () const |
QString | packageEnvVariableName () const |
QString | description () const |
QString | owner () const |
QString | scriptsPath () const |
QString | binariesPath () const |
QString | path () const |
QString | defaultModuleGroup () const |
QString | libPath () const |
QStringList | libPaths () const |
QString | binPath () const |
QString | modulesPath () const |
QString | moduleReferencePath () const |
QString | documentationPath () const |
QString | documentationIndexPath () const |
QString | packageConfigurationPriFile () const |
QString | projectsPath () const |
bool | containsModulesOrProjects () const |
bool | isInstalledWithMeVisLab () const |
bool | showHelpOnIndexPage () const |
SaveAllowType | allowSaveOfInternalNetworks () const |
void | print () |
QString | typeString () |
QString | findSharedLibrary (const QString &name) |
QString | findExecutable (const QString &name, bool preferReleaseMode=true) |
static QString | findExecutableStatic (const QString &name, const QString path, bool preferReleaseMode) |
bool | isUnderVersionControl () |
bool | isEditableByUser () |
bool | shouldNotDependOnPackage (const QString &packageIdentifier, bool extended=false) |
int | projectsSearchDepth () const |
QStringList | findInstallerLibraryFiles () |
Stores information about a MeVisLab package.
|
inlineslot |
Returns whether the saving of internal networks should be allowed, allowed with warning, or refused.
|
inlineslot |
Returns the base path of the package (binaries/build results - this might be the same as scriptsPath).
|
slot |
Returns the bin path.
|
slot |
Returns true
if at least modulesPath() or projectsPath() exists.
|
inlineslot |
Returns the default module group for all modules in this package.
This is meant to set default visibility of modules.
|
inlineslot |
Returns a short description of the package.
|
slot |
Returns the path to the module documentation index.
|
slot |
Returns the path to the module documentation.
|
slot |
Returns the path to the executable if it exists and an empty string otherwise.
The executable name
is just the name, without debug postfix and platform ending.
|
slot |
Finds all installer library files located in Configuration/Installers/Libraries/.
The filenames are returned as absolute paths.
|
slot |
Returns the path to the shared library if it exists and an empty string otherwise.
The library name
is just the name, without debug postfix and platform ending.
|
slot |
Returns whether the package is editable by the user.
that means it is either not installed with MeVisLab or under version control (for core developers).
|
inlineslot |
Returns whether the package is installed with MeVisLab.
|
slot |
Returns whether the package is under version control.
This means that it or one of the parent directories contains an .svn or .git directory.
|
slot |
Returns the lib path.
|
slot |
Returns the libPath and possible further lib/debug or lib/release paths if they exist and the MeVisLab version is in debug or release mode.
|
slot |
Returns the path to the module reference.
|
slot |
Returns the path to the modules of the package.
|
inlineslot |
Returns the owner of the package.
|
slot |
Returns the path to the configuration .pri file.
|
slot |
Returns the package's environment variable name (which is "MLAB_"+packageGroup() + "_" + packageName() ).
|
inlineslot |
Returns the package group.
|
inlineslot |
Returns the package identifier (which is packageGroup() + "/" + packageName() ).
|
inlineslot |
Returns the package name.
|
slot |
Returns the base path of the package (deprecated, use either scriptsPath or binariesPath).
|
slot |
Prints package information.
|
slot |
Returns the projects path.
|
inlineslot |
Returns the search depths for modules below the Projects subdirectory.
|
inlineslot |
Returns the base path of the package (sources).
|
slot |
Returns true
if this package should not depend on content from the given package.
If the argument extended
is set, extended package dependencies are applied (for tests and example networks).
|
inlineslot |
Returns whether the package documentation (module reference) is visible on the documentation index page.
|
slot |
Returns a package type string. Use it for output only, not for checking the type!