#include <QGIPrimPath.h>
|
enum | { Type = QGraphicsItem::UserType + 170
} |
|
◆ anonymous enum
◆ QGIPrimPath()
QGIPrimPath::QGIPrimPath |
( |
| ) |
|
|
explicit |
References getNormalColor(), isHighlighted, m_capStyle, m_colCurrent, m_colDefFill, m_colNormal, m_colOverride, m_fillStyleCurrent, m_pen, m_styleCurrent, m_styleDef, m_styleNormal, m_styleSelect, m_width, prefCapStyle(), setFillColor(), and setPrettyNormal().
Referenced by TechDrawGui::QGEPath::QGEPath().
◆ ~QGIPrimPath()
TechDrawGui::QGIPrimPath::~QGIPrimPath |
( |
| ) |
|
◆ getFillColor()
QColor TechDrawGui::QGIPrimPath::getFillColor |
( |
void |
| ) |
|
◆ getFillStyle()
Qt::BrushStyle TechDrawGui::QGIPrimPath::getFillStyle |
( |
| ) |
|
◆ getNormalColor()
QColor QGIPrimPath::getNormalColor |
( |
void |
| ) |
|
|
protectedvirtual |
◆ getParmGroup()
◆ getPreColor()
QColor QGIPrimPath::getPreColor |
( |
void |
| ) |
|
|
protectedvirtual |
◆ getSelectColor()
QColor QGIPrimPath::getSelectColor |
( |
void |
| ) |
|
|
protectedvirtual |
◆ getStyle()
Qt::PenStyle TechDrawGui::QGIPrimPath::getStyle |
( |
| ) |
|
◆ getWidth()
virtual double TechDrawGui::QGIPrimPath::getWidth |
( |
void |
| ) |
|
|
virtual |
◆ hoverEnterEvent()
void QGIPrimPath::hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ hoverLeaveEvent()
void QGIPrimPath::hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ itemChange()
QVariant QGIPrimPath::itemChange |
( |
GraphicsItemChange |
change, |
|
|
const QVariant & |
value |
|
) |
| |
|
overrideprotectedvirtual |
◆ mousePressEvent()
void QGIPrimPath::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ paint()
void QGIPrimPath::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget = nullptr |
|
) |
| |
|
overridevirtual |
Reimplemented in TechDrawGui::QGIArrow, TechDrawGui::QGMarker, TechDrawGui::QGEPath, TechDrawGui::QGICMark, TechDrawGui::QGIDimLines, TechDrawGui::QGIEdge, TechDrawGui::QGIFace, TechDrawGui::QGIVertex, and TechDrawGui::QGTracker.
References m_brush, m_colCurrent, m_fillColorCurrent, m_fillStyleCurrent, m_pen, m_styleCurrent, and m_width.
Referenced by TechDrawGui::QGIArrow::paint(), TechDrawGui::QGEPath::paint(), TechDrawGui::QGIDimLines::paint(), TechDrawGui::QGIEdge::paint(), TechDrawGui::QGIFace::paint(), TechDrawGui::QGIVertex::paint(), and TechDrawGui::QGTracker::paint().
◆ prefCapStyle()
Qt::PenCapStyle QGIPrimPath::prefCapStyle |
( |
void |
| ) |
|
|
protectedvirtual |
◆ resetFill()
void QGIPrimPath::resetFill |
( |
| ) |
|
◆ setCapStyle()
void QGIPrimPath::setCapStyle |
( |
Qt::PenCapStyle |
c | ) |
|
|
virtual |
◆ setFill() [1/2]
void QGIPrimPath::setFill |
( |
QBrush |
b | ) |
|
◆ setFill() [2/2]
void QGIPrimPath::setFill |
( |
QColor |
c, |
|
|
Qt::BrushStyle |
s |
|
) |
| |
◆ setFillColor()
void QGIPrimPath::setFillColor |
( |
QColor |
c | ) |
|
References m_colNormalFill, and m_fillColorCurrent.
Referenced by TechDrawGui::QGIViewSection::drawSectionFace(), TechDrawGui::QGIViewPart::drawViewPart(), TechDrawGui::QGIFace::getParameters(), TechDrawGui::QGIView::makeMark(), TechDrawGui::QGIViewDimension::makeMarkC(), QGIPrimPath(), TechDrawGui::QGIViewBalloon::QGIViewBalloon(), setFill(), TechDrawGui::QGILeaderLine::setNormalColorAll(), TechDrawGui::QGIViewDimension::setNormalColorAll(), TechDrawGui::QGISectionLine::setTools(), and TechDrawGui::QGIViewBalloon::updateView().
◆ setFillOverride()
void TechDrawGui::QGIPrimPath::setFillOverride |
( |
bool |
b | ) |
|
◆ setFillStyle()
void TechDrawGui::QGIPrimPath::setFillStyle |
( |
Qt::BrushStyle |
f | ) |
|
◆ setHighlighted()
void QGIPrimPath::setHighlighted |
( |
bool |
state | ) |
|
◆ setNormalColor()
void QGIPrimPath::setNormalColor |
( |
QColor |
c | ) |
|
|
virtual |
References m_colCurrent, m_colNormal, and m_colOverride.
Referenced by TechDrawGui::QGIWeldSymbol::drawAllAround(), TechDrawGui::QGIViewPart::drawViewPart(), TechDrawGui::QGIViewPart::formatGeomFromCenterLine(), TechDrawGui::QGIViewPart::formatGeomFromCosmetic(), TechDrawGui::QGIView::makeMark(), TechDrawGui::QGIViewDimension::makeMarkC(), TechDrawGui::QGEPath::QGEPath(), TechDrawGui::QGIViewBalloon::QGIViewBalloon(), TechDrawGui::QGTracker::QGTracker(), TechDrawGui::QGILeaderLine::setNormalColorAll(), TechDrawGui::QGIViewDimension::setNormalColorAll(), TechDrawGui::QGIWeldSymbol::setPrettyNormal(), TechDrawGui::QGIWeldSymbol::setPrettyPre(), TechDrawGui::QGIWeldSymbol::setPrettySel(), TechDrawGui::QGISectionLine::setTools(), and TechDrawGui::QGIViewBalloon::updateView().
◆ setPrettyNormal()
void QGIPrimPath::setPrettyNormal |
( |
void |
| ) |
|
|
virtual |
Reimplemented in TechDrawGui::QGICMark, TechDrawGui::QGIEdge, and TechDrawGui::QGIFace.
References m_colCurrent, m_colNormal, m_colNormalFill, and m_fillColorCurrent.
Referenced by TechDrawGui::QGIViewPart::drawViewPart(), TechDrawGui::QGEPath::hoverLeaveEvent(), hoverLeaveEvent(), TechDrawGui::QGEPath::itemChange(), itemChange(), TechDrawGui::QGIView::makeMark(), TechDrawGui::QGIViewDimension::makeMarkC(), TechDrawGui::QGEPath::QGEPath(), QGIPrimPath(), TechDrawGui::QGIViewBalloon::QGIViewBalloon(), TechDrawGui::QGTracker::QGTracker(), TechDrawGui::QGTracker::setCircleFromPoints(), setHighlighted(), TechDrawGui::QGTracker::setPathFromPoints(), TechDrawGui::QGTracker::setPoint(), TechDrawGui::QGILeaderLine::setPrettyNormal(), TechDrawGui::QGIWeldSymbol::setPrettyNormal(), TechDrawGui::QGIFace::setPrettyNormal(), TechDrawGui::QGIViewBalloon::setPrettyNormal(), TechDrawGui::QGIViewDimension::setPrettyNormal(), TechDrawGui::QGTracker::setSquareFromPoints(), and TechDrawGui::QGISectionLine::setTools().
◆ setPrettyPre()
void QGIPrimPath::setPrettyPre |
( |
void |
| ) |
|
|
virtual |
◆ setPrettySel()
void QGIPrimPath::setPrettySel |
( |
void |
| ) |
|
|
virtual |
Reimplemented in TechDrawGui::QGIFace.
References getSelectColor(), m_colCurrent, m_fillColorCurrent, and m_fillOverride.
Referenced by TechDrawGui::QGEPath::itemChange(), itemChange(), setHighlighted(), TechDrawGui::QGILeaderLine::setPrettySel(), TechDrawGui::QGIWeldSymbol::setPrettySel(), TechDrawGui::QGIFace::setPrettySel(), TechDrawGui::QGIViewBalloon::setPrettySel(), and TechDrawGui::QGIViewDimension::setPrettySel().
◆ setStyle() [1/2]
void QGIPrimPath::setStyle |
( |
int |
s | ) |
|
◆ setStyle() [2/2]
void QGIPrimPath::setStyle |
( |
Qt::PenStyle |
s | ) |
|
References m_styleCurrent.
Referenced by TechDrawGui::QGILeaderLine::draw(), TechDrawGui::QGIViewSection::drawSectionFace(), TechDrawGui::QGIViewPart::drawViewPart(), TechDrawGui::QGIViewPart::formatGeomFromCenterLine(), TechDrawGui::QGIViewPart::formatGeomFromCosmetic(), TechDrawGui::QGEPath::QGEPath(), TechDrawGui::QGIFace::QGIFace(), TechDrawGui::QGIViewBalloon::QGIViewBalloon(), TechDrawGui::QGIViewDimension::QGIViewDimension(), TechDrawGui::QGTracker::QGTracker(), and TechDrawGui::QGIFace::setDrawEdges().
◆ setWidth()
void QGIPrimPath::setWidth |
( |
double |
w | ) |
|
|
virtual |
References m_pen, and m_width.
Referenced by ArchStructure.CommandStructuralSystem::Activated(), TechDrawGui::QGILeaderLine::draw(), TechDrawGui::QGIWeldSymbol::drawAllAround(), TechDrawGui::QGIWeldSymbol::drawFieldFlag(), TechDrawGui::QGIViewSection::drawSectionFace(), TechDrawGui::QGIViewPart::drawViewPart(), TechDrawGui::QGIViewPart::formatGeomFromCenterLine(), TechDrawGui::QGIViewPart::formatGeomFromCosmetic(), TechDrawGui::QGIView::makeMark(), TechDrawGui::QGIViewDimension::makeMarkC(), TechDrawGui::QGTracker::QGTracker(), TechDrawGui::QGILeaderLine::setArrows(), TechDrawGui::QGIEdge::setCosmetic(), TechDrawGui::QGIViewBalloon::setPens(), TechDrawGui::QGIViewDimension::setPens(), TechDrawGui::QGIViewBalloon::setSvgPens(), and TechDrawGui::QGIViewDimension::setSvgPens().
◆ shape()
virtual QPainterPath TechDrawGui::QGIPrimPath::shape |
( |
void |
| ) |
const |
|
overridevirtual |
◆ type()
int TechDrawGui::QGIPrimPath::type |
( |
void |
| ) |
const |
|
override |
◆ isHighlighted
bool TechDrawGui::QGIPrimPath::isHighlighted |
|
protected |
◆ m_brush
QBrush TechDrawGui::QGIPrimPath::m_brush |
|
protected |
◆ m_capStyle
Qt::PenCapStyle TechDrawGui::QGIPrimPath::m_capStyle |
|
protected |
◆ m_colCurrent
QColor TechDrawGui::QGIPrimPath::m_colCurrent |
|
protected |
◆ m_colDefFill
QColor TechDrawGui::QGIPrimPath::m_colDefFill |
|
protected |
◆ m_colNormal
QColor TechDrawGui::QGIPrimPath::m_colNormal |
|
protected |
◆ m_colNormalFill
QColor TechDrawGui::QGIPrimPath::m_colNormalFill |
|
protected |
◆ m_colOverride
bool TechDrawGui::QGIPrimPath::m_colOverride |
|
protected |
◆ m_fillColorCurrent
QColor TechDrawGui::QGIPrimPath::m_fillColorCurrent |
|
protected |
◆ m_fillOverride
bool TechDrawGui::QGIPrimPath::m_fillOverride |
|
protected |
◆ m_fillStyleCurrent
Qt::BrushStyle TechDrawGui::QGIPrimPath::m_fillStyleCurrent |
|
protected |
◆ m_pen
QPen TechDrawGui::QGIPrimPath::m_pen |
|
protected |
◆ m_styleCurrent
Qt::PenStyle TechDrawGui::QGIPrimPath::m_styleCurrent |
|
protected |
◆ m_styleDef
Qt::BrushStyle TechDrawGui::QGIPrimPath::m_styleDef |
|
protected |
◆ m_styleNormal
Qt::BrushStyle TechDrawGui::QGIPrimPath::m_styleNormal |
|
protected |
◆ m_styleSelect
Qt::BrushStyle TechDrawGui::QGIPrimPath::m_styleSelect |
|
protected |
◆ m_width
double TechDrawGui::QGIPrimPath::m_width |
|
protected |
The documentation for this class was generated from the following files:
- FreeCAD/src/Mod/TechDraw/Gui/QGIPrimPath.h
- FreeCAD/src/Mod/TechDraw/Gui/QGIPrimPath.cpp