|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
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;
TitleBlockTemplateVisualCell(const TitleBlockTemplateVisualCell &)
TitleBlockTemplate * titleBlockTemplate() const
Definition: templatevisualcell.cpp:110
QSizeF sizeHint(Qt::SizeHint, const QSizeF &=QSizeF()) const override
Definition: templatevisualcell.cpp:59
Definition: templatevisualcell.h:29
TitleBlockCell * cell_
Previewed cell.
Definition: templatevisualcell.h:53
The TitleBlockTemplate class This class represents an title block template for an electric diagram....
Definition: titleblocktemplate.h:36
QSet< TitleBlockCell * > cells() const
Definition: templatevisualcell.cpp:125
TitleBlockTemplate * template_
Title block template of the previewed cell.
Definition: templatevisualcell.h:52
QRectF boundingRect() const override
Definition: templatevisualcell.cpp:67
void setGeometry(const QRectF &) override
Definition: templatevisualcell.cpp:48
~TitleBlockTemplateVisualCell() override
Definition: templatevisualcell.cpp:40
TitleBlockTemplateVisualCell(QGraphicsItem *parent=nullptr)
Definition: templatevisualcell.cpp:26
void setTemplateCell(TitleBlockTemplate *, TitleBlockCell *)
Definition: templatevisualcell.cpp:102
TitleBlockCell * cell() const
Definition: templatevisualcell.cpp:117
void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *=nullptr) override
Definition: templatevisualcell.cpp:77
Definition: diagramcontext.h:56
Definition: titleblockcell.h:26