X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.hpp;fp=pv%2Fmainwindow.hpp;h=6f2fded904d426a57257780c8be62b461c680c17;hp=92fba45f622a93d96337d0937fd0248a62a0435f;hb=b6262d704b8f34f5de6ffa9a54d2adf3ebf02556;hpb=7a5535dc88a1125989d5fbcf36c2affe21a0351e diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index 92fba45f..6f2fded9 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -108,6 +108,8 @@ private: void save_ui_settings(); void restore_ui_settings(); + void zoom_current_view(double steps); + shared_ptr get_tab_session(int index) const; void closeEvent(QCloseEvent *event); @@ -148,6 +150,9 @@ private Q_SLOTS: void on_settingViewShowSamplingPoints_changed(const QVariant new_value); void on_settingViewShowAnalogMinorGrid_changed(const QVariant new_value); + void on_zoom_out_shortcut_triggered(); + void on_zoom_in_shortcut_triggered(); + void on_close_current_tab(); private: @@ -177,6 +182,8 @@ private: QShortcut *run_stop_shortcut_; QShortcut *close_application_shortcut_; QShortcut *close_current_tab_shortcut_; + QShortcut *zoom_in_shortcut_; + QShortcut *zoom_out_shortcut_; }; } // namespace pv