mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Increase size of the conductors junction points
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4572 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -606,10 +606,10 @@ switch(e -> key())
|
||||
case Qt::Key_End:
|
||||
current_project->changeLastTab();
|
||||
return;
|
||||
case Qt::Key_ZoomOut:
|
||||
case Qt::Key_ZoomOut:
|
||||
zoom(0.85);
|
||||
return;
|
||||
case Qt::Key_ZoomIn:
|
||||
case Qt::Key_ZoomIn:
|
||||
zoom(1.15);
|
||||
return;
|
||||
case Qt::Key_Up:
|
||||
|
||||
@@ -498,7 +498,7 @@ void Conductor::paint(QPainter *qp, const QStyleOptionGraphicsItem *options, QWi
|
||||
qp -> setBrush(junction_brush);
|
||||
qp -> setRenderHint(QPainter::Antialiasing, true);
|
||||
foreach(QPointF point, junctions_list) {
|
||||
qp -> drawEllipse(QRectF(point.x() - 1, point.y() - 1, 2.0, 2.0));
|
||||
qp -> drawEllipse(QRectF(point.x() - 1, point.y() - 1, 3.0, 3.0));
|
||||
}
|
||||
}
|
||||
qp -> restore();
|
||||
|
||||
Reference in New Issue
Block a user