40 void setAction(
const QByteArray& a,
const QIcon& i) { _action = a; _icon = i; }
47 virtual void draw(QPainter*)
const override;
48 virtual void layout()
override;
void setExtent(int v)
Definition: icon.h:43
Pid
Definition: property.h:62
IconType _iconType
Definition: icon.h:27
Icon(Score *s)
Definition: icon.h:33
virtual ElementType type() const override
Definition: icon.h:37
virtual void read(XmlReader &) override
Definition: icon.cpp:36
QVariant getProperty(Pid) const override
Definition: icon.cpp:72
Base class of score layout elements.
Definition: element.h:158
virtual Icon * clone() const override
Definition: icon.h:36
IconType
Definition: mscore.h:219
QByteArray _action
Definition: icon.h:28
IconType iconType() const
Definition: icon.h:38
const QByteArray & action() const
Definition: icon.h:41
void setIconType(IconType val)
Definition: icon.h:39
virtual void write(XmlWriter &) const override
Definition: icon.cpp:23
Definition: aeolus.cpp:26
int _extent
Definition: icon.h:30
virtual void draw(QPainter *) const override
Definition: icon.cpp:62
QIcon icon() const
Definition: icon.h:42
bool setProperty(Pid, const QVariant &) override
Definition: icon.cpp:87
QIcon _icon
Definition: icon.h:29
void setAction(const QByteArray &a, const QIcon &i)
Definition: icon.h:40
ElementType
Definition: types.h:34
int extent() const
Definition: icon.h:44
virtual ~Icon()
Definition: icon.h:34
virtual void layout() override
Definition: icon.cpp:53