TechDrawGui::QGIDrawingTemplate Class Reference

#include <QGIDrawingTemplate.h>

Public Types

enum  { Type = QGraphicsItem::UserType + 151 }
 
- Public Types inherited from TechDrawGui::QGITemplate
enum  { Type = QGraphicsItem::UserType + 150 }
 

Public Member Functions

void clearContents ()
 
void draw ()
 
 QGIDrawingTemplate (QGSPage *)
 
int type () const
 
virtual void updateView (bool update=false)
 
 ~QGIDrawingTemplate ()
 
- Public Member Functions inherited from TechDrawGui::QGITemplate
void clearContents ()
 
virtual void draw ()=0
 
TechDraw::DrawTemplategetTemplate ()
 
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

TechDraw::DrawParametricTemplategetParametricTemplate ()
 
virtual QVariant itemChange (GraphicsItemChange change, const QVariant &value)
 
virtual QVariant itemChange (GraphicsItemChange change, const QVariant &value)
 

Protected Attributes

QGraphicsPathItem * pathItem
 
- Protected Attributes inherited from TechDrawGui::QGITemplate
TechDraw::DrawTemplatepageTemplate
 
std::vector< TemplateTextField * > textFields
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Type 

Constructor & Destructor Documentation

◆ QGIDrawingTemplate()

QGIDrawingTemplate::QGIDrawingTemplate ( QGSPage scene)

References pathItem.

◆ ~QGIDrawingTemplate()

QGIDrawingTemplate::~QGIDrawingTemplate ( )

References pathItem.

Member Function Documentation

◆ clearContents()

void QGIDrawingTemplate::clearContents ( )

◆ draw()

void QGIDrawingTemplate::draw ( void  )
virtual

◆ getParametricTemplate()

TechDraw::DrawParametricTemplate * QGIDrawingTemplate::getParametricTemplate ( )
protected

◆ itemChange()

QVariant QGIDrawingTemplate::itemChange ( GraphicsItemChange  change,
const QVariant &  value 
)
protectedvirtual

Reimplemented from TechDrawGui::QGITemplate.

◆ type()

int TechDrawGui::QGIDrawingTemplate::type ( void  ) const

◆ updateView()

void QGIDrawingTemplate::updateView ( bool  update = false)
virtual

Reimplemented from TechDrawGui::QGITemplate.

References draw().

Member Data Documentation

◆ pathItem

QGraphicsPathItem* TechDrawGui::QGIDrawingTemplate::pathItem
protected

The documentation for this class was generated from the following files: