]> sigrok.org Git - pulseview.git/blobdiff - pv/mainwindow.hpp
Fix #1440 by moving shortcuts from the main window to the view
[pulseview.git] / pv / mainwindow.hpp
index 2a2dabcdc542cfd0d71490c99f3842e6852dc0c6..ea549c502a27c841001569bfe20b43d1d065f111 100644 (file)
@@ -92,7 +92,8 @@ public:
 
        void remove_session(shared_ptr<Session> session);
 
-       void add_session_with_file(string open_file_name, string open_file_format);
+       void add_session_with_file(string open_file_name, string open_file_format,
+               string open_setup_file_name);
 
        void add_default_session();
 
@@ -107,6 +108,9 @@ private:
        void save_ui_settings();
        void restore_ui_settings();
 
+       void zoom_current_view(double steps);
+       void scroll_to_start_or_end(bool start);
+
        shared_ptr<Session> get_tab_session(int index) const;
 
        void closeEvent(QCloseEvent *event);