X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.hpp;h=208cbe4367e163062b59fb8fc05e6e3695da219a;hp=94fc092a940c278783629c77c41099fb7ed0fd7d;hb=c28fa62bc89656ba3b1b01011a45e941d6c7d42a;hpb=d2fc6be9af3ba409032da6dcabc4630c657bb56c diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index 94fc092a..208cbe43 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -92,6 +92,7 @@ public: QAction* action_view_zoom_fit() const; QAction* action_view_zoom_one_to_one() const; QAction* action_view_sticky_scrolling() const; + QAction* action_view_coloured_bg() const; QAction* action_view_show_cursors() const; QAction* action_about() const; @@ -104,7 +105,8 @@ public: void select_device(std::shared_ptr device); public Q_SLOTS: - void export_file(std::shared_ptr format); + void export_file(std::shared_ptr format, + bool selection_only = false); void import_file(std::shared_ptr format); private: @@ -159,6 +161,8 @@ private Q_SLOTS: void on_actionViewStickyScrolling_triggered(); + void on_actionViewColouredBg_triggered(); + void on_actionViewShowCursors_triggered(); void on_actionAbout_triggered(); @@ -194,6 +198,7 @@ private: QAction *const action_view_zoom_fit_; QAction *const action_view_zoom_one_to_one_; QAction *const action_view_sticky_scrolling_; + QAction *const action_view_coloured_bg_; QAction *const action_view_show_cursors_; QAction *const action_about_;