TechDrawGui::QGICaption Class Reference

#include <QGICaption.h>

Public Types

enum  { Type = QGraphicsItem::UserType + 180 }
 
- Public Types inherited from TechDrawGui::QGCustomText
enum  { Type = QGraphicsItem::UserType + 130 }
 

Public Member Functions

 QGICaption (void)
 
int type () const
 
 ~QGICaption ()
 
- Public Member Functions inherited from TechDrawGui::QGCustomText
virtual QRectF boundingRect () const override
 
virtual void centerAt (double cX, double cY)
 
virtual void centerAt (QPointF centerPos)
 
virtual double getHeight (void)
 
virtual QColor getNormalColor (void)
 
virtual QColor getPreColor (void)
 
virtual QColor getSelectColor (void)
 
virtual double getWidth (void)
 
virtual void justifyLeftAt (double cX, double cY, bool vCenter=true)
 
virtual void justifyLeftAt (QPointF centerPos, bool vCenter=true)
 
virtual void justifyRightAt (double cX, double cY, bool vCenter=true)
 
virtual void justifyRightAt (QPointF centerPos, bool vCenter=true)
 
void makeMark (Base::Vector3d v)
 
void makeMark (double x, double y)
 
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) override
 
 QGCustomText (QGraphicsItem *parent=nullptr)
 
virtual void setColor (QColor c)
 
void setHighlighted (bool state)
 
virtual void setPrettyNormal ()
 
virtual void setPrettyPre ()
 
virtual void setPrettySel ()
 
virtual void setTightBounding (bool tight)
 
QPointF tightBoundingAdjust () const
 
QRectF tightBoundingRect () const
 
int type () const override
 
 ~QGCustomText ()
 

Additional Inherited Members

- Protected Member Functions inherited from TechDrawGui::QGCustomText
Base::Reference< ParameterGrpgetParmGroup (void)
 
virtual void hoverEnterEvent (QGraphicsSceneHoverEvent *event) override
 
virtual void hoverLeaveEvent (QGraphicsSceneHoverEvent *event) override
 
QVariant itemChange (GraphicsItemChange change, const QVariant &value) override
 
- Protected Attributes inherited from TechDrawGui::QGCustomText
bool isHighlighted
 
QColor m_colCurrent
 
QColor m_colNormal
 
bool tightBounding
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Type 

Constructor & Destructor Documentation

◆ QGICaption()

QGICaption::QGICaption ( void  )
explicit

◆ ~QGICaption()

TechDrawGui::QGICaption::~QGICaption ( )

Member Function Documentation

◆ type()

int TechDrawGui::QGICaption::type ( ) const

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