X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.hpp;h=ad7e6b2bdb6f48a0d2723335eb9cc598a682675e;hp=6a4bdfc80f4b46134fde599d33f4eea2dda469a1;hb=c7b03d9daa9574bd633fbac2d5976716f58027f5;hpb=476f9ebf07dc64993d30192ed01d3c7a3c53f1b7 diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index 6a4bdfc..ad7e6b2 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -90,6 +90,7 @@ public: QAction* action_view_zoom_out() const; QAction* action_view_zoom_fit() const; QAction* action_view_zoom_one_to_one() const; + QAction* action_view_sticky_scrolling() const; QAction* action_view_show_cursors() const; QAction* action_about() const; @@ -152,6 +153,8 @@ private Q_SLOTS: void on_actionViewZoomOneToOne_triggered(); + void on_actionViewStickyScrolling_triggered(); + void on_actionViewShowCursors_triggered(); void on_actionAbout_triggered(); @@ -161,6 +164,8 @@ private Q_SLOTS: void capture_state_changed(int state); void device_selected(); + void sticky_scrolling_changed(bool state); + private: DeviceManager &device_manager_; @@ -181,6 +186,7 @@ private: QAction *const action_view_zoom_out_; QAction *const action_view_zoom_fit_; QAction *const action_view_zoom_one_to_one_; + QAction *const action_view_sticky_scrolling_; QAction *const action_view_show_cursors_; QAction *const action_about_;