]> sigrok.org Git - pulseview.git/blobdiff - pv/mainwindow.h
Added cursors show/hide menu action
[pulseview.git] / pv / mainwindow.h
index 88cbd6fd8f6492e4870d6263b77525402b76a581..df7d86f5f3151b0a399a0c45bdf7eba1a7965799 100644 (file)
@@ -18,8 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#ifndef MAINWINDOW_H
-#define MAINWINDOW_H
+#ifndef PULSEVIEW_PV_MAINWINDOW_H
+#define PULSEVIEW_PV_MAINWINDOW_H
 
 #include <QMainWindow>
 
@@ -59,6 +59,7 @@ private:
        QAction *_action_open;
        QAction *_action_view_zoom_in;
        QAction *_action_view_zoom_out;
+       QAction *_action_view_show_cursors;
        QAction *_action_about;
 
        QMenuBar *_menu_bar;
@@ -81,6 +82,8 @@ private slots:
 
        void on_actionViewZoomOut_triggered();
 
+       void on_actionViewShowCursors_triggered();
+
        void on_actionAbout_triggered();
 
        void run_stop();
@@ -88,4 +91,4 @@ private slots:
 
 } // namespace pv
 
-#endif // MAINWINDOW_H
+#endif // PULSEVIEW_PV_MAINWINDOW_H