18#ifndef TITLEBLOCK_TEMPLATE_RENDERER_H
19#define TITLEBLOCK_TEMPLATE_RENDERER_H
42 void render(QPainter *,
int);
43 void renderDxf(QRectF &,
int, QString &,
int);
Definition diagramcontext.h:57
The TitleBlockTemplate class This class represents an title block template for an electric diagram....
Definition titleblocktemplate.h:37
The TitleBlockTemplateRenderer class.
Definition titleblocktemplaterenderer.h:28
void setTitleBlockTemplate(const TitleBlockTemplate *)
TitleBlockTemplateRenderer::setTitleBlockTemplate.
Definition titleblocktemplaterenderer.cpp:38
const TitleBlockTemplate * m_titleblock_template
Definition titleblocktemplaterenderer.h:52
bool useCache() const
TitleBlockTemplateRenderer::useCache.
Definition titleblocktemplaterenderer.cpp:163
QPicture m_rendered_template
Definition titleblocktemplaterenderer.h:54
void renderToQPicture(int)
TitleBlockTemplateRenderer::renderToQPicture Renders the titleblock to the internal QPicture.
Definition titleblocktemplaterenderer.cpp:127
void setContext(const DiagramContext &context)
TitleBlockTemplateRenderer::setContext.
Definition titleblocktemplaterenderer.cpp:50
void render(QPainter *, int)
TitleBlockTemplateRenderer::render Render the titleblock.
Definition titleblocktemplaterenderer.cpp:83
bool m_use_cache
Definition titleblocktemplaterenderer.h:53
void renderDxf(QRectF &, int, QString &, int)
TitleBlockTemplateRenderer::renderDxf.
Definition titleblocktemplaterenderer.cpp:111
void setUseCache(bool)
TitleBlockTemplateRenderer::setUseCache.
Definition titleblocktemplaterenderer.cpp:154
DiagramContext m_context
Definition titleblocktemplaterenderer.h:55
int m_last_known_titleblock_width
Definition titleblocktemplaterenderer.h:56
void invalidateRenderedTemplate()
TitleBlockTemplateRenderer::invalidateRenderedTemplate Invalidates the previous rendering of the temp...
Definition titleblocktemplaterenderer.cpp:144
int height() const
TitleBlockTemplateRenderer::height.
Definition titleblocktemplaterenderer.cpp:71
const TitleBlockTemplate * titleBlockTemplate() const
TitleBlockTemplateRenderer::titleBlockTemplate.
Definition titleblocktemplaterenderer.cpp:29
DiagramContext context() const
TitleBlockTemplateRenderer::context.
Definition titleblocktemplaterenderer.cpp:59
~TitleBlockTemplateRenderer() override
TitleBlockTemplateRenderer::~TitleBlockTemplateRenderer Destructor.
Definition titleblocktemplaterenderer.cpp:21