#include <QGEPath.h>
Public Types | |
enum | { Type = QGraphicsItem::UserType + 302 } |
Public Types inherited from TechDrawGui::QGIVertex | |
enum | { Type = QGraphicsItem::UserType + 105 } |
Public Types inherited from TechDrawGui::QGIPrimPath | |
enum | { Type = QGraphicsItem::UserType + 170 } |
Signals | |
void | doubleClick (QPointF pos, int idx) |
void | dragFinished (QPointF pos, int idx) |
void | dragging (QPointF pos, int idx) |
void | endEdit (void) |
Public Member Functions | |
virtual void | keyPressEvent (QKeyEvent *event) override |
virtual void | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event) override |
virtual void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) override |
QGMarker (int idx) | |
virtual void | setRadius (float r) override |
int | type () const override |
virtual | ~QGMarker (void) |
Public Member Functions inherited from TechDrawGui::QGIVertex | |
int | getProjIndex () const |
float | getRadius () |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) override |
QGIVertex (int index) | |
virtual void | setRadius (float r) |
int | type () const override |
~QGIVertex () | |
Public Member Functions inherited from TechDrawGui::QGIPrimPath | |
QColor | getFillColor (void) |
Qt::BrushStyle | getFillStyle () |
Qt::PenStyle | getStyle () |
virtual double | getWidth () |
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=nullptr) override |
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 | setPrettyNormal () |
virtual void | setPrettyPre () |
virtual void | setPrettySel () |
void | setStyle (int s) |
void | setStyle (Qt::PenStyle s) |
virtual void | setWidth (double w) |
virtual QPainterPath | shape () const override |
int | type () const override |
~QGIPrimPath () | |
Protected Member Functions | |
virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) override |
virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) override |
virtual QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
virtual void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override |
virtual void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
Protected Member Functions inherited from TechDrawGui::QGIPrimPath | |
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 | |
Protected Attributes inherited from TechDrawGui::QGIVertex | |
float | m_radius |
int | projIndex |
Protected Attributes inherited from TechDrawGui::QGIPrimPath | |
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 |
|
explicit |
|
virtual |
|
signal |
|
signal |
Referenced by mouseReleaseEvent().
|
signal |
Referenced by mousePressEvent().
|
signal |
Referenced by keyPressEvent(), mouseDoubleClickEvent(), mousePressEvent(), and mouseReleaseEvent().
|
overrideprotectedvirtual |
Reimplemented from TechDrawGui::QGIPrimPath.
References TechDrawGui::QGIPrimPath::hoverEnterEvent().
|
overrideprotectedvirtual |
Reimplemented from TechDrawGui::QGIPrimPath.
References TechDrawGui::QGIPrimPath::hoverLeaveEvent().
|
overrideprotectedvirtual |
Reimplemented from TechDrawGui::QGIPrimPath.
References TechDrawGui::QGIPrimPath::itemChange().
|
overridevirtual |
References endEdit().
|
overridevirtual |
References endEdit().
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from TechDrawGui::QGIPrimPath.
References dragging(), endEdit(), TechDrawGui::QGIVertex::getProjIndex(), and TechDrawGui::QGIPrimPath::mousePressEvent().
|
overridevirtual |
References dragFinished(), endEdit(), and TechDrawGui::QGIVertex::getProjIndex().
|
overridevirtual |
Reimplemented from TechDrawGui::QGIVertex.
References TechDrawGui::QGIVertex::paint().
|
overridevirtual |
Reimplemented from TechDrawGui::QGIVertex.
References TechDrawGui::QGIVertex::m_radius.
Referenced by draftguitools.gui_trackers.arcTracker::setBy3Points().
|
override |
Referenced by ArchProfile.ProfileTaskPanel::accept(), and ArchProfile.ProfileTaskPanel::retranslateUi().