#include <QGICMark.h>
Public Types | |
enum { Type = QGraphicsItem::UserType + 171 } | |
![]() | |
enum { Type = QGraphicsItem::UserType + 105 } | |
![]() | |
enum { Type = QGraphicsItem::UserType + 170 } | |
Public Member Functions | |
virtual QRectF boundingRect () const override | |
void draw (void) | |
double getMarkFuzz (void) const | |
float getSize () | |
float getThick () | |
virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) override | |
QGICMark (int index) | |
virtual void setPrettyNormal () override | |
void setSize (float s) | |
void setThick (float t) | |
virtual QPainterPath shape () const override | |
int type () const override | |
~QGICMark () | |
![]() | |
int getProjIndex () const | |
float getRadius () | |
QGIVertex (int index) | |
virtual void setRadius (float r) | |
int type () const override | |
~QGIVertex () | |
![]() | |
QColor getFillColor (void) | |
Qt::BrushStyle getFillStyle () | |
Qt::PenStyle getStyle () | |
virtual double getWidth () | |
QGIPrimPath () | |
void resetFill () | |
virtual void setCapStyle (Qt::PenCapStyle c) | |
void setFill (QBrush b) | |
void setFill (QColor c, Qt::BrushStyle s) | |
void setFillColor (QColor c) | |
void setFillOverride (bool b) | |
void setFillStyle (Qt::BrushStyle f) | |
void setHighlighted (bool state) | |
virtual void setNormalColor (QColor c) | |
virtual void setPrettyPre () | |
virtual void setPrettySel () | |
void setStyle (int s) | |
void setStyle (Qt::PenStyle s) | |
virtual void setWidth (double w) | |
int type () const override | |
~QGIPrimPath () | |
Protected Member Functions | |
QColor getCMarkColor () | |
![]() | |
virtual QColor getNormalColor (void) | |
Base::Reference< ParameterGrp > getParmGroup (void) | |
virtual QColor getPreColor (void) | |
virtual QColor getSelectColor (void) | |
virtual void hoverEnterEvent (QGraphicsSceneHoverEvent *event) override | |
virtual void hoverLeaveEvent (QGraphicsSceneHoverEvent *event) override | |
virtual QVariant itemChange (GraphicsItemChange change, const QVariant &value) override | |
virtual void mousePressEvent (QGraphicsSceneMouseEvent *event) override | |
virtual Qt::PenCapStyle prefCapStyle (void) | |
Additional Inherited Members | |
![]() | |
float m_radius | |
int projIndex | |
![]() | |
bool isHighlighted | |
QBrush m_brush | |
Qt::PenCapStyle m_capStyle | |
QColor m_colCurrent | |
QColor m_colDefFill | |
QColor m_colNormal | |
QColor m_colNormalFill | |
bool m_colOverride | |
QColor m_fillColorCurrent | |
bool m_fillOverride | |
Qt::BrushStyle m_fillStyleCurrent | |
QPen m_pen | |
Qt::PenStyle m_styleCurrent | |
Qt::BrushStyle m_styleDef | |
Qt::BrushStyle m_styleNormal | |
Qt::BrushStyle m_styleSelect | |
double m_width | |
Member Enumeration Documentation
◆ anonymous enum
Constructor & Destructor Documentation
◆ QGICMark()
|
explicit |
References draw(), and TechDrawGui::QGIPrimPath::m_width.
◆ ~QGICMark()
TechDrawGui::QGICMark::~QGICMark | ( | ) |
Member Function Documentation
◆ boundingRect()
|
overridevirtual |
References shape().
◆ draw()
void QGICMark::draw | ( | void | ) |
Referenced by QGICMark(), setSize(), and setThick().
◆ getCMarkColor()
|
protected |
References App::Color::asValue(), App::GetApplication(), ParameterGrp::GetGroup(), ParameterGrp::GetUnsigned(), and App::Application::GetUserParameter().
Referenced by setPrettyNormal().
◆ getMarkFuzz()
double QGICMark::getMarkFuzz | ( | void | ) | const |
References App::GetApplication(), ParameterGrp::GetFloat(), ParameterGrp::GetGroup(), and App::Application::GetUserParameter().
Referenced by shape().
◆ getSize()
float TechDrawGui::QGICMark::getSize | ( | ) |
◆ getThick()
float TechDrawGui::QGICMark::getThick | ( | ) |
◆ paint()
|
overridevirtual |
Reimplemented from TechDrawGui::QGIVertex.
References TechDrawGui::QGIVertex::paint().
◆ setPrettyNormal()
|
overridevirtual |
Reimplemented from TechDrawGui::QGIPrimPath.
References getCMarkColor(), and TechDrawGui::QGIPrimPath::m_colCurrent.
Referenced by TechDrawGui::QGIViewPart::drawViewPart().
◆ setSize()
void QGICMark::setSize | ( | float | s | ) |
◆ setThick()
void QGICMark::setThick | ( | float | t | ) |
◆ shape()
|
overridevirtual |
Reimplemented from TechDrawGui::QGIPrimPath.
References getMarkFuzz().
Referenced by boundingRect().
◆ type()
|
override |
The documentation for this class was generated from the following files:
- src/Mod/TechDraw/Gui/QGICMark.h
- src/Mod/TechDraw/Gui/QGICMark.cpp