#include <QGICenterLine.h>
|
enum | { Type = QGraphicsItem::UserType + 174
} |
|
enum | { Type = QGraphicsItem::UserType + 173
} |
|
◆ anonymous enum
◆ QGICenterLine()
QGICenterLine::QGICenterLine |
( |
| ) |
|
|
explicit |
◆ ~QGICenterLine()
TechDrawGui::QGICenterLine::~QGICenterLine |
( |
| ) |
|
◆ draw()
void QGICenterLine::draw |
( |
void |
| ) |
|
|
virtual |
◆ getCenterColor()
QColor QGICenterLine::getCenterColor |
( |
| ) |
|
|
protected |
◆ getCenterStyle()
Qt::PenStyle QGICenterLine::getCenterStyle |
( |
| ) |
|
|
protected |
◆ makeLine()
void QGICenterLine::makeLine |
( |
| ) |
|
|
protected |
◆ paint()
void QGICenterLine::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget = nullptr |
|
) |
| |
|
virtual |
◆ setBounds()
void QGICenterLine::setBounds |
( |
double |
x1, |
|
|
double |
y1, |
|
|
double |
x2, |
|
|
double |
y2 |
|
) |
| |
◆ setIntersection()
void QGICenterLine::setIntersection |
( |
bool |
isIntersecting | ) |
|
Set the intersection style for the centerline. If isIntersecting is set to true, the middle of the centerline will be the middle of a dash - therefore if two lines intersect, they will form a cross. If isIntersecting is set to false, the middle of the centerline will be a dot.
Referenced by TechDrawGui::QGIViewPart::drawCenterLines().
◆ setTools()
void QGICenterLine::setTools |
( |
| ) |
|
|
protected |
◆ type()
int TechDrawGui::QGICenterLine::type |
( |
| ) |
const |
The documentation for this class was generated from the following files:
- FreeCAD/src/Mod/TechDraw/Gui/QGICenterLine.h
- FreeCAD/src/Mod/TechDraw/Gui/QGICenterLine.cpp