score::GraphicsLayout Class Reference
Inheritance diagram for score::GraphicsLayout:
Public Member Functions | |
GraphicsLayout (QGraphicsItem *parent) | |
virtual void | layout () |
virtual void | centerContent () |
void | setBrush (score::BrushSet &b) |
void | setBackground (const QString &b) |
void | setMargin (qreal m) |
void | setPadding (qreal p) |
void | updateChildrenRects (const QList< QGraphicsItem * > &) |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
Public Member Functions inherited from score::BackgroundItem | |
BackgroundItem (QGraphicsItem *parent) | |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
void | setRect (const QRectF &r) |
const QRectF & | rect () const noexcept |
QRectF | boundingRect () const final override |
void | fitChildrenRect () |
int | type () const override |
Public Member Functions inherited from score::ResizeableItem | |
ResizeableItem (QGraphicsItem *parent) | |
void | sizeChanged (QSizeF sz) |
void | childrenSizeChanged () |
int | type () const override |
Protected Attributes | |
score::BrushSet * | m_bg {} |
QPixmap * | m_pix {} |
qreal | m_margin {} |
qreal | m_padding {} |
Additional Inherited Members | |
Public Types inherited from score::BackgroundItem | |
enum | { Type = UserType + 80003 } |
Public Types inherited from score::ResizeableItem | |
enum | { Type = UserType + 80000 } |
The documentation for this class was generated from the following files:
- GraphicsLayout.hpp
- GraphicsLayout.cpp