X-Git-Url: http://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.hpp;fp=pv%2Fmainwindow.hpp;h=6f3676c214f24c7343ed62bde29fe1446d1d036f;hp=ea549c502a27c841001569bfe20b43d1d065f111;hb=8ba6f8b7541409dd33fd4ddd1b51494f555773c9;hpb=2bdc5796c866b9494b2c40051e973e4385d9c46f diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index ea549c50..6f3676c2 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -30,7 +30,6 @@ #include #include -#include "globalsettings.hpp" #include "session.hpp" #include "subwindows/subwindowbase.hpp" #include "views/viewbase.hpp" @@ -63,7 +62,7 @@ class DecoderMenu; #endif } -class MainWindow : public QMainWindow, public GlobalSettingsInterface +class MainWindow : public QMainWindow { Q_OBJECT @@ -100,17 +99,12 @@ public: void save_sessions(); void restore_sessions(); - void on_setting_changed(const QString &key, const QVariant &value); - private: void setup_ui(); void save_ui_settings(); 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; void closeEvent(QCloseEvent *event); @@ -147,10 +141,6 @@ private Q_SLOTS: void on_view_show_sampling_points_shortcut(); void on_view_show_analog_minor_grid_shortcut(); - void on_settingViewColoredBg_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(); private: