]> sigrok.org Git - pulseview.git/blobdiff - pv/popups/channels.hpp
Channels: Add missing include
[pulseview.git] / pv / popups / channels.hpp
index 56a7bd1a643abf3611106afc91d3e7e42a5bd3d0..eb1e029773f1d9204c7845270e0605033b0932a2 100644 (file)
 #include <memory>
 #include <vector>
 
+#include <QCheckBox>
 #include <QFormLayout>
-#include <QHBoxLayout>
+#include <QGridLayout>
+#include <QLabel>
 #include <QPushButton>
 #include <QSignalMapper>
 
@@ -37,9 +39,6 @@ using std::map;
 using std::shared_ptr;
 using std::vector;
 
-class QCheckBox;
-class QGridLayout;
-
 namespace sigrok {
        class ChannelGroup;
 }
@@ -105,7 +104,7 @@ private:
                check_box_signal_map_;
        map< shared_ptr<sigrok::ChannelGroup>, QLabel*> group_label_map_;
 
-       QHBoxLayout buttons_bar_;
+       QGridLayout 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_;