TechDrawGui::QGISectionLine Class Reference

#include <QGISectionLine.h>

Public Types

enum  { Type = QGraphicsItem::UserType + 172 }
 
- Public Types inherited from TechDrawGui::QGIDecoration
enum  { Type = QGraphicsItem::UserType + 173 }
 

Public Member Functions

virtual void draw ()
 
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
 
 QGISectionLine ()
 
void setBounds (double x1, double y1, double x2, double y2)
 
void setDirection (Base::Vector3d dir)
 
void setDirection (double xDir, double yDir)
 
void setEnds (Base::Vector3d l1, Base::Vector3d l2)
 
void setFont (QFont f, double fsize)
 
void setSectionColor (QColor c)
 
void setSectionStyle (int style)
 
void setSymbol (char *sym)
 
int type () const
 
 ~QGISectionLine ()
 
- Public Member Functions inherited from TechDrawGui::QGIDecoration
virtual QRectF boundingRect () const
 
QColor getColor (void)
 
void makeMark (Base::Vector3d v)
 
void makeMark (double x, double y)
 
 QGIDecoration (void)
 
void setColor (QColor c)
 
void setFill (Qt::BrushStyle bs)
 
void setStyle (Qt::PenStyle s)
 
void setWidth (double w)
 
int type () const
 
 ~QGIDecoration ()
 

Protected Member Functions

void extensionEndsISO ()
 
void extensionEndsTrad ()
 
int getPrefSectionStandard ()
 
QColor getSectionColor ()
 
Qt::PenStyle getSectionStyle ()
 
void makeArrows ()
 
void makeArrowsISO ()
 
void makeArrowsTrad ()
 
void makeLine ()
 
void makeSymbols ()
 
void makeSymbolsISO ()
 
void makeSymbolsTrad ()
 
void setTools ()
 
- Protected Member Functions inherited from TechDrawGui::QGIDecoration
virtual QColor prefNormalColor (void)
 
virtual QColor prefPreColor (void)
 
virtual QColor prefSelectColor (void)
 
void setPrettyNormal ()
 
void setPrettyPre ()
 
void setPrettySel ()
 

Additional Inherited Members

- Protected Attributes inherited from TechDrawGui::QGIDecoration
QBrush m_brush
 
Qt::BrushStyle m_brushCurrent
 
QColor m_colCurrent
 
QColor m_colNormal
 
QPen m_pen
 
Qt::PenStyle m_styleCurrent
 
double m_width
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Type 

Constructor & Destructor Documentation

◆ QGISectionLine()

QGISectionLine::QGISectionLine ( )
explicit

◆ ~QGISectionLine()

TechDrawGui::QGISectionLine::~QGISectionLine ( )

Member Function Documentation

◆ draw()

void QGISectionLine::draw ( void  )
virtual

◆ extensionEndsISO()

void QGISectionLine::extensionEndsISO ( )
protected

◆ extensionEndsTrad()

void QGISectionLine::extensionEndsTrad ( )
protected

◆ getPrefSectionStandard()

int QGISectionLine::getPrefSectionStandard ( )
protected

◆ getSectionColor()

QColor QGISectionLine::getSectionColor ( )
protected

◆ getSectionStyle()

Qt::PenStyle QGISectionLine::getSectionStyle ( )
protected

◆ makeArrows()

void QGISectionLine::makeArrows ( )
protected

◆ makeArrowsISO()

void QGISectionLine::makeArrowsISO ( )
protected

◆ makeArrowsTrad()

void QGISectionLine::makeArrowsTrad ( )
protected

◆ makeLine()

void QGISectionLine::makeLine ( )
protected

◆ makeSymbols()

void QGISectionLine::makeSymbols ( )
protected

◆ makeSymbolsISO()

◆ makeSymbolsTrad()

◆ paint()

void QGISectionLine::paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget widget = 0 
)
virtual

◆ setBounds()

void QGISectionLine::setBounds ( double  x1,
double  y1,
double  x2,
double  y2 
)

◆ setDirection() [1/2]

void QGISectionLine::setDirection ( Base::Vector3d  dir)

◆ setDirection() [2/2]

void QGISectionLine::setDirection ( double  xDir,
double  yDir 
)

◆ setEnds()

void QGISectionLine::setEnds ( Base::Vector3d  l1,
Base::Vector3d  l2 
)

◆ setFont()

void QGISectionLine::setFont ( QFont  f,
double  fsize 
)

◆ setSectionColor()

void QGISectionLine::setSectionColor ( QColor  c)

◆ setSectionStyle()

void QGISectionLine::setSectionStyle ( int  style)

◆ setSymbol()

void QGISectionLine::setSymbol ( char *  sym)

◆ setTools()

void QGISectionLine::setTools ( )
protected

◆ type()

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

The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/Mod/TechDraw/Gui/QGISectionLine.h
  • Sources/FreeCAD/src/Mod/TechDraw/Gui/QGISectionLine.cpp