[TD]Fix selection highlight for QGIPrimPath children

This commit is contained in:
wandererfan
2019-09-09 09:02:54 -04:00
committed by WandererFan
parent 99c123db6e
commit f25bf04b8c
7 changed files with 55 additions and 75 deletions

View File

@@ -24,7 +24,6 @@
#ifndef _PreComp_
#include <assert.h>
#include <QGraphicsScene>
#include <QGraphicsSceneHoverEvent>
#include <QMouseEvent>
#include <QPainter>
#include <QPainterPathStroker>
@@ -68,16 +67,16 @@ void QGIEdge::setHiddenEdge(bool b) {
} else {
m_styleCurrent = Qt::SolidLine;
}
update();
}
void QGIEdge::setPrettyNormal() {
// Base::Console().Message("QGIE::setPrettyNormal()\n");
if (isHiddenEdge) {
m_colCurrent = getHiddenColor();
} else {
m_colCurrent = getNormalColor();
}
update();
//should call QGIPP::setPrettyNormal()?
}
QColor QGIEdge::getHiddenColor()