Grey background : title block and border have grey background too.

Help line of item(add shape, or add element) change is color when background is grey


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4031 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-06-28 12:37:10 +00:00
parent 20f4985f7a
commit 748e9bd186
4 changed files with 4 additions and 6 deletions

View File

@@ -314,7 +314,7 @@ void Terminal::paint(QPainter *p, const QStyleOptionGraphicsItem *options, QWidg
{
m_help_line_a = new QGraphicsLineItem(this);
QPen pen;
pen.setColor(Qt::darkGray);
pen.setColor(Diagram::background_color == Qt::darkGray ? Qt::lightGray : Qt::darkGray);
m_help_line_a -> setPen(pen);
}