]> sigrok.org Git - pulseview.git/blobdiff - sigview.h
Replaced mainwindow.ui XML with code
[pulseview.git] / sigview.h
index d66898f4c0981b8f2a933cc425402e1251570fc5..aae9e67e37c7d4fb4b837989df63ade658f62709 100644 (file)
--- a/sigview.h
+++ b/sigview.h
@@ -33,6 +33,9 @@ class SigView : public QGLWidget
        Q_OBJECT
 
 private:
+       static const double MaxScale;
+       static const double MinScale;
+
        static const int SignalHeight;
        static const int LabelMarginWidth;
        static const int RulerHeight;
@@ -61,12 +64,12 @@ private:
        void wheelEvent(QWheelEvent *event);
 
 private:
-       void setupViewport(int width, int height);
+       void setup_viewport(int width, int height);
 
-       void paintRuler(QPainter &p);
+       void paint_ruler(QPainter &p);
 
 private slots:
-       void dataUpdated();
+       void data_updated();
 
 private:
        SigSession &_session;