#include <QGITemplate.h>
Public Types | |
enum | { Type = QGraphicsItem::UserType + 150 } |
Public Member Functions | |
void | clearContents () |
virtual void | draw ()=0 |
TechDraw::DrawTemplate * | getTemplate () |
std::vector< TemplateTextField * > | getTextFields (void) |
qreal | getY () |
QGITemplate (QGraphicsScene *) | |
void | setTemplate (TechDraw::DrawTemplate *obj) |
int | type () const |
virtual void | updateView (bool update=false) |
~QGITemplate () | |
Protected Member Functions | |
virtual QVariant | itemChange (GraphicsItemChange change, const QVariant &value) |
Protected Attributes | |
TechDraw::DrawTemplate * | pageTemplate |
std::vector< TemplateTextField * > | textFields |
Member Enumeration Documentation
◆ anonymous enum
Constructor & Destructor Documentation
◆ QGITemplate()
QGITemplate::QGITemplate | ( | QGraphicsScene * | scene | ) |
References ZVALUE::TEMPLATE.
◆ ~QGITemplate()
QGITemplate::~QGITemplate | ( | ) |
References pageTemplate.
Member Function Documentation
◆ clearContents()
void QGITemplate::clearContents | ( | ) |
◆ draw()
|
pure virtual |
Implemented in TechDrawGui::QGISVGTemplate, and TechDrawGui::QGIDrawingTemplate.
Referenced by updateView().
◆ getTemplate()
TechDraw::DrawTemplate* TechDrawGui::QGITemplate::getTemplate | ( | ) |
◆ getTextFields()
std::vector<TemplateTextField *> TechDrawGui::QGITemplate::getTextFields | ( | void | ) |
Referenced by TechDrawGui::ViewProviderTemplate::setMarkers().
◆ getY()
qreal TechDrawGui::QGITemplate::getY | ( | ) |
◆ itemChange()
|
protectedvirtual |
Reimplemented in TechDrawGui::QGISVGTemplate, and TechDrawGui::QGIDrawingTemplate.
◆ setTemplate()
void QGITemplate::setTemplate | ( | TechDraw::DrawTemplate * | obj | ) |
References pageTemplate.
Referenced by TechDrawGui::QGVPage::setPageTemplate(), and TechDrawGui::MDIViewPage::updateTemplate().
◆ type()
int TechDrawGui::QGITemplate::type | ( | ) | const |
◆ updateView()
|
virtual |
Reimplemented in TechDrawGui::QGISVGTemplate, and TechDrawGui::QGIDrawingTemplate.
References draw().
Referenced by TechDrawGui::QGVPage::setPageTemplate(), TechDrawGui::ViewProviderPage::setTemplateMarkers(), and TechDrawGui::MDIViewPage::updateTemplate().
Member Data Documentation
◆ pageTemplate
|
protected |
◆ textFields
|
protected |
Referenced by TechDrawGui::QGISVGTemplate::createClickHandles().
The documentation for this class was generated from the following files:
- src/Mod/TechDraw/Gui/QGITemplate.h
- src/Mod/TechDraw/Gui/QGITemplate.cpp