#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 (QGSPage *) | |
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 |
QGITemplate::QGITemplate | ( | QGSPage * | scene | ) |
References ZVALUE::TEMPLATE.
QGITemplate::~QGITemplate | ( | ) |
References pageTemplate.
void QGITemplate::clearContents | ( | ) |
|
pure virtual |
Implemented in TechDrawGui::QGIDrawingTemplate, and TechDrawGui::QGISVGTemplate.
Referenced by updateView().
TechDraw::DrawTemplate * TechDrawGui::QGITemplate::getTemplate | ( | ) |
std::vector< TemplateTextField * > TechDrawGui::QGITemplate::getTextFields | ( | void | ) |
Referenced by TechDrawGui::ViewProviderTemplate::setMarkers().
qreal TechDrawGui::QGITemplate::getY | ( | ) |
|
protectedvirtual |
Reimplemented in TechDrawGui::QGIDrawingTemplate, and TechDrawGui::QGISVGTemplate.
void QGITemplate::setTemplate | ( | TechDraw::DrawTemplate * | obj | ) |
References pageTemplate.
Referenced by TechDrawGui::QGSPage::setPageTemplate(), and TechDrawGui::MDIViewPage::updateTemplate().
int TechDrawGui::QGITemplate::type | ( | void | ) | const |
Referenced by ArchProfile.ProfileTaskPanel::accept(), and ArchProfile.ProfileTaskPanel::retranslateUi().
|
virtual |
Reimplemented in TechDrawGui::QGIDrawingTemplate, and TechDrawGui::QGISVGTemplate.
References draw().
Referenced by TechDrawGui::QGSPage::setPageTemplate(), TechDrawGui::ViewProviderPage::setTemplateMarkers(), and TechDrawGui::MDIViewPage::updateTemplate().
|
protected |
|
protected |
Referenced by TechDrawGui::QGISVGTemplate::createClickHandles().