#ifndef PULSEVIEW_PV_POPUPS_PROBES_H
#define PULSEVIEW_PV_POPUPS_PROBES_H
+#include <map>
+#include <memory>
#include <vector>
#include <QFormLayout>
#include <QHBoxLayout>
#include <QPushButton>
+#include <QSignalMapper>
#include <pv/widgets/popup.h>
+struct sr_channel_group;
+
class QCheckBox;
class QGridLayout;
private:
void set_all_probes(bool set);
- void populate_group(const sr_probe_group *group,
- const std::vector< boost::shared_ptr<pv::view::Signal> > sigs);
+ void populate_group(const sr_channel_group *group,
+ const std::vector< std::shared_ptr<pv::view::Signal> > sigs);
- QGridLayout* create_probe_group_grid(
- const std::vector< boost::shared_ptr<pv::view::Signal> > sigs);
+ QGridLayout* create_channel_group_grid(
+ const std::vector< std::shared_ptr<pv::view::Signal> > sigs);
private:
void showEvent(QShowEvent *e);
bool _updating_probes;
- std::vector< boost::shared_ptr<pv::prop::binding::DeviceOptions> >
+ std::vector< std::shared_ptr<pv::prop::binding::DeviceOptions> >
_group_bindings;
- std::map< QCheckBox*, boost::shared_ptr<pv::view::Signal> >
+ std::map< QCheckBox*, std::shared_ptr<pv::view::Signal> >
_check_box_signal_map;
QHBoxLayout _buttons_bar;