Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions src/engraving/api/v1/elements.h
Original file line number Diff line number Diff line change
Expand Up @@ -2245,8 +2245,21 @@ class SpannerSegment : public EngravingItem
/// including manual offset through \ref userOff2.
/// \see EngravingItem::userOff2
Q_PROPERTY(QPointF pos2 READ pos2)
/// For line segments:
/// The manual offset of the spanner segment's end part.
API_PROPERTY_T(QPointF, userOff2, OFFSET2)
/// For slur and tie segments:
/// The manual offset applied to the first point.
API_PROPERTY_T(QPointF, slurUoff1, SLUR_UOFF1)
/// For slur and tie segments:
/// The manual offset applied to the second point.
API_PROPERTY_T(QPointF, slurUoff2, SLUR_UOFF2)
/// For slur and tie segments:
/// The manual offset applied to the third point.
API_PROPERTY_T(QPointF, slurUoff3, SLUR_UOFF3)
/// For slur and tie segments:
/// The manual offset applied to the fourth point.
API_PROPERTY_T(QPointF, slurUoff4, SLUR_UOFF4)

/// \cond MS_INTERNAL

Expand Down Expand Up @@ -2283,18 +2296,6 @@ class Spanner : public EngravingItem
/// The Anchor type for this spanner,
/// one of PluginAPI::PluginAPI::Anchor values.
API_PROPERTY_T(int, anchor, ANCHOR)
/// For slur and tie segments:
/// The manual offset applied to the first point.
API_PROPERTY_T(QPointF, slurUoff1, SLUR_UOFF1)
/// For slur and tie segments:
/// The manual offset applied to the second point.
API_PROPERTY_T(QPointF, slurUoff2, SLUR_UOFF2)
/// For slur and tie segments:
/// The manual offset applied to the third point.
API_PROPERTY_T(QPointF, slurUoff3, SLUR_UOFF3)
/// For slur and tie segments:
/// The manual offset applied to the fourth point.
API_PROPERTY_T(QPointF, slurUoff4, SLUR_UOFF4)

/// The starting element of the spanner.
Q_PROPERTY(apiv1::EngravingItem * startElement READ startElement)
Expand Down