mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
All help line have the same visual rendering
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3621 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -105,7 +105,9 @@ void ESEventInterface::updateHelpCross(const QPointF &p) {
|
|||||||
//If line isn't created yet, we create it.
|
//If line isn't created yet, we create it.
|
||||||
if (!m_help_horiz || !m_help_verti) {
|
if (!m_help_horiz || !m_help_verti) {
|
||||||
QPen pen;
|
QPen pen;
|
||||||
pen.setColor(Qt::darkBlue);
|
pen.setWidthF(0.4);
|
||||||
|
pen.setCosmetic(true);
|
||||||
|
pen.setColor(Qt::darkGray);
|
||||||
if (!m_help_horiz) {
|
if (!m_help_horiz) {
|
||||||
m_help_horiz = new QGraphicsLineItem(-10000, 0, 10000, 0, 0, m_scene);
|
m_help_horiz = new QGraphicsLineItem(-10000, 0, 10000, 0, 0, m_scene);
|
||||||
m_help_horiz -> setPen(pen);
|
m_help_horiz -> setPen(pen);
|
||||||
|
|||||||
Reference in New Issue
Block a user