X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.hpp;h=6541ccc6dff181e2cf386ed75657f5c0ecf11d1c;hp=0611e0021c512e4c3fb7b654a5432bae168bc38d;hb=489953884c0d7692fa20748314751e114ae54cf2;hpb=6f925ba9d6faf1077b73c5a5808259576081716a diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index 0611e002..6541ccc6 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -25,10 +25,10 @@ #include #include +#include #include -#include #include -#include +#include #include "session.hpp" #include "views/viewbase.hpp" @@ -72,7 +72,7 @@ public: explicit MainWindow(DeviceManager &device_manager, string open_file_name = string(), string open_file_format = string(), - QWidget *parent = 0); + QWidget *parent = nullptr); ~MainWindow(); @@ -129,9 +129,11 @@ private Q_SLOTS: void on_view_coloured_bg_shortcut(); void on_view_sticky_scrolling_shortcut(); void on_view_show_sampling_points_shortcut(); + void on_view_show_analog_minor_grid_shortcut(); void on_settingViewColouredBg_changed(const QVariant new_value); void on_settingViewShowSamplingPoints_changed(const QVariant new_value); + void on_settingViewShowAnalogMinorGrid_changed(const QVariant new_value); void on_close_current_tab(); @@ -156,6 +158,7 @@ private: QShortcut *view_sticky_scrolling_shortcut_; QShortcut *view_show_sampling_points_shortcut_; + QShortcut *view_show_analog_minor_grid_shortcut_; QShortcut *view_coloured_bg_shortcut_; QShortcut *run_stop_shortcut_; QShortcut *close_application_shortcut_;