#include <QGIViewBalloon.h>
|
enum | { Type = QGraphicsItem::UserType + 141
} |
|
|
virtual void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) override |
|
virtual void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) override |
|
virtual QVariant | itemChange (GraphicsItemChange change, const QVariant &value) override |
|
virtual void | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event) override |
|
virtual void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override |
|
virtual void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
|
◆ anonymous enum
◆ QGIBalloonLabel()
QGIBalloonLabel::QGIBalloonLabel |
( |
| ) |
|
◆ ~QGIBalloonLabel()
virtual TechDrawGui::QGIBalloonLabel::~QGIBalloonLabel |
( |
| ) |
|
|
virtualdefault |
◆ boundingRect()
QRectF QGIBalloonLabel::boundingRect |
( |
| ) |
const |
|
overridevirtual |
◆ dragFinished
void TechDrawGui::QGIBalloonLabel::dragFinished |
( |
| ) |
|
|
signal |
◆ dragging
void TechDrawGui::QGIBalloonLabel::dragging |
( |
bool |
| ) |
|
|
signal |
◆ getDimText()
QGCustomText * TechDrawGui::QGIBalloonLabel::getDimText |
( |
void |
| ) |
|
◆ getFont()
QFont TechDrawGui::QGIBalloonLabel::getFont |
( |
void |
| ) |
|
◆ hover
void TechDrawGui::QGIBalloonLabel::hover |
( |
bool |
state | ) |
|
|
signal |
◆ hoverEnterEvent()
void QGIBalloonLabel::hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ hoverLeaveEvent()
void QGIBalloonLabel::hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ itemChange()
QVariant QGIBalloonLabel::itemChange |
( |
GraphicsItemChange |
change, |
|
|
const QVariant & |
value |
|
) |
| |
|
overrideprotectedvirtual |
◆ mouseDoubleClickEvent()
void QGIBalloonLabel::mouseDoubleClickEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ mouseMoveEvent()
void QGIBalloonLabel::mouseMoveEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ mousePressEvent()
void QGIBalloonLabel::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ mouseReleaseEvent()
void QGIBalloonLabel::mouseReleaseEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
overridevirtual |
◆ paint()
void QGIBalloonLabel::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget = nullptr |
|
) |
| |
|
overridevirtual |
◆ selected
void TechDrawGui::QGIBalloonLabel::selected |
( |
bool |
state | ) |
|
|
signal |
◆ setColor()
void QGIBalloonLabel::setColor |
( |
QColor |
c | ) |
|
◆ setDimString() [1/2]
void QGIBalloonLabel::setDimString |
( |
QString |
t | ) |
|
◆ setDimString() [2/2]
void QGIBalloonLabel::setDimString |
( |
QString |
t, |
|
|
qreal |
maxWidth |
|
) |
| |
◆ setDimText()
void TechDrawGui::QGIBalloonLabel::setDimText |
( |
QGCustomText * |
newText | ) |
|
◆ setFont()
void QGIBalloonLabel::setFont |
( |
QFont |
f | ) |
|
◆ setLabelCenter()
void QGIBalloonLabel::setLabelCenter |
( |
| ) |
|
◆ setPosFromCenter()
void QGIBalloonLabel::setPosFromCenter |
( |
const double & |
xCenter, |
|
|
const double & |
yCenter |
|
) |
| |
◆ setPrettyNormal()
void QGIBalloonLabel::setPrettyNormal |
( |
void |
| ) |
|
◆ setPrettyPre()
void QGIBalloonLabel::setPrettyPre |
( |
void |
| ) |
|
◆ setPrettySel()
void QGIBalloonLabel::setPrettySel |
( |
void |
| ) |
|
◆ type()
int TechDrawGui::QGIBalloonLabel::type |
( |
void |
| ) |
const |
|
override |
◆ X()
double TechDrawGui::QGIBalloonLabel::X |
( |
| ) |
const |
◆ Y()
double TechDrawGui::QGIBalloonLabel::Y |
( |
| ) |
const |
◆ hasHover
bool TechDrawGui::QGIBalloonLabel::hasHover |
◆ m_colNormal
QColor TechDrawGui::QGIBalloonLabel::m_colNormal |
|
protected |
◆ m_ctrl
bool TechDrawGui::QGIBalloonLabel::m_ctrl |
|
protected |
◆ m_drag
bool TechDrawGui::QGIBalloonLabel::m_drag |
|
protected |
◆ m_labelText
Referenced by getDimText(), getFont(), QGIBalloonLabel(), setColor(), setDimString(), setDimText(), setFont(), setLabelCenter(), setPosFromCenter(), setPrettyNormal(), setPrettyPre(), and setPrettySel().
◆ parent
◆ posX
double TechDrawGui::QGIBalloonLabel::posX |
|
protected |
◆ posY
double TechDrawGui::QGIBalloonLabel::posY |
|
protected |
◆ seps
std::vector<int> TechDrawGui::QGIBalloonLabel::seps |
◆ verticalSep
bool TechDrawGui::QGIBalloonLabel::verticalSep |
The documentation for this class was generated from the following files:
- FreeCAD/src/Mod/TechDraw/Gui/QGIViewBalloon.h
- FreeCAD/src/Mod/TechDraw/Gui/QGIViewBalloon.cpp