mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Bug Fix: correct Folio List folio display. Bug Fix: correct arrow key move behavior
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4693 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
#include "dveventinterface.h"
|
||||
#include "diagrameventaddelement.h"
|
||||
#include "QPropertyUndoCommand/qpropertyundocommand.h"
|
||||
#include "qetshapeitem.h"
|
||||
|
||||
/**
|
||||
Constructeur
|
||||
@@ -683,6 +684,8 @@ void DiagramView::scrollOnMovement(QKeyEvent *e){
|
||||
QList<QGraphicsItem *> selected_elmts = scene->selectedContent().items(255);
|
||||
QRectF viewed_scene = viewedSceneRect();
|
||||
foreach (QGraphicsItem *qgi, selected_elmts){
|
||||
if (qgraphicsitem_cast<Conductor *>(qgi)) continue;
|
||||
if (qgraphicsitem_cast<QetShapeItem *>(qgi)) continue;
|
||||
qreal x = qgi->pos().x();
|
||||
qreal y = qgi->pos().y();
|
||||
qreal bottom = viewed_scene.bottom();
|
||||
|
||||
Reference in New Issue
Block a user