X-Git-Url: http://git.onelab.eu/?p=sface.git;a=blobdiff_plain;f=sface%2Fscreens%2Fmainscreen.py;h=c573aea863a4f943581b9fe44ce050780514fac4;hp=f1015b4d14aa7e798ae63f0a555289b2742b0b46;hb=b9b34de9896478db27e37b1d7bb9cebb14f2c2c7;hpb=75899ea9c4dbc29e3bb382a25b1f99730d5645c3 diff --git a/sface/screens/mainscreen.py b/sface/screens/mainscreen.py index f1015b4..c573aea 100644 --- a/sface/screens/mainscreen.py +++ b/sface/screens/mainscreen.py @@ -160,7 +160,7 @@ class NodeNameDelegate(QStyledItemDelegate): if itemType(index) == "node": if status_data == node_status['in']: # already in the slice - painter.fillPath(path, QColor("cyan")) + painter.fillPath(path, QColor.fromRgb(0, 250, 250)) painter.setPen(QColor.fromRgb(0, 0, 0)) painter.drawText(option.rect, 0, QString(data)) @@ -180,7 +180,7 @@ class NodeNameDelegate(QStyledItemDelegate): else: if status_data == tag_status['in']: # already in the slice - painter.fillPath(path, QColor("cyan")) + painter.fillPath(path, QColor.fromRgb(0, 250, 250)) painter.setPen(QColor.fromRgb(0, 0, 0)) painter.drawText(option.rect, 0, QString(data))