|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef TITLEBLOCK_TEMPLATE_RENDERER_H
19 #define TITLEBLOCK_TEMPLATE_RENDERER_H
42 void render(QPainter *,
int);
43 void renderDxf(QRectF &,
int, QString &,
int);
void setTitleBlockTemplate(const TitleBlockTemplate *)
TitleBlockTemplateRenderer::setTitleBlockTemplate.
Definition: titleblocktemplaterenderer.cpp:36
void setContext(const DiagramContext &context)
TitleBlockTemplateRenderer::setContext.
Definition: titleblocktemplaterenderer.cpp:48
TitleBlockTemplateRenderer(QObject *=nullptr)
TitleBlockTemplateRenderer::TitleBlockTemplateRenderer Constructor.
Definition: titleblocktemplaterenderer.cpp:9
The TitleBlockTemplate class This class represents an title block template for an electric diagram....
Definition: titleblocktemplate.h:36
void render(QPainter *, int)
TitleBlockTemplateRenderer::render Render the titleblock.
Definition: titleblocktemplaterenderer.cpp:79
void renderToQPicture(int)
TitleBlockTemplateRenderer::renderToQPicture Renders the titleblock to the internal QPicture.
Definition: titleblocktemplaterenderer.cpp:123
DiagramContext context() const
TitleBlockTemplateRenderer::context.
Definition: titleblocktemplaterenderer.cpp:57
void invalidateRenderedTemplate()
TitleBlockTemplateRenderer::invalidateRenderedTemplate Invalidates the previous rendering of the temp...
Definition: titleblocktemplaterenderer.cpp:140
void renderDxf(QRectF &, int, QString &, int)
TitleBlockTemplateRenderer::renderDxf.
Definition: titleblocktemplaterenderer.cpp:107
const TitleBlockTemplate * m_titleblock_template
Definition: titleblocktemplaterenderer.h:52
int height() const
TitleBlockTemplateRenderer::height.
Definition: titleblocktemplaterenderer.cpp:68
int m_last_known_titleblock_width
Definition: titleblocktemplaterenderer.h:56
void setUseCache(bool)
TitleBlockTemplateRenderer::setUseCache.
Definition: titleblocktemplaterenderer.cpp:149
bool useCache() const
TitleBlockTemplateRenderer::useCache.
Definition: titleblocktemplaterenderer.cpp:158
const TitleBlockTemplate * titleBlockTemplate() const
TitleBlockTemplateRenderer::titleBlockTemplate.
Definition: titleblocktemplaterenderer.cpp:28
The TitleBlockTemplateRenderer class.
Definition: titleblocktemplaterenderer.h:28
QPicture m_rendered_template
Definition: titleblocktemplaterenderer.h:54
Definition: diagramcontext.h:56
~TitleBlockTemplateRenderer() override
TitleBlockTemplateRenderer::~TitleBlockTemplateRenderer Destructor.
Definition: titleblocktemplaterenderer.cpp:21
bool m_use_cache
Definition: titleblocktemplaterenderer.h:53
DiagramContext m_context
Definition: titleblocktemplaterenderer.h:55