mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-04 03:20:53 +01:00
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:
@@ -188,7 +188,7 @@ void DVEventAddShape::updateHelpCross(const QPoint &p)
|
||||
QPen pen;
|
||||
pen.setWidthF(0.4);
|
||||
pen.setCosmetic(true);
|
||||
pen.setColor(Qt::darkGray);
|
||||
pen.setColor(Diagram::background_color == Qt::darkGray ? Qt::lightGray : Qt::darkGray);
|
||||
|
||||
QRectF rect = m_diagram -> border_and_titleblock.insideBorderRect();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user