X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fheader.h;h=35d5d20f49f7b5bcf89f1ca1c91a127188d07abb;hp=cb1d36246c3d76abb40b21ef89c7905f3f7062cf;hb=9b6378f147671e62f57887d51d01864d20e01475;hpb=a2ae0205f2737dfd8f7647f9eae2fdcb47a0ad25 diff --git a/pv/view/header.h b/pv/view/header.h index cb1d3624..35d5d20f 100644 --- a/pv/view/header.h +++ b/pv/view/header.h @@ -32,7 +32,7 @@ namespace pv { namespace view { -class Signal; +class Trace; class View; class Header : public MarginWidget @@ -43,7 +43,7 @@ public: Header(View &parent); private: - boost::shared_ptr get_mouse_over_signal( + boost::shared_ptr get_mouse_over_trace( const QPoint &pt); void clear_selection(); @@ -63,9 +63,7 @@ private: void contextMenuEvent(QContextMenuEvent *event); private slots: - void on_action_set_name_triggered(); - - void on_action_set_colour_triggered(); + void on_signals_changed(); void on_signals_moved(); @@ -76,12 +74,8 @@ private: QPoint _mouse_point; QPoint _mouse_down_point; - std::list, int> > - _drag_sigs; - - boost::shared_ptr _context_signal; - QAction *_action_set_name; - QAction *_action_set_colour; + std::list, int> > + _drag_traces; }; } // namespace view