#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 | |
| 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
Constructor & Destructor Documentation
◆ QGISectionLine()
|
explicit |
References TechDrawGui::QGIArrow::getPrefArrowSize(), and TechDrawGui::Rez::guiX().
◆ ~QGISectionLine()
| TechDrawGui::QGISectionLine::~QGISectionLine | ( | ) |
Member Function Documentation
◆ draw()
|
virtual |
Reimplemented from TechDrawGui::QGIDecoration.
Referenced by TechDrawGui::QGIViewPart::drawSectionLine().
◆ extensionEndsISO()
|
protected |
References TechDrawGui::QGIArrow::getPrefArrowSize(), and TechDrawGui::Rez::guiX().
◆ extensionEndsTrad()
|
protected |
◆ getPrefSectionStandard()
|
protected |
◆ getSectionColor()
|
protected |
References TechDrawGui::PreferencesGui::sectionLineQColor().
◆ getSectionStyle()
|
protected |
References TechDrawGui::PreferencesGui::sectionLineStyle().
◆ makeArrows()
|
protected |
◆ makeArrowsISO()
|
protected |
References DraftVecUtils::angle(), and TechDrawGui::QGIArrow::getPrefArrowSize().
◆ makeArrowsTrad()
|
protected |
◆ makeLine()
|
protected |
◆ makeSymbols()
|
protected |
◆ makeSymbolsISO()
|
protected |
◆ makeSymbolsTrad()
|
protected |
◆ paint()
|
virtual |
Reimplemented from TechDrawGui::QGIDecoration.
References TechDrawGui::QGIDecoration::paint().
◆ setBounds()
| void QGISectionLine::setBounds | ( | double | x1, |
| double | y1, | ||
| double | x2, | ||
| double | y2 | ||
| ) |
◆ setDirection() [1/2]
| void QGISectionLine::setDirection | ( | Base::Vector3d | dir | ) |
References Base::Vector3< _Precision >::Normalize().
◆ setDirection() [2/2]
| void QGISectionLine::setDirection | ( | double | xDir, |
| double | yDir | ||
| ) |
Referenced by TechDrawGui::QGIViewPart::drawSectionLine().
◆ setEnds()
| void QGISectionLine::setEnds | ( | Base::Vector3d | l1, |
| Base::Vector3d | l2 | ||
| ) |
Referenced by TechDrawGui::QGIViewPart::drawSectionLine().
◆ setFont()
| void QGISectionLine::setFont | ( | QFont | f, |
| double | fsize | ||
| ) |
Referenced by TechDrawGui::QGIViewPart::drawSectionLine().
◆ setSectionColor()
| void QGISectionLine::setSectionColor | ( | QColor | c | ) |
Referenced by TechDrawGui::QGIViewPart::drawSectionLine().
◆ setSectionStyle()
| void QGISectionLine::setSectionStyle | ( | int | style | ) |
Referenced by TechDrawGui::QGIViewPart::drawSectionLine().
◆ setSymbol()
| void QGISectionLine::setSymbol | ( | char * | sym | ) |
Referenced by TechDrawGui::QGIViewPart::drawSectionLine().
◆ setTools()
|
protected |
◆ type()
| int TechDrawGui::QGISectionLine::type | ( | ) | const |
The documentation for this class was generated from the following files:
- src/Mod/TechDraw/Gui/QGISectionLine.h
- src/Mod/TechDraw/Gui/QGISectionLine.cpp
Public Types inherited from
1.8.17