18 #ifndef TITLEBLOCK_SLASH_QET_TEMPLATE_VISUAL_CELL_H 19 #define TITLEBLOCK_SLASH_QET_TEMPLATE_VISUAL_CELL_H 40 QSizeF
sizeHint(Qt::SizeHint,
const QSizeF & = QSizeF())
const override;
42 void paint(QPainter *,
const QStyleOptionGraphicsItem *, QWidget * =
nullptr)
override;
48 QSet<TitleBlockCell *>
cells()
const;
QSizeF sizeHint(Qt::SizeHint, const QSizeF &=QSizeF()) const override
void setTemplateCell(TitleBlockTemplate *, TitleBlockCell *)
TitleBlockTemplate * titleBlockTemplate() const
TitleBlockCell * cell_
Previewed cell.
QSet< TitleBlockCell * > cells() const
QRectF boundingRect() const override
void setGeometry(const QRectF &) override
TitleBlockTemplate * template_
Title block template of the previewed cell.
void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *=nullptr) override
~TitleBlockTemplateVisualCell() override
TitleBlockCell * cell() const
TitleBlockTemplateVisualCell(QGraphicsItem *parent=nullptr)