18#ifndef TITLEBLOCK_SLASH_QET_TEMPLATE_VISUAL_CELL_H
19#define TITLEBLOCK_SLASH_QET_TEMPLATE_VISUAL_CELL_H
24#include "../titleblockcell.h"
41 QSizeF
sizeHint(Qt::SizeHint,
const QSizeF & = QSizeF())
const override;
43 void paint(QPainter *,
const QStyleOptionGraphicsItem *, QWidget * =
nullptr)
override;
49 QSet<TitleBlockCell *>
cells()
const;
Definition titleblockcell.h:26
The TitleBlockTemplate class This class represents an title block template for an electric diagram....
Definition titleblocktemplate.h:37
Definition templatevisualcell.h:30
~TitleBlockTemplateVisualCell() override
Definition templatevisualcell.cpp:41
QRectF boundingRect() const override
Definition templatevisualcell.cpp:70
void setGeometry(const QRectF &) override
Definition templatevisualcell.cpp:50
TitleBlockTemplate * titleBlockTemplate() const
Definition templatevisualcell.cpp:120
TitleBlockTemplateVisualCell(const TitleBlockTemplateVisualCell &)
void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *=nullptr) override
Definition templatevisualcell.cpp:81
TitleBlockCell * cell() const
Definition templatevisualcell.cpp:128
QSizeF sizeHint(Qt::SizeHint, const QSizeF &=QSizeF()) const override
Definition templatevisualcell.cpp:61
QSet< TitleBlockCell * > cells() const
Definition templatevisualcell.cpp:137
void setTemplateCell(TitleBlockTemplate *, TitleBlockCell *)
Definition templatevisualcell.cpp:110
TitleBlockCell * cell_
Previewed cell.
Definition templatevisualcell.h:54
TitleBlockTemplate * template_
Title block template of the previewed cell.
Definition templatevisualcell.h:53