#include <QGIViewDimension.h>
|
enum | { Type = QGraphicsItem::UserType + 107
} |
|
◆ anonymous enum
◆ QGIDatumLabel()
QGIDatumLabel::QGIDatumLabel |
( |
| ) |
|
References TechDrawGui::Rez::guiX(), m_ctrl, m_dimText, m_isFramed, m_lineWidth, m_tolTextOver, m_tolTextUnder, m_unitText, parent, posX, posY, TechDrawGui::QGCustomText::setTightBounding(), and verticalSep.
◆ ~QGIDatumLabel()
virtual TechDrawGui::QGIDatumLabel::~QGIDatumLabel |
( |
| ) |
|
|
virtualdefault |
◆ boundingRect()
QRectF QGIDatumLabel::boundingRect |
( |
| ) |
const |
|
overridevirtual |
◆ dragFinished
void TechDrawGui::QGIDatumLabel::dragFinished |
( |
| ) |
|
|
signal |
◆ dragging
void TechDrawGui::QGIDatumLabel::dragging |
( |
bool |
| ) |
|
|
signal |
◆ getDimText()
QGCustomText * TechDrawGui::QGIDatumLabel::getDimText |
( |
void |
| ) |
|
◆ getFont()
QFont TechDrawGui::QGIDatumLabel::getFont |
( |
void |
| ) |
|
◆ getLineWidth()
double TechDrawGui::QGIDatumLabel::getLineWidth |
( |
void |
| ) |
|
◆ getPrecision()
int QGIDatumLabel::getPrecision |
( |
void |
| ) |
|
|
protected |
◆ getTolAdjust()
double QGIDatumLabel::getTolAdjust |
( |
void |
| ) |
|
◆ getTolTextOver()
QGCustomText * TechDrawGui::QGIDatumLabel::getTolTextOver |
( |
void |
| ) |
|
◆ getTolTextUnder()
QGCustomText * TechDrawGui::QGIDatumLabel::getTolTextUnder |
( |
void |
| ) |
|
◆ hover
void TechDrawGui::QGIDatumLabel::hover |
( |
bool |
state | ) |
|
|
signal |
◆ hoverEnterEvent()
void QGIDatumLabel::hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ hoverLeaveEvent()
void QGIDatumLabel::hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ isFramed()
bool TechDrawGui::QGIDatumLabel::isFramed |
( |
void |
| ) |
|
◆ itemChange()
QVariant QGIDatumLabel::itemChange |
( |
GraphicsItemChange |
change, |
|
|
const QVariant & |
value |
|
) |
| |
|
overrideprotectedvirtual |
◆ mouseDoubleClickEvent()
void QGIDatumLabel::mouseDoubleClickEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ mouseMoveEvent()
void QGIDatumLabel::mouseMoveEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ mousePressEvent()
void QGIDatumLabel::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ mouseReleaseEvent()
void QGIDatumLabel::mouseReleaseEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overridevirtual |
◆ paint()
void QGIDatumLabel::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget = nullptr |
|
) |
| |
|
overridevirtual |
◆ selected
void TechDrawGui::QGIDatumLabel::selected |
( |
bool |
state | ) |
|
|
signal |
◆ setColor()
void QGIDatumLabel::setColor |
( |
QColor |
c | ) |
|
◆ setDimString() [1/2]
void QGIDatumLabel::setDimString |
( |
QString |
t | ) |
|
◆ setDimString() [2/2]
void QGIDatumLabel::setDimString |
( |
QString |
t, |
|
|
qreal |
maxWidth |
|
) |
| |
◆ setDimText()
void TechDrawGui::QGIDatumLabel::setDimText |
( |
QGCustomText * |
newText | ) |
|
◆ setFont()
void QGIDatumLabel::setFont |
( |
QFont |
f | ) |
|
◆ setFramed()
void TechDrawGui::QGIDatumLabel::setFramed |
( |
bool |
framed | ) |
|
◆ setLabelCenter()
void QGIDatumLabel::setLabelCenter |
( |
| ) |
|
◆ setLineWidth()
void TechDrawGui::QGIDatumLabel::setLineWidth |
( |
double |
lineWidth | ) |
|
◆ setPosFromCenter()
void QGIDatumLabel::setPosFromCenter |
( |
const double & |
xCenter, |
|
|
const double & |
yCenter |
|
) |
| |
◆ setPretty
void TechDrawGui::QGIDatumLabel::setPretty |
( |
int |
state | ) |
|
|
signal |
◆ setPrettyNormal()
void QGIDatumLabel::setPrettyNormal |
( |
void |
| ) |
|
◆ setPrettyPre()
void QGIDatumLabel::setPrettyPre |
( |
void |
| ) |
|
◆ setPrettySel()
void QGIDatumLabel::setPrettySel |
( |
void |
| ) |
|
◆ setToleranceString()
void QGIDatumLabel::setToleranceString |
( |
| ) |
|
◆ setTolTextOver()
void TechDrawGui::QGIDatumLabel::setTolTextOver |
( |
QGCustomText * |
newTol | ) |
|
◆ setTolTextUnder()
void TechDrawGui::QGIDatumLabel::setTolTextUnder |
( |
QGCustomText * |
newTol | ) |
|
◆ setUnitString()
void QGIDatumLabel::setUnitString |
( |
QString |
t | ) |
|
◆ type()
int TechDrawGui::QGIDatumLabel::type |
( |
void |
| ) |
const |
|
override |
◆ X()
double TechDrawGui::QGIDatumLabel::X |
( |
| ) |
const |
◆ Y()
double TechDrawGui::QGIDatumLabel::Y |
( |
| ) |
const |
◆ m_colNormal
QColor TechDrawGui::QGIDatumLabel::m_colNormal |
|
protected |
◆ m_ctrl
bool TechDrawGui::QGIDatumLabel::m_ctrl |
|
protected |
◆ m_dimText
Referenced by getDimText(), getFont(), paint(), QGIDatumLabel(), setColor(), setDimString(), setDimText(), setFont(), setLabelCenter(), setPosFromCenter(), setPrettyNormal(), setPrettyPre(), and setPrettySel().
◆ m_isFramed
bool TechDrawGui::QGIDatumLabel::m_isFramed |
|
protected |
◆ m_lineWidth
double TechDrawGui::QGIDatumLabel::m_lineWidth |
|
protected |
◆ m_tolTextOver
Referenced by getTolTextOver(), QGIDatumLabel(), setColor(), setFont(), setPosFromCenter(), setPrettyNormal(), setPrettyPre(), setPrettySel(), setToleranceString(), setTolTextOver(), and setTolTextUnder().
◆ m_tolTextUnder
◆ m_unitText
◆ parent
◆ posX
double TechDrawGui::QGIDatumLabel::posX |
|
protected |
◆ posY
double TechDrawGui::QGIDatumLabel::posY |
|
protected |
◆ seps
std::vector<int> TechDrawGui::QGIDatumLabel::seps |
◆ verticalSep
bool TechDrawGui::QGIDatumLabel::verticalSep |
The documentation for this class was generated from the following files:
- FreeCAD/src/Mod/TechDraw/Gui/QGIViewDimension.h
- FreeCAD/src/Mod/TechDraw/Gui/QGIViewDimension.cpp