]> sigrok.org Git - pulseview.git/blobdiff - pv/mainwindow.hpp
Fix clang warning: shifting a negative signed value is undefined
[pulseview.git] / pv / mainwindow.hpp
index 94fc092a940c278783629c77c41099fb7ed0fd7d..208cbe4367e163062b59fb8fc05e6e3695da219a 100644 (file)
@@ -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<devices::Device> device);
 
 public Q_SLOTS:
-       void export_file(std::shared_ptr<sigrok::OutputFormat> format);
+       void export_file(std::shared_ptr<sigrok::OutputFormat> format,
+               bool selection_only = false);
        void import_file(std::shared_ptr<sigrok::InputFormat> 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_;