64 SCORE_SERIALIZE_FRIENDS
79 virtual QString effect()
const noexcept;
82 virtual QString prettyName()
const noexcept;
83 virtual QString prettyShortName()
const noexcept = 0;
84 virtual QString category()
const noexcept = 0;
85 virtual QStringList tags()
const noexcept = 0;
90 void setParentDuration(ExpandMode mode,
const TimeVal& t)
noexcept;
92 virtual TimeVal contentDuration()
const noexcept;
94 void setDuration(
const TimeVal& other)
noexcept;
95 const TimeVal& duration()
const noexcept;
98 QPointF position()
const noexcept;
99 QSizeF size()
const noexcept;
101 void setPosition(
const QPointF& v);
102 void setSize(
const QSizeF& v);
104 void positionChanged(QPointF p) E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, positionChanged, p)
105 void sizeChanged(QSizeF p) E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, sizeChanged, p)
108 QPointF, position W_READ position W_WRITE setPosition W_NOTIFY positionChanged)
109 PROPERTY(QSizeF, size W_READ size W_WRITE setSize W_NOTIFY sizeChanged)
116 virtual Selection selectableChildren()
const noexcept;
117 virtual Selection selectedChildren()
const noexcept;
118 virtual void setSelection(
const Selection& s)
const noexcept;
120 double getSlotHeight()
const noexcept;
121 void setSlotHeight(
double)
noexcept;
129 virtual void loadPreset(
const Preset& preset);
130 virtual Preset savePreset()
const noexcept;
131 virtual std::vector<Process::Preset> builtinPresets()
const noexcept;
134 virtual void ancestorStartDateChanged();
135 virtual void ancestorTempoChanged();
137 virtual void forEachControl(
141 virtual std::optional<Process::MagneticInfo>
142 magneticPosition(
const QObject* o,
const TimeVal t)
const noexcept;
145 bool loops()
const noexcept {
return m_loops; }
146 void setLoops(
bool b);
147 void loopsChanged(
bool b) E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, loopsChanged, b)
148 PROPERTY(
bool, loops W_READ loops W_WRITE setLoops W_NOTIFY loopsChanged)
150 TimeVal startOffset()
const noexcept {
return m_startOffset; }
151 void setStartOffset(
TimeVal b);
152 void startOffsetChanged(
TimeVal b)
153 E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, startOffsetChanged, b)
156 startOffset W_READ startOffset W_WRITE setStartOffset W_NOTIFY startOffsetChanged)
158 TimeVal loopDuration()
const noexcept {
return m_loopDuration; }
159 void setLoopDuration(
TimeVal b);
160 void loopDurationChanged(
TimeVal b)
161 E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, loopDurationChanged, b)
163 TimeVal, loopDuration W_READ loopDuration W_WRITE setLoopDuration W_NOTIFY
166 virtual void setCreatingControls(
bool ok);
167 bool creatingControls()
const noexcept;
168 void creatingControlsChanged(
bool b)
169 E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, creatingControlsChanged, b)
171 bool, creatingControls W_READ creatingControls W_WRITE setCreatingControls W_NOTIFY
172 creatingControlsChanged)
176 QWidget* externalUI{};
180 void setExecuting(
bool v);
181 void startExecution() E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, startExecution)
182 void stopExecution() E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, stopExecution)
183 void resetExecution() E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, resetExecution)
185 void durationChanged(const
TimeVal& arg_1)
186 E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, durationChanged, arg_1)
187 void useParentDurationChanged(
bool arg_1)
188 E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, useParentDurationChanged, arg_1)
190 void slotHeightChanged(
double arg_1)
191 E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, slotHeightChanged, arg_1)
192 void prettyNameChanged() E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, prettyNameChanged)
194 void inletsChanged() E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, inletsChanged)
195 void outletsChanged() E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, outletsChanged)
198 E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, controlAdded, arg_1)
200 E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, controlRemoved, arg_1)
202 E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, controlOutletAdded, arg_1)
203 void controlOutletRemoved(const
Process::
Port& arg_1)
204 E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, controlOutletRemoved, arg_1)
206 void benchmark(
double arg_1) E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, benchmark, arg_1)
207 void externalUIVisible(
bool v) const
208 E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, externalUIVisible, v)
209 void scriptUIVisible(
bool v) const
210 E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, scriptUIVisible, v)
212 void flagsChanged() const
213 E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, flagsChanged)
221 virtual
void setDurationAndScale(const
TimeVal& newDuration) noexcept;
224 virtual
void setDurationAndGrow(const
TimeVal& newDuration) noexcept;
227 virtual
void setDurationAndShrink(const
TimeVal& newDuration) noexcept;
234 double m_slotHeight{};
237 QPointF m_position{};