Commit 0c6a2bd7 authored by Marco Bubke's avatar Marco Bubke

QmlDesigner: Change hover feedback from dotted line to solid line

Change-Id: If538e1d9c265b4dcf69a19a19c78c1fff9d705ab
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 991dcc2c
......@@ -183,20 +183,24 @@ void FormEditorItem::paintBoundingRect(QPainter *painter) const
QPen pen;
pen.setJoinStyle(Qt::MiterJoin);
pen.setStyle(Qt::DotLine);
QColor frameColor("#AAAAAA");
if (scene()->showBoundingRects()) {
if (m_highlightBoundingRect)
if (m_highlightBoundingRect) {
pen.setColor(frameColor);
else
} else {
pen.setColor(frameColor.darker(150));
pen.setStyle(Qt::DotLine);
}
} else {
if (m_highlightBoundingRect)
if (m_highlightBoundingRect) {
pen.setColor(frameColor);
else
} else {
pen.setColor(Qt::transparent);
pen.setStyle(Qt::DotLine);
}
}
painter->setPen(pen);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment