X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fcursorpair.hpp;h=ba6b2a7097590120942ad530325bf48bb4321aa0;hp=0a5ff4cb782e7bca07607b90b112587fc3a955e7;hb=0bb3dd25421a8638afb881d46799a13378d3f00b;hpb=710c2a1896fbac968c82f2d1257aaabd10a48cc8 diff --git a/pv/views/trace/cursorpair.hpp b/pv/views/trace/cursorpair.hpp index 0a5ff4cb..ba6b2a70 100644 --- a/pv/views/trace/cursorpair.hpp +++ b/pv/views/trace/cursorpair.hpp @@ -17,8 +17,8 @@ * along with this program; if not, see . */ -#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_CURSORPAIR_HPP -#define PULSEVIEW_PV_VIEWS_TRACEVIEW_CURSORPAIR_HPP +#ifndef PULSEVIEW_PV_VIEWS_TRACE_CURSORPAIR_HPP +#define PULSEVIEW_PV_VIEWS_TRACE_CURSORPAIR_HPP #include "cursor.hpp" #include "pv/globalsettings.hpp" @@ -86,6 +86,8 @@ public: pv::widgets::Popup* create_popup(QWidget *parent) override; + QMenu* create_header_context_menu(QWidget *parent) override; + QRectF label_rect(const QRectF &rect) const override; /** @@ -126,10 +128,11 @@ private: QSizeF text_size_; QRectF label_area_; bool label_incomplete_; + bool show_interval_, show_frequency_, show_samples_; }; } // namespace trace } // namespace views } // namespace pv -#endif // PULSEVIEW_PV_VIEWS_TRACEVIEW_CURSORPAIR_HPP +#endif // PULSEVIEW_PV_VIEWS_TRACE_CURSORPAIR_HPP