#include <QtOpenGL/QGLWidget>
#include <QTimer>
+class QPainter;
class QPaintEvent;
class SigSession;
private:
static const int SignalHeight;
static const int LabelMarginWidth;
+ static const int RulerHeight;
+
+ static const int ScaleUnits[3];
+
+ static const QString SIPrefixes[9];
+ static const int FirstSIPrefixPower;
public:
explicit SigView(SigSession &session, QWidget *parent = 0);
private:
void setupViewport(int width, int height);
+ void paintRuler(QPainter &p);
+
private slots:
void dataUpdated();