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:
scorpio810
2019-02-24 15:44:47 +00:00
parent 89d2b4f7b0
commit ba293a650e
4 changed files with 198 additions and 26 deletions

View File

@@ -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