projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added empty unit testing framework
[pulseview.git]
/
sigview.h
diff --git
a/sigview.h
b/sigview.h
index 2d450df21c0822374d36aa0bdccd9cf2b24f7b6a..3630d17e572cfe074a893d7463370d0af4148a3e 100644
(file)
--- a/
sigview.h
+++ b/
sigview.h
@@
-33,6
+33,9
@@
class SigView : public QGLWidget
Q_OBJECT
private:
Q_OBJECT
private:
+ static const double MaxScale;
+ static const double MinScale;
+
static const int SignalHeight;
static const int LabelMarginWidth;
static const int RulerHeight;
static const int SignalHeight;
static const int LabelMarginWidth;
static const int RulerHeight;
@@
-46,6
+49,8
@@
private:
public:
explicit SigView(SigSession &session, QWidget *parent = 0);
public:
explicit SigView(SigSession &session, QWidget *parent = 0);
+ void zoom(double steps);
+
protected:
void initializeGL();
protected:
void initializeGL();
@@
-65,6
+70,8
@@
private:
void paint_ruler(QPainter &p);
void paint_ruler(QPainter &p);
+ void zoom(double steps, int offset);
+
private slots:
void data_updated();
private slots:
void data_updated();