Commit 048ff52b authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.FormEditor: Lighten the indicator for Tabs

The blur was too much.

Change-Id: If020f83858fe34744277d94d3d4b2aca4af83a74
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent d315a71c
......@@ -95,13 +95,14 @@ void ContentNotEditableIndicator::addAddiationEntries(const QList<FormEditorItem
if (!m_entryList.contains(EntryPair(formEditorItem, 0))) {
QGraphicsRectItem *indicatorShape = new QGraphicsRectItem(m_layerItem);
QPen linePen;
linePen.setColor("#a0a0a0");
indicatorShape->setPen(linePen);
QRectF boundingRectangleInSceneSpace = formEditorItem->qmlItemNode().instanceSceneTransform().mapRect(formEditorItem->qmlItemNode().instanceBoundingRect());
indicatorShape->setRect(boundingRectangleInSceneSpace);
static QBrush brush(QColor(0, 0, 0, 130), Qt::BDiagPattern);
static QBrush brush(QColor(0, 0, 0, 10), Qt::BDiagPattern);
indicatorShape->setBrush(brush);
formEditorItem->blurContent(true);
m_entryList.append(EntryPair(formEditorItem, indicatorShape));
}
......
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