#include <list>
#include <map>
-
-#include <boost/shared_ptr.hpp>
+#include <memory>
#include <QComboBox>
#include <QDoubleSpinBox>
SamplingBar(SigSession &session, QWidget *parent);
void set_device_list(
- const std::list< boost::shared_ptr<pv::device::DevInst> >
+ const std::list< std::shared_ptr<pv::device::DevInst> >
&devices,
- boost::shared_ptr<pv::device::DevInst> selected);
+ std::shared_ptr<pv::device::DevInst> selected);
- boost::shared_ptr<pv::device::DevInst> get_selected_device() const;
+ std::shared_ptr<pv::device::DevInst> get_selected_device() const;
void set_capture_state(pv::SigSession::capture_state state);
-signals:
+Q_SIGNALS:
void run_stop();
private:
void commit_sample_rate();
void commit_sample_count();
-private slots:
+private Q_SLOTS:
void on_device_selected();
void on_sample_count_changed();
void on_sample_rate_changed();
SigSession &_session;
QComboBox _device_selector;
- std::map<const sr_dev_inst*, boost::weak_ptr<device::DevInst> >
+ std::map<const sr_dev_inst*, std::weak_ptr<device::DevInst> >
_device_selector_map;
bool _updating_device_selector;
pv::widgets::PopupToolButton _configure_button;
QAction *_configure_button_action;
- pv::widgets::PopupToolButton _probes_button;
+ pv::widgets::PopupToolButton _channels_button;
pv::widgets::SweepTimingWidget _sample_count;
pv::widgets::SweepTimingWidget _sample_rate;