]> sigrok.org Git - pulseview.git/blobdiff - pv/popups/channels.hpp
Channels popup: Use a more compact one-line button row.
[pulseview.git] / pv / popups / channels.hpp
index eb1e029773f1d9204c7845270e0605033b0932a2..e486768f001e4ad76edef29eb1549d39cde8c79b 100644 (file)
@@ -28,6 +28,7 @@
 #include <QCheckBox>
 #include <QFormLayout>
 #include <QGridLayout>
+#include <QHBoxLayout>
 #include <QLabel>
 #include <QPushButton>
 #include <QSignalMapper>
@@ -104,7 +105,7 @@ private:
                check_box_signal_map_;
        map< shared_ptr<sigrok::ChannelGroup>, 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_;