Script
|
returns information about the current application running the script and its environment. More...
#include <aboutinterface.h>
Public Slots | |
bool | isWindowsArch () const |
Query if current platform is Windows. | |
bool | isLinuxArch () const |
Query if current platform is Linux. | |
bool | isMacArch () const |
Query if current platform is Mac. | |
bool | isMacIntelArch () const |
Query if current platform is Mac Intel. | |
bool | isMacPpcArch () const |
Query if current platform is Mac Power PC. | |
QString | getApplicationPath () const |
Query current application folder. | |
QString | getBinaryPath () const |
Query common binary folder. | |
QString | getResourcesPath () const |
Query common resources folder. | |
QString | getFlavorString () const |
returns a string that represents the flavour of the application, e.g. Harmony, Digital, Opus. | |
QString | getVersionInfoStr () const |
returns the version info string. | |
QString | productName () const |
returns a string that is the name of application. | |
bool | isFullVersion () const |
returns true whenever this application is a Commercial/Full variant. | |
bool | isDemoVersion () const |
returns true whenever this application is a Demo variant. | |
bool | isEducVersion () const |
returns true whenever this application is an Educational variant. | |
bool | isDigitalPro () const |
always false | |
bool | isDigital () const |
always false | |
bool | isHarmony () const |
true when connected to a database or when compiled with Harmony. | |
bool | isOpus () const |
always false - opus no longer exists | |
bool | isAnimate () const |
only true when running as Animate. | |
bool | isAnimatePro () const |
only true when running as AnimatePro | |
bool | isStage () const |
only true when running as Stage. | |
bool | isWindowsArch () const |
returns true when running on Windows. | |
bool | isLinuxArch () const |
returns true when running on linux. | |
bool | isMacArch () const |
returns true when running on MacOS. | |
bool | isMacIntelArch () const |
returns true when running on an Apple OS X operating system and on a Mac Intel. | |
bool | isMacPpcArch () const |
returns true when running on an Apple OS X operating system and on a Mac PowerPC. | |
bool | isInteractiveApp () const |
returns true whenever this application is interactive. All application capable of running scripts are interactive. | |
bool | isScanApp () const |
true when this application is Scan. | |
bool | isMainApp () const |
returns true when this application is Stage, Digital Pro or Storyboard, and not a peripheral application. | |
bool | isControlCenterApp () const |
returns true whenever this application running application is ControlCenter | |
bool | isPaintMode () const |
returns true when this application is in Paint mode. | |
bool | isXsheetMode () const |
returns true when this application is in Xsheet mode. | |
QString | getApplicationPath () const |
returns the application. Identical to property "applicationPath". | |
QString | getBinaryPath () const |
returns the folder where the binaries can be found. | |
QString | getResourcesPath () const |
returns the folder where the resources can be found. | |
Properties | |
bool | windowsArch |
Current platform is Windows. | |
bool | linuxArch |
Current platform is Linux. | |
bool | macArch |
Current platform is Mac. | |
bool | macIntelArch |
Current platform is Mac Intel. | |
bool | macPpcArch |
Current platform is Mac Power PC. | |
QString | applicationPath |
Application with GUI folder (different than binFolder on Mac. Same for all other platforms ). | |
QString | binaryPath |
Common binary folder. | |
QString | resourcesPath |
Common resources folder. | |
bool | fullVersion |
bool | demoVersion |
bool | educVersion |
bool | digitalPro |
bool | digital |
bool | harmony |
bool | opus |
bool | solo |
bool | animate |
bool | animatePro |
bool | state |
bool | mainApp |
bool | interactiveApp |
bool | scanApp |
bool | controlCenterApp |
bool | paintMode |
bool | xsheetMode |
returns information about the current application running the script and its environment.
The about class allows to query platform and application specific constants.
|
slot |
Query current application folder.
|
slot |
returns the application. Identical to property "applicationPath".
|
slot |
Query common binary folder.
|
slot |
returns the folder where the binaries can be found.
|
slot |
returns a string that represents the flavour of the application, e.g. Harmony, Digital, Opus.
|
slot |
Query common resources folder.
|
slot |
returns the folder where the resources can be found.
|
slot |
returns the version info string.
|
slot |
only true when running as Animate.
|
slot |
only true when running as AnimatePro
|
slot |
returns true whenever this application running application is ControlCenter
|
slot |
returns true whenever this application is a Demo variant.
|
slot |
always false
|
slot |
always false
|
slot |
returns true whenever this application is an Educational variant.
|
slot |
returns true whenever this application is a Commercial/Full variant.
|
slot |
true when connected to a database or when compiled with Harmony.
|
slot |
returns true whenever this application is interactive. All application capable of running scripts are interactive.
|
slot |
Query if current platform is Linux.
|
slot |
returns true when running on linux.
|
slot |
Query if current platform is Mac.
|
slot |
returns true when running on MacOS.
|
slot |
Query if current platform is Mac Intel.
|
slot |
returns true when running on an Apple OS X operating system and on a Mac Intel.
|
slot |
Query if current platform is Mac Power PC.
|
slot |
returns true when running on an Apple OS X operating system and on a Mac PowerPC.
|
slot |
returns true when this application is Stage, Digital Pro or Storyboard, and not a peripheral application.
|
slot |
always false - opus no longer exists
|
slot |
returns true when this application is in Paint mode.
|
slot |
true when this application is Scan.
|
slot |
only true when running as Stage.
|
slot |
Query if current platform is Windows.
|
slot |
returns true when running on Windows.
|
slot |
returns true when this application is in Xsheet mode.
|
slot |
returns a string that is the name of application.
|
read |
|
read |
|
read |
Application with GUI folder (different than binFolder on Mac. Same for all other platforms ).
application with GUI folder (different than binFolder on Mac. Same for all other platforms )
|
read |
Common binary folder.
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
|
read |
Current platform is Linux.
|
read |
Current platform is Mac.
|
read |
Current platform is Mac Intel.
|
read |
Current platform is Mac Power PC.
|
read |
|
read |
|
read |
|
read |
Common resources folder.
|
read |
|
read |
|
read |
|
read |
Current platform is Windows.
|
read |