X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fpopups%2Fchannels.hpp;h=344d21a824e7bb79e27bc28f0f44054e78d6b24c;hb=5a914348e8c95f92fd7c1c5988d563c5fb472aa2;hp=eb1e029773f1d9204c7845270e0605033b0932a2;hpb=ec2aadfe0fc0aca0893ea6fa43af79305e1cdbdb;p=pulseview.git diff --git a/pv/popups/channels.hpp b/pv/popups/channels.hpp index eb1e0297..344d21a8 100644 --- a/pv/popups/channels.hpp +++ b/pv/popups/channels.hpp @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include @@ -70,7 +71,7 @@ public: private: void set_all_channels(bool set); - void set_all_channels_conditionally( + void enable_channels_conditionally( function)> cond_func); void populate_group(shared_ptr group, @@ -104,7 +105,7 @@ private: check_box_signal_map_; map< shared_ptr, QLabel*> group_label_map_; - QGridLayout buttons_bar_; + QHBoxLayout buttons_bar_; QPushButton enable_all_channels_, disable_all_channels_; QPushButton enable_all_logic_channels_, enable_all_analog_channels_; QPushButton enable_all_named_channels_, enable_all_changing_channels_;