11 struct DocumentContext;
14 namespace Scenario::Command
26 std::unique_ptr<Macro> m_macro;
30 std::unique_ptr<Macro>& macro;
43 QString deviceToJson(QString addr);
46 void createOSCDevice(QString name, QString host,
int in,
int out);
47 W_SLOT(createOSCDevice)
49 void createQMLWebSocketDevice(QString name, QString text);
50 W_SLOT(createQMLWebSocketDevice)
52 void createQMLSerialDevice(QString name, QString port, QString text);
53 W_SLOT(createQMLSerialDevice)
55 void createAddress(QString addr, QString type);
58 QObject* createProcess(QObject* interval, QString name, QString data);
61 void setName(QObject* sel, QString new_name);
64 QObject* createBox(QObject* obj, QString startTime, QString duration,
double y);
65 W_SLOT(createBox, (QObject*, QString, QString,
double))
68 createBox(QObject* obj,
double startTimeFlicks,
double durationFlicks,
double y);
69 W_SLOT(createBox, (QObject*,
double,
double,
double))
71 QObject* createState(QObject* ev,
double y);
74 QObject* createIntervalAfter(QObject* obj, QString duration,
double y);
75 W_SLOT(createIntervalAfter)
77 QObject* createIntervalBetween(QObject* startState, QObject* endState);
78 W_SLOT(createIntervalBetween)
80 QObject* port(QObject* obj, QString name);
83 QObject* inlet(QObject* obj,
int index);
86 int inlets(QObject* obj);
89 QObject* outlet(QObject* obj,
int index);
92 int outlets(QObject* obj);
95 void setAddress(QObject* obj, QString addr);
98 void setValue(QObject* obj,
double value);
99 W_SLOT(setValue, (QObject*,
double))
101 void setValue(QObject* obj, QString value);
102 W_SLOT(setValue, (QObject*, QString))
104 void setValue(QObject* obj,
bool value);
105 W_SLOT(setValue, (QObject*,
bool))
107 void setValue(QObject* obj, QList<QString> value);
108 W_SLOT(setValue, (QObject*, QList<QString>))
110 QString valueType(QObject* obj);
113 double min(QObject* obj);
116 double max(QObject* obj);
119 QVector<QString> enumValues(QObject* obj);
122 QObject* metadata(QObject* obj)
const noexcept;
125 QObject* startState(QObject* obj);
128 QObject* startEvent(QObject* obj);
131 QObject* startSync(QObject* obj);
134 QObject* endState(QObject* obj);
137 QObject* endEvent(QObject* obj);
140 QObject* endSync(QObject* obj);
143 void remove(QObject* obj);
146 void setCurvePoints(QObject* process, QVector<QVariantList> points);
147 W_SLOT(setCurvePoints)
149 void setSteps(QObject* process, QVector<double> points);
152 QVariantList messages(QObject* state);
155 void setMessages(QObject* state, QVariantList msgs);
158 void replaceAddress(QObjectList objects, QString before, QString after);
159 W_SLOT(replaceAddress)
161 void automate(QObject* interval, QString addr);
162 W_SLOT(automate, (QObject*, QString))
164 void automate(QObject* interval, QObject* port);
165 W_SLOT(automate, (QObject*, QObject*))
179 QObject* find(QString p);
182 QObject* findByLabel(QString p);
192 void play(QObject* obj);
193 W_SLOT(
play, (QObject*))
199 QString readFile(QString path);
202 QObject* selectedObject();
203 W_SLOT(selectedObject)
205 QVariantList selectedObjects();
206 W_SLOT(selectedObjects)
209 QVariant
prompt(QVariant v);
217 W_REGISTER_ARGTYPE(QVector<QVariantList>)
218 W_REGISTER_ARGTYPE(QList<QObject*>)
Definition: EditContext.hpp:22
void play()
Execution ///.
Definition: EditContext.ossia.cpp:35
QVariant prompt(QVariant v)
UI ///.
Definition: EditContext.ui.cpp:15
Definition: CommandAPI.hpp:28
The Command class.
Definition: Command.hpp:34
Base toolkit upon which the software is built.
Definition: Application.cpp:90
Definition: DocumentContext.hpp:18