49 virtual void draw(QPainter*)
const override;
52 virtual void layout()
override;
77 virtual void draw(QPainter*)
const;
84 QFont
font()
const {
return _font; }
85 int code()
const {
return _code; }
86 void setFont(
const QFont& f);
Pid
Definition: property.h:62
QFlags< ElementFlag > ElementFlags
Definition: element.h:101
virtual ElementType type() const
Definition: symbol.h:43
QFont font() const
Definition: symbol.h:84
Symbol & operator=(const Symbol &)=delete
virtual bool setProperty(Pid, const QVariant &) override
Definition: symbol.cpp:176
Segment * segment() const
Definition: symbol.h:83
virtual void draw(QPainter *) const override
Definition: symbol.cpp:82
Symbol constructed from a font glyph.
Definition: symbol.h:66
virtual qreal baseLine() const
Definition: symbol.h:57
SymId
Definition: sym.h:30
int code() const
Definition: symbol.h:85
Element * parent() const
Definition: element.h:192
virtual FSymbol * clone() const
Definition: symbol.h:74
QFont _font
Definition: symbol.h:67
base class for Symbol and Image
Definition: bsymbol.h:25
void setCode(int val)
Definition: symbol.h:87
void setSym(SymId s, const ScoreFont *sf=nullptr)
Definition: symbol.h:45
virtual void write(XmlWriter &xml) const override
Definition: symbol.cpp:97
virtual ElementType type() const
Definition: symbol.h:75
Definition: aeolus.cpp:26
const ScoreFont * _scoreFont
Definition: symbol.h:34
virtual QVariant getProperty(Pid) const override
Definition: symbol.cpp:161
Symbol constructed from builtin symbol.
Definition: symbol.h:31
int _code
Definition: symbol.h:68
virtual void layout() override
Definition: symbol.cpp:57
virtual void read(XmlReader &) override
Definition: symbol.cpp:111
QString symName() const
Definition: symbol.cpp:46
virtual Symbol * clone() const
Definition: symbol.h:42
ElementType
Definition: types.h:34
virtual Segment * segment() const
Definition: symbol.h:58
Symbol(Score *s, ElementFlags f=ElementFlag::MOVABLE)
Definition: symbol.cpp:29
virtual qreal baseLine() const
Definition: symbol.h:82
SymId sym() const
Definition: symbol.h:46
SymId _sym
Definition: symbol.h:33