zoom: add ctrl for small increments with key, to get same as with wheel

This commit is contained in:
Philippe Teuwen
2020-10-05 12:16:19 +02:00
parent 128fdd82e2
commit 1f2133fa17
2 changed files with 34 additions and 13 deletions

View File

@@ -51,7 +51,7 @@ class Plot: public QWidget {
protected:
void paintEvent(QPaintEvent *event);
void closeEvent(QCloseEvent *event);
void Zoom(double factor, int refX);
void Zoom(double factor, uint32_t refX);
void Move(int offset);
void Trim(void);
void wheelEvent(QWheelEvent *event);