X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fpopups%2Fchannels.hpp;h=25cd0ae66a3baf37a353acdc382ddfef8e2f92d7;hp=61dc9e156f2f95c5b72a6725796379b3b4d5e3e1;hb=bf0edd2b0cbb5f4bd5d69b0f00bcea7d037e2287;hpb=61703a0124c7ace84caf415f7d491a3ad6f42599 diff --git a/pv/popups/channels.hpp b/pv/popups/channels.hpp index 61dc9e1..25cd0ae 100644 --- a/pv/popups/channels.hpp +++ b/pv/popups/channels.hpp @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef PULSEVIEW_PV_POPUPS_CHANNELS_H -#define PULSEVIEW_PV_POPUPS_CHANNELS_H +#ifndef PULSEVIEW_PV_POPUPS_CHANNELS_HPP +#define PULSEVIEW_PV_POPUPS_CHANNELS_HPP #include #include @@ -44,7 +44,11 @@ namespace pv { class Session; namespace binding { -class DeviceOptions; +class Device; +} + +namespace data { +class SignalBase; } namespace view { @@ -58,19 +62,19 @@ class Channels : public pv::widgets::Popup Q_OBJECT public: - Channels(Session &session_, QWidget *parent); + Channels(Session &session, QWidget *parent); private: void set_all_channels(bool set); void populate_group(std::shared_ptr group, - const std::vector< std::shared_ptr > sigs); + const std::vector< std::shared_ptr > sigs); QGridLayout* create_channel_group_grid( - const std::vector< std::shared_ptr > sigs); + const std::vector< std::shared_ptr > sigs); private: - void showEvent(QShowEvent *e); + void showEvent(QShowEvent *event); private Q_SLOTS: void on_channel_checked(QWidget *widget); @@ -85,9 +89,9 @@ private: bool updating_channels_; - std::vector< std::shared_ptr > + std::vector< std::shared_ptr > group_bindings_; - std::map< QCheckBox*, std::shared_ptr > + std::map< QCheckBox*, std::shared_ptr > check_box_signal_map_; QHBoxLayout buttons_bar_; @@ -100,4 +104,4 @@ private: } // popups } // pv -#endif // PULSEVIEW_PV_POPUPS_CHANNELS_H +#endif // PULSEVIEW_PV_POPUPS_CHANNELS_HPP