mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
Minor change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3622 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -287,7 +287,10 @@ void Terminal::paint(QPainter *p, const QStyleOptionGraphicsItem *options, QWidg
|
|||||||
{
|
{
|
||||||
if (!m_help_line)
|
if (!m_help_line)
|
||||||
m_help_line = new QGraphicsLineItem(this);
|
m_help_line = new QGraphicsLineItem(this);
|
||||||
QPen pen(Qt::darkBlue);
|
QPen pen;
|
||||||
|
pen.setWidthF(0.4);
|
||||||
|
pen.setCosmetic(true);
|
||||||
|
pen.setColor(Qt::darkBlue);
|
||||||
|
|
||||||
QLineF line(HelpLine());
|
QLineF line(HelpLine());
|
||||||
|
|
||||||
@@ -297,6 +300,8 @@ void Terminal::paint(QPainter *p, const QStyleOptionGraphicsItem *options, QWidg
|
|||||||
if (t)
|
if (t)
|
||||||
{
|
{
|
||||||
line.setP2(t -> dockConductor());
|
line.setP2(t -> dockConductor());
|
||||||
|
pen.setWidthF(0.4);
|
||||||
|
pen.setCosmetic(true);
|
||||||
pen.setColor(Qt::darkGreen);
|
pen.setColor(Qt::darkGreen);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user