TechDrawGui::QGCustomClip Class Reference

#include <QGCustomClip.h>

Public Types

enum  { Type = QGraphicsItem::UserType + 132 }
 

Public Member Functions

virtual QRectF boundingRect () const
 
virtual void centerAt (double cX, double cY)
 
virtual void centerAt (QPointF centerPos)
 
void makeMark (Base::Vector3d v)
 
void makeMark (double x, double y)
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr)
 
 QGCustomClip (void)
 
virtual QRectF rect ()
 
virtual void setRect (double x, double y, double w, double h)
 
virtual void setRect (QRectF r)
 
int type () const
 
 ~QGCustomClip ()
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Type 

Constructor & Destructor Documentation

◆ QGCustomClip()

QGCustomClip::QGCustomClip ( void  )
explicit

◆ ~QGCustomClip()

TechDrawGui::QGCustomClip::~QGCustomClip ( )

Member Function Documentation

◆ boundingRect()

QRectF QGCustomClip::boundingRect ( ) const
virtual

◆ centerAt() [1/2]

void QGCustomClip::centerAt ( double  cX,
double  cY 
)
virtual

References boundingRect().

◆ centerAt() [2/2]

void QGCustomClip::centerAt ( QPointF  centerPos)
virtual

◆ makeMark() [1/2]

void QGCustomClip::makeMark ( Base::Vector3d  v)

References makeMark().

◆ makeMark() [2/2]

void QGCustomClip::makeMark ( double  x,
double  y 
)

◆ paint()

void QGCustomClip::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget widget = nullptr 
)

◆ rect()

◆ setRect() [1/2]

void QGCustomClip::setRect ( double  x,
double  y,
double  w,
double  h 
)
virtual

References setRect().

◆ setRect() [2/2]

◆ type()

int TechDrawGui::QGCustomClip::type ( ) const

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