Make piece labels transparent.
50% opacity. --HG-- branch : develop
This commit is contained in:
parent
2538fc24b5
commit
c9fb50e9a3
|
@ -20,6 +20,7 @@
|
||||||
- [#725] Improve labels on drawing.
|
- [#725] Improve labels on drawing.
|
||||||
- Move Tool options and Group menu to Window section.
|
- Move Tool options and Group menu to Window section.
|
||||||
- Raise the minimum value for curve approximation to 0.2.
|
- Raise the minimum value for curve approximation to 0.2.
|
||||||
|
- Make piece labels transparent.
|
||||||
|
|
||||||
# Version 0.6.2 (unreleased)
|
# Version 0.6.2 (unreleased)
|
||||||
- [#903] Bug in tool Cut Spline path.
|
- [#903] Bug in tool Cut Spline path.
|
||||||
|
|
|
@ -151,7 +151,7 @@ void VTextGraphicsItem::paint(QPainter *painter, const QStyleOptionGraphicsItem
|
||||||
{
|
{
|
||||||
Q_UNUSED(widget)
|
Q_UNUSED(widget)
|
||||||
Q_UNUSED(option)
|
Q_UNUSED(option)
|
||||||
painter->fillRect(m_rectBoundingBox, QColor(251, 251, 175));
|
painter->fillRect(m_rectBoundingBox, QColor(251, 251, 175, 128 /*50% opacity*/));
|
||||||
painter->setRenderHints(QPainter::Antialiasing | QPainter::TextAntialiasing);
|
painter->setRenderHints(QPainter::Antialiasing | QPainter::TextAntialiasing);
|
||||||
|
|
||||||
painter->setPen(Qt::black);
|
painter->setPen(Qt::black);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user