Use static signal offsets instead of offsets calculated on-the-fly
[pulseview.git] / pv / view / view.h
index f196cfe07d9c3bea5d97e7bf972d6aef9008baa0..45ccd3459700a65c897fb9ab4a06efd8ba0f0083 100644 (file)
@@ -26,6 +26,7 @@
 #include <utility>
 
 #include <QAbstractScrollArea>
+#include <QSizeF>
 
 #include "cursor.h"
 
@@ -56,6 +57,8 @@ public:
 
        static const QColor CursorAreaColour;
 
+       static const QSizeF LabelPadding;
+
 public:
        explicit View(SigSession &session, QWidget *parent = 0);
 
@@ -108,6 +111,8 @@ private:
        
        void update_scroll();
 
+       void reset_signal_layout();
+
 private:
        bool eventFilter(QObject *object, QEvent *event);