|
|
const score::DocumentContext * | ctx () |
| | Global ////.
|
| |
|
QJSValue | controls () const noexcept |
| | The published objects of the current document, by name.
|
| |
|
QJSValue | triggers () const noexcept |
| |
|
QJSValue | conditions () const noexcept |
| |
|
void | setNamespaces (QJSValue ns) |
| | Set from ScriptableNames::makeNamespaces, on this object's engine.
|
| |
|
QObject * | device (QString name) |
| | Devices ///.
|
| |
| QVariant | deviceSettings (QString name) |
| |
|
QString | deviceToJson (QString addr) |
| |
|
QString | deviceToOSCQuery (QString addr) |
| |
|
void | createDevice (QString name, QString uuid, QJSValue obj) |
| |
|
void | createDevice (QString name, QString uuid, QVariant obj) |
| |
|
void | createOSCDevice (QString name, QString host, int in, int out) |
| |
|
void | connectOSCQueryDevice (QString name, QString host) |
| |
|
void | removeDevice (QString name) |
| |
| void | disconnectDevice (QString name) |
| |
|
void | reconnectDevice (QString name) |
| |
|
void | createQMLWebSocketDevice (QString name, QString text) |
| |
|
void | createQMLSerialDevice (QString name, QString port, QString text) |
| |
|
GlobalDeviceEnumerator * | enumerateDevices () |
| |
| GlobalDeviceEnumerator * | enumerateDevices (const QString &protocol) |
| |
|
GlobalDeviceEnumerator * | enumerateDevices (const QStringList &protocols) |
| |
|
DeviceListener * | listenDevice (const QString &name) |
| |
|
void | iterateDevice (const QString &name, const QJSValue &op) |
| |
|
void | setDeviceLearn (const QString &name, bool learn) |
| |
|
void | createAddress (QString addr, QString type) |
| | Processes ///.
|
| |
| void | setUnit (QString addr, QString unit) |
| |
|
QObject * | createProcess (QObject *interval, QString name, QString data) |
| |
|
int | processes (QObject *obj) |
| | Number of processes hosted by an interval or a state.
|
| |
| QObject * | process (QObject *obj, int index) |
| |
| QObject * | parentProcess (QObject *obj) |
| |
| QObject * | parentInterval (QObject *obj) |
| |
|
void | loadPreset (QObject *process, QString json) |
| |
|
QString | savePreset (QObject *process) |
| |
|
void | setName (QObject *sel, QString new_name) |
| |
|
void | setComment (QObject *sel, QString comment) |
| | Set an object's comment, as an undoable command.
|
| |
|
QObject * | createBox (QObject *obj, QString startTime, QString duration, double y) |
| |
|
QObject * | createBox (QObject *obj, double startTimeFlicks, double durationFlicks, double y) |
| |
|
QObject * | createState (QObject *ev, double y) |
| |
|
QObject * | createIntervalAfter (QObject *obj, QString duration, double y) |
| |
|
QObject * | createIntervalBetween (QObject *startState, QObject *endState) |
| |
|
void | enableTrigger (QObject *obj) |
| |
|
void | disableTrigger (QObject *obj) |
| |
|
void | enableCondition (QObject *obj) |
| |
|
void | disableCondition (QObject *obj) |
| |
| void | setExpression (QObject *obj, QString expression) |
| |
|
QString | expression (QObject *obj) |
| |
|
void | setScriptable (QObject *obj, bool scriptable) |
| | Publishes obj under score:/controls, score:/triggers or score:/conditions.
|
| |
|
QString | scriptableAddress (QObject *obj) |
| |
|
void | trigger (QObject *obj) |
| |
|
void | setIntervalDuration (QObject *object, TimeVal flicks) |
| |
|
void | setIntervalMinDuration (QObject *object, TimeVal flicks) |
| |
|
void | setIntervalMaxDuration (QObject *object, TimeVal flicks) |
| |
|
void | setIntervalMaxInfinite (QObject *object, bool) |
| |
|
void | setIntervalSpeed (QObject *object, double) |
| |
|
void | setAutoTrigger (QObject *timeSync, bool) |
| |
|
void | setProcessLoop (QObject *process, bool) |
| |
| QObject * | port (QObject *obj, QString name) |
| |
|
QObject * | inlet (QObject *obj, int index) |
| |
|
QObject * | inlet (QObject *obj, QString name) |
| | An inlet of a process by name, or null.
|
| |
|
int | inlets (QObject *obj) |
| |
|
QObject * | outlet (QObject *obj, int index) |
| |
|
QObject * | outlet (QObject *obj, QString name) |
| | An outlet of a process by name, or null.
|
| |
|
int | outlets (QObject *obj) |
| |
|
QObject * | createCable (QObject *outlet, QObject *inlet) |
| |
|
QObject * | createCable (QObject *outlet, QObject *inlet, Process::CableType type) |
| |
|
QObject * | cable (QObject *port, int index) |
| | The index-th cable attached to a port. Works for inlets and outlets alike.
|
| |
|
int | cables (QObject *port) |
| | Number of cables attached to a port. Works for inlets and outlets alike.
|
| |
|
QObject * | source (QObject *cable) |
| | The outlet a cable starts from, or null if it no longer resolves.
|
| |
|
QObject * | sink (QObject *cable) |
| | The inlet a cable ends at, or null if it no longer resolves.
|
| |
|
QObject * | cable (QObject *outlet, QObject *inlet) |
| | The cable joining an outlet to an inlet, or null if there is none.
|
| |
|
void | setAddress (QObject *obj, QString addr) |
| |
| void | setPropagate (QObject *obj, bool propagate) |
| |
|
void | setValue (QObject *obj, double value) |
| |
|
void | setValue (QObject *obj, QVector2D value) |
| |
|
void | setValue (QObject *obj, QVector3D value) |
| |
|
void | setValue (QObject *obj, QVector4D value) |
| |
|
void | setValue (QObject *obj, QString value) |
| |
|
void | setValue (QObject *obj, bool value) |
| |
|
void | setValue (QObject *obj, int value) |
| |
|
void | setValue (QObject *obj, QList< QString > value) |
| |
|
void | setValue (QObject *obj, QList< qreal > value) |
| |
|
void | setValue (QObject *obj, QList< QVariant > value) |
| |
| void | editValue (QObject *obj, QVariant value) |
| |
|
void | commitEdit () |
| | Put the edit in progress on the undo stack; nothing if there is none.
|
| |
|
bool | pushExecutionValue (QObject *port, QVariant value) |
| |
|
QString | portName (QObject *port) |
| |
|
QString | valueType (QObject *obj) |
| |
|
double | min (QObject *obj) |
| |
|
double | max (QObject *obj) |
| |
|
QVector< QVariant > | enumValues (QObject *obj) |
| |
|
QObject * | metadata (QObject *obj) const noexcept |
| |
| QObject * | documentMetadata () const noexcept |
| |
| QString | documentName () const noexcept |
| |
|
void | setDocumentName (QString name) |
| | Renames the document. Not a save: it sets the name the next save uses.
|
| |
|
QObject * | startState (QObject *obj) |
| |
|
QObject * | startEvent (QObject *obj) |
| |
|
QObject * | startSync (QObject *obj) |
| |
|
QObject * | endState (QObject *obj) |
| |
|
QObject * | endEvent (QObject *obj) |
| |
|
QObject * | endSync (QObject *obj) |
| |
|
void | remove (QObject *obj) |
| |
|
void | setCurvePoints (QObject *process, QVector< QVariantList > points) |
| |
|
void | setSteps (QObject *process, QVector< double > points) |
| |
|
QVariantList | messages (QObject *state) |
| |
|
void | setMessages (QObject *state, QVariantList msgs) |
| |
|
void | replaceAddress (QObjectList objects, QString before, QString after) |
| |
| QVariantList | automate (QObject *interval, QString addr) |
| |
| QObject * | automate (QObject *interval, QObject *port) |
| |
|
void | startMacro () |
| | Undo-redo ///.
|
| |
| void | withMacro (QJSValue fn) |
| |
|
void | endMacro () |
| |
| void | registerCommandHandler (QString name, QJSValue fn) |
| |
| void | pushCommand (QString name, QJSValue undoPayload, QJSValue redoPayload) |
| |
|
void | undo () |
| |
|
void | redo () |
| |
| bool | canUndo () |
| |
|
bool | canRedo () |
| |
|
int | undoIndex () |
| | Number of commands that can still be undone (the stack's current index).
|
| |
|
int | undoCount () |
| | Total number of commands on the stack.
|
| |
|
QString | undoText () |
| | Description of the command the next undo()/redo() would apply, or "".
|
| |
|
QString | redoText () |
| |
|
void | load (QString path) |
| |
|
void | save () |
| |
|
void | saveAs (QString path) |
| |
| QVariantList | consolidate (bool collectLibraryFiles) |
| |
| QString | archive (QString zipPath, bool collectLibraryFiles) |
| |
|
QObject * | find (QString p) |
| | Document ///.
|
| |
|
QObject * | findByLabel (QString p) |
| |
|
QObjectList | references (QObject *obj) |
| | The states, ports, events and syncs holding an address anchored to obj.
|
| |
|
QObjectList | targets (QObject *obj) |
| | The objects the addresses of a state, port, event or sync are anchored to.
|
| |
|
void | rebind (QObject *obj, QString from, QString to) |
| | Points the addresses from held by the object at to
|
| |
|
QString | path (QObject *obj) |
| |
|
QObject * | findByPath (QString path) |
| |
|
QObject * | document () |
| |
|
QObject * | rootInterval () |
| |
|
QObject * | documentPlugin (QString key) |
| |
|
void | play () |
| | Execution ///.
|
| |
|
void | play (QObject *obj) |
| |
| void | playFromHere (double ms) |
| |
| void | playIntervalFromHere (QObject *interval, double ms) |
| |
|
void | pause () |
| |
|
void | resume () |
| |
|
void | stop () |
| |
|
void | stop (QObject *obj) |
| | As the stop button of an interval: the rest of the score keeps playing.
|
| |
|
void | reinitialize () |
| |
|
void | scrub (double z) |
| |
|
QObject * | transport () |
| |
|
QString | readFile (QString path) |
| | File API ///.
|
| |
|
QString | relativizeFilePath (QString path) |
| |
|
QString | locateFilePath (QString path) |
| |
|
QObject * | selectedObject () |
| | Score UI ///.
|
| |
|
QVariantList | selectedObjects () |
| |
|
void | select (QObject *obj) |
| |
|
void | select (QVariantList objs) |
| |
|
void | zoom (double zx, double zy) |
| |
|
void | scroll (double zx, double zy) |
| |
|
QVariant | prompt (QVariant v) |
| | Custom UI ///.
|
| |
|
bool | hasProcessUI (QObject *process) |
| |
|
void | showProcessUI (QObject *process, bool show) |
| |
|
bool | hasProcessScriptEditor (QObject *process) |
| |
|
void | showProcessScriptEditor (QObject *process, bool show) |
| |
|
void | setProcessScriptEditorPlacement (QObject *process, QString placement) |
| | "Window", "Side panel", "Central" or "" for the user's default
|
| |
|
void | setProcessUIPlacement (QObject *process, QString placement) |
| |
|
QVariantMap | availableProcesses () const noexcept |
| | Introspection ///.
|
| |
|
QVariant | availableProcessesAndPresets () const noexcept |
| |
|
QVariantList | libraryEntries (QString filter) const noexcept |
| |
|
QVariant | availableProtocols () const noexcept |
| |
|
QByteArray | serializeAsJson () noexcept |
| |