mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
Minor: basic shape event change color to blue
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3463 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -143,7 +143,7 @@ void DVEventAddShape::updateHelpCross(const QPoint &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::yellow);
|
pen.setColor(Qt::darkBlue);
|
||||||
//Add +5 for each line, because the topleft of diagram isn't draw at position (0:0) but (5:5)
|
//Add +5 for each line, because the topleft of diagram isn't draw at position (0:0) but (5:5)
|
||||||
if (!m_help_horiz) {
|
if (!m_help_horiz) {
|
||||||
m_help_horiz = new QGraphicsLineItem(m_diagram -> border_and_titleblock.rowsHeaderWidth() + 5, 0,
|
m_help_horiz = new QGraphicsLineItem(m_diagram -> border_and_titleblock.rowsHeaderWidth() + 5, 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user