The ToolPresetManager JavaScript class. Provides methods to set the current tool preset. More...
Public Slots | |
void | setActivePreset (QScriptValue preset) |
QScriptValue | getPresets () |
The ToolPresetManager JavaScript class. Provides methods to set the current tool preset.
The tool preset manager returns information about the existing tool presets and provides to the user the functionality to select a tool preset with its "id" property. Presets can be defined by the following properties:
|
slot |
Get all the presets of the project.
|
slot |
Activate the given preset.
preset | A JavaScript object with the "id" property set to the desired tool preset |