|
QCAD
Open Source 2D CAD
|
Initializes and manages all add-ons. More...
Public Member Functions | |
| void | AddOn (void addOnPath) |
| void | getBaseName () |
| void | getClassName () |
| void | getDocHtmlUrl () |
| void | getDocJsFile () |
| void | getDocPath () |
| void | getFilePath () |
| void | getGroupName () |
| void | getGuiAction () |
| void | getInitFilePath () |
| void | getParentTitle () |
| void | getParentTitles () |
| void | getPath () |
| void | getPostInitFilePath () |
| void | getPreferenceFile () |
| void | getPreferenceWidget () |
| void | getTitle () |
| void | getUninitFilePath () |
| void | hasDoc () |
| void | hasGuiAction () |
| void | hasShortcuts () |
| void | init (void splash, void text) |
| Called once on startup to initialize the add-on, its preference page and its documentation if applicable. | |
| void | initAddOn (void splash, void text) |
| void | isTopLevel () |
| void | load (void initOnly) |
| Loads the add-on by including its main source file. | |
| void | postInit (void splash, void text) |
| Called once on startup to post-initialize the add-on. | |
| void | postInitAddOn (void splash, void text) |
| void | preferenceFileExists () |
| void | setPreferenceWidget (void w) |
| void | toString () |
| For debugging. | |
| void | uninit () |
Public Attributes | |
| int | fileInfo |
| int | widget |
Initializes and manages all add-ons.
Every directory in the script directory of QCAD is a add-on if it contains an ECMAScript file with the same name as the directory and the extension ".js". For example MyAddOn/MyAddOn.js.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Called once on startup to initialize the add-on, its preference page and its documentation if applicable.
|
inline |
Called once on startup.
|
inline |
|
inline |
Loads the add-on by including its main source file.
| initOnly | True: only load the add-on if no file ClassNameInit.js is present. |
|
inline |
Called once on startup to post-initialize the add-on.
|
inline |
Called once in the end after startup.
|
inline |
|
inline |
|
inline |
For debugging.
|
inline |
| int AddOn::fileInfo |
| int AddOn::widget |