From: Andy Bavier Date: Thu, 17 Feb 2011 16:33:00 +0000 (-0500) Subject: Color tweak X-Git-Tag: sface-0.1-5~8 X-Git-Url: http://git.onelab.eu/?p=sface.git;a=commitdiff_plain;h=709ea711aea8b6b147914eeb1a0ba98e734c42b5 Color tweak Make existing nodes cyan. Nodes to be added are green, and nodes to be removed are red. --- diff --git a/sface/screens/mainscreen.py b/sface/screens/mainscreen.py index 5811617..968d683 100644 --- a/sface/screens/mainscreen.py +++ b/sface/screens/mainscreen.py @@ -84,7 +84,7 @@ class NodeNameDelegate(QStyledItemDelegate): painter.drawRoundedRect(rect, 4, 4) if status_data == node_status['in']: # already in the slice - painter.fillPath(path, QColor.fromRgb(0, 250, 0)) + painter.fillPath(path, QColor("cyan")) painter.setPen(QColor.fromRgb(0, 0, 0)) painter.drawText(option.rect, 0, QString(data))