mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-07 22:22:33 +01:00
Minor:shape event, cosmetic change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3480 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -143,7 +143,9 @@ void DVEventAddShape::updateHelpCross(const QPoint &p) {
|
||||
//If line isn't created yet, we create it.
|
||||
if (!m_help_horiz || !m_help_verti) {
|
||||
QPen pen;
|
||||
pen.setColor(Qt::darkBlue);
|
||||
pen.setWidthF(0.4);
|
||||
pen.setCosmetic(true);
|
||||
pen.setColor(Qt::darkGray);
|
||||
//Add +5 for each line, because the topleft of diagram isn't draw at position (0:0) but (5:5)
|
||||
if (!m_help_horiz) {
|
||||
m_help_horiz = new QGraphicsLineItem(m_diagram -> border_and_titleblock.rowsHeaderWidth() + 5, 0,
|
||||
|
||||
Reference in New Issue
Block a user