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();
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);
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_scroll_to_start_triggered();
+ void on_scroll_to_end_triggered();
+
void on_close_current_tab();
private:
QShortcut *run_stop_shortcut_;
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