X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fflag.hpp;h=4bf6ebd5db7f974a9857e733ce0b49c8cbde046f;hp=4f707bddf3caaa5d9c9fc233950769510041bf21;hb=3b2ead4fbeb899188564ec9c69c216708311a881;hpb=1573bf16ba50d1c023ad3a9ce596f0ab6eaeacff diff --git a/pv/views/trace/flag.hpp b/pv/views/trace/flag.hpp index 4f707bd..4bf6ebd 100644 --- a/pv/views/trace/flag.hpp +++ b/pv/views/trace/flag.hpp @@ -32,12 +32,16 @@ namespace pv { namespace views { namespace trace { +/** + * The Flag class represents items on the @ref Ruler that mark important + * events on the timeline to the user. They are editable and thus non-static. + */ class Flag : public TimeMarker, public enable_shared_from_this { Q_OBJECT public: - static const QColor FillColour; + static const QColor FillColor; public: /** @@ -65,7 +69,7 @@ public: pv::widgets::Popup* create_popup(QWidget *parent); - QMenu* create_context_menu(QWidget *parent); + QMenu* create_header_context_menu(QWidget *parent); void delete_pressed();