X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=pv%2Fmainwindow.hpp;h=aa325e7373c0f3c21a414e35c0f045b07c8ffd9a;hb=c409988b235a55772537ef92e1a231bb0a75fa6e;hp=6f2fded904d426a57257780c8be62b461c680c17;hpb=b6262d704b8f34f5de6ffa9a54d2adf3ebf02556;p=pulseview.git diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index 6f2fded9..aa325e73 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -109,6 +109,7 @@ private: void restore_ui_settings(); void zoom_current_view(double steps); + void scroll_to_start_or_end(bool start); shared_ptr get_tab_session(int index) const; @@ -152,6 +153,8 @@ private Q_SLOTS: void on_zoom_out_shortcut_triggered(); void on_zoom_in_shortcut_triggered(); + void on_scroll_to_start_triggered(); + void on_scroll_to_end_triggered(); void on_close_current_tab(); @@ -183,7 +186,11 @@ private: QShortcut *close_application_shortcut_; QShortcut *close_current_tab_shortcut_; QShortcut *zoom_in_shortcut_; + QShortcut *zoom_in_shortcut_2_; QShortcut *zoom_out_shortcut_; + QShortcut *zoom_out_shortcut_2_; + QShortcut *home_shortcut_; + QShortcut *end_shortcut_; }; } // namespace pv