#include <QGCustomText.h>
|
enum | { Type = QGraphicsItem::UserType + 130
} |
|
|
virtual void | centerAt (double cX, double cY) |
|
virtual void | centerAt (QPointF centerPos) |
|
virtual double | getHeight (void) |
|
virtual QColor | getNormalColor (void) |
|
virtual QColor | getPreColor (void) |
|
virtual QColor | getSelectColor (void) |
|
virtual double | getWidth (void) |
|
virtual void | justifyLeftAt (double cX, double cY, bool vCenter=true) |
|
virtual void | justifyLeftAt (QPointF centerPos, bool vCenter=true) |
|
virtual void | justifyRightAt (double cX, double cY, bool vCenter=true) |
|
virtual void | justifyRightAt (QPointF centerPos, bool vCenter=true) |
|
void | makeMark (Base::Vector3d v) |
|
void | makeMark (double x, double y) |
|
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) |
|
| QGCustomText (QGraphicsItem *parent=nullptr) |
|
virtual void | setColor (QColor c) |
|
void | setHighlighted (bool state) |
|
virtual void | setPrettyNormal () |
|
virtual void | setPrettyPre () |
|
virtual void | setPrettySel () |
|
int | type () const |
|
| ~QGCustomText () |
|
◆ anonymous enum
◆ QGCustomText()
QGCustomText::QGCustomText |
( |
QGraphicsItem * |
parent = nullptr | ) |
|
|
explicit |
◆ ~QGCustomText()
TechDrawGui::QGCustomText::~QGCustomText |
( |
| ) |
|
◆ centerAt() [1/2]
void QGCustomText::centerAt |
( |
double |
cX, |
|
|
double |
cY |
|
) |
| |
|
virtual |
◆ centerAt() [2/2]
void QGCustomText::centerAt |
( |
QPointF |
centerPos | ) |
|
|
virtual |
◆ getHeight()
double QGCustomText::getHeight |
( |
void |
| ) |
|
|
virtual |
◆ getNormalColor()
QColor QGCustomText::getNormalColor |
( |
void |
| ) |
|
|
virtual |
◆ getParmGroup()
◆ getPreColor()
QColor QGCustomText::getPreColor |
( |
void |
| ) |
|
|
virtual |
◆ getSelectColor()
QColor QGCustomText::getSelectColor |
( |
void |
| ) |
|
|
virtual |
◆ getWidth()
double QGCustomText::getWidth |
( |
void |
| ) |
|
|
virtual |
◆ hoverEnterEvent()
void QGCustomText::hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
protectedvirtual |
◆ hoverLeaveEvent()
void QGCustomText::hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
protectedvirtual |
◆ itemChange()
QVariant QGCustomText::itemChange |
( |
GraphicsItemChange |
change, |
|
|
const QVariant & |
value |
|
) |
| |
|
protected |
◆ justifyLeftAt() [1/2]
void QGCustomText::justifyLeftAt |
( |
double |
cX, |
|
|
double |
cY, |
|
|
bool |
vCenter = true |
|
) |
| |
|
virtual |
◆ justifyLeftAt() [2/2]
void QGCustomText::justifyLeftAt |
( |
QPointF |
centerPos, |
|
|
bool |
vCenter = true |
|
) |
| |
|
virtual |
◆ justifyRightAt() [1/2]
void QGCustomText::justifyRightAt |
( |
double |
cX, |
|
|
double |
cY, |
|
|
bool |
vCenter = true |
|
) |
| |
|
virtual |
◆ justifyRightAt() [2/2]
void QGCustomText::justifyRightAt |
( |
QPointF |
centerPos, |
|
|
bool |
vCenter = true |
|
) |
| |
|
virtual |
◆ makeMark() [1/2]
◆ makeMark() [2/2]
void QGCustomText::makeMark |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
◆ paint()
void QGCustomText::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget = 0 |
|
) |
| |
|
virtual |
◆ setColor()
void QGCustomText::setColor |
( |
QColor |
c | ) |
|
|
virtual |
◆ setHighlighted()
void TechDrawGui::QGCustomText::setHighlighted |
( |
bool |
state | ) |
|
◆ setPrettyNormal()
void QGCustomText::setPrettyNormal |
( |
| ) |
|
|
virtual |
◆ setPrettyPre()
void QGCustomText::setPrettyPre |
( |
| ) |
|
|
virtual |
◆ setPrettySel()
void QGCustomText::setPrettySel |
( |
| ) |
|
|
virtual |
◆ type()
int TechDrawGui::QGCustomText::type |
( |
| ) |
const |
◆ isHighlighted
bool TechDrawGui::QGCustomText::isHighlighted |
|
protected |
◆ m_colCurrent
QColor TechDrawGui::QGCustomText::m_colCurrent |
|
protected |
◆ m_colNormal
QColor TechDrawGui::QGCustomText::m_colNormal |
|
protected |
The documentation for this class was generated from the following files:
- src/Mod/TechDraw/Gui/QGCustomText.h
- src/Mod/TechDraw/Gui/QGCustomText.cpp