Commit 092b282f authored by Maxime Perrotin's avatar Maxime Perrotin

Add brush (color) to the Condition boxes

parent 865f0c0a
......@@ -25,7 +25,7 @@
# Copyright (c) 2012 European Space Agency
from PySide.QtGui import QPainterPath, QPen
from PySide.QtGui import QPainterPath, QPen, QBrush, QColor
from PySide.QtCore import Qt, Slot, QPointF
from msccore import MscCondition
......@@ -135,6 +135,7 @@ class MscGraphCondition(MscGraphItem):
def initilizeGraphics(self):
self.color =
self.pen = QPen(self.color, 1, Qt.SolidLine, Qt.RoundCap, Qt.RoundJoin)
self.brush = QBrush(QColor(255, 255, 202))
def updateBounding(self):
......@@ -160,4 +161,5 @@ class MscGraphCondition(MscGraphItem):
def paint(self, painter, option, widget):
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