2 #include <score/model/ColorReference.hpp>
3 #include <score/serialization/VisitorInterface.hpp>
4 #include <score/tools/Metadata.hpp>
6 #include <ossia/detail/flat_map.hpp>
10 #include <QVariantMap>
11 #include <qnamespace.h>
13 #include <score_lib_base_export.h>
23 SCORE_SERIALIZE_FRIENDS
30 const QString& getName()
const noexcept;
31 const QString& getComment()
const noexcept;
33 const QString& getLabel()
const noexcept;
36 void setInstanceName(
const T& t) noexcept
39 m_touchedName =
false;
42 bool touchedName()
const noexcept;
43 void setName(
const QString&) noexcept;
44 void setComment(
const QString&) noexcept;
46 void setLabel(
const QString&) noexcept;
48 void NameChanged(
const QString& arg) E_SIGNAL(SCORE_LIB_BASE_EXPORT, NameChanged, arg)
49 void CommentChanged(
const QString& arg)
50 E_SIGNAL(SCORE_LIB_BASE_EXPORT, CommentChanged, arg)
52 E_SIGNAL(SCORE_LIB_BASE_EXPORT, ColorChanged, arg)
53 void LabelChanged(
const QString& arg)
54 E_SIGNAL(SCORE_LIB_BASE_EXPORT, LabelChanged, arg)
55 void metadataChanged() E_SIGNAL(SCORE_LIB_BASE_EXPORT, metadataChanged)
57 PROPERTY(QString, name READ getName WRITE setName NOTIFY NameChanged)
58 PROPERTY(QString, comment READ getComment WRITE setComment NOTIFY CommentChanged)
59 PROPERTY(
ColorRef, color READ getColor WRITE setColor NOTIFY ColorChanged)
60 PROPERTY(QString, label READ getLabel WRITE setLabel NOTIFY LabelChanged)
63 QString m_scriptingName;
Base toolkit upon which the software is built.
Definition: Application.cpp:90
A reference to a color. Used for skinning.
Definition: ColorReference.hpp:21