X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Ftoolbars%2Fsamplingbar.h;h=2c2431c427a71ccb0fa3ff166b38503737d8edb9;hb=300fc11ea8ec416b31c7dbc3d3d52277af24d1b7;hp=e59d2f9f0b195da8417c126de2ea6f4ec7f53539;hpb=e95e8563a1de0d2045cb8f30083889896b6c94df;p=pulseview.git diff --git a/pv/toolbars/samplingbar.h b/pv/toolbars/samplingbar.h index e59d2f9..2c2431c 100644 --- a/pv/toolbars/samplingbar.h +++ b/pv/toolbars/samplingbar.h @@ -25,8 +25,7 @@ #include #include - -#include +#include #include #include @@ -62,11 +61,11 @@ public: SamplingBar(SigSession &session, QWidget *parent); void set_device_list( - const std::list< boost::shared_ptr > + const std::list< std::shared_ptr > &devices, - boost::shared_ptr selected); + std::shared_ptr selected); - boost::shared_ptr get_selected_device() const; + std::shared_ptr get_selected_device() const; void set_capture_state(pv::SigSession::capture_state state); @@ -89,11 +88,14 @@ private slots: void on_config_changed(); +protected: + bool eventFilter(QObject *watched, QEvent *event); + private: SigSession &_session; QComboBox _device_selector; - std::map > + std::map > _device_selector_map; bool _updating_device_selector;