]> sigrok.org Git - pulseview.git/blobdiff - pv/view/view.h
Improved propagation of drag event so that the scroll bars can be updated
[pulseview.git] / pv / view / view.h
index 3397ba2ce28800c3b996c7a1f19e455ef800ce6a..6d7ac36dfb49265ea9c6fe92e0d1a6fc33133ace 100644 (file)
@@ -54,6 +54,7 @@ private:
 
 public:
        static const int SignalHeight;
+       static const int SignalSnapGridSize;
 
        static const QColor CursorAreaColour;
 
@@ -106,11 +107,15 @@ public:
 signals:
        void hover_point_changed();
 
+       void signals_moved();
+
 private:
        void get_scroll_layout(double &length, double &offset) const;
        
        void update_scroll();
 
+       void reset_signal_layout();
+
 private:
        bool eventFilter(QObject *object, QEvent *event);
 
@@ -127,6 +132,8 @@ private slots:
 
        void marker_time_changed();
 
+       void on_signals_moved();
+
 private:
        SigSession &_session;