mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-06 05:10:52 +01:00
Add two speedsize for displacing items when working with a keyboard on
diagram editor : normal displacement "adjustable from 1 to 30" (keys : Left,Right,Up,Down) fine displacement "adjustable from 1 to 10" (ALT + keys : Left,Right,Up,Down ), thanks Erik for his patch git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5749 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -80,6 +80,10 @@ class Diagram : public QGraphicsScene
|
||||
static int xKeyGrid;
|
||||
/// Key grid y step size
|
||||
static int yKeyGrid;
|
||||
/// Key grid fine x step size
|
||||
static int xKeyGridFine;
|
||||
/// Key grid fine y step size
|
||||
static int yKeyGridFine;
|
||||
/// margin around the diagram
|
||||
static const qreal margin;
|
||||
/// background color of diagram
|
||||
|
||||
Reference in New Issue
Block a user