GNU Radio Manual and C++ API Reference  3.8.2.0
The Free & Open Software Radio Ecosystem
eyecontrolpanel.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2020 Free Software Foundation, Inc.
4  *
5  * This file is part of GNU Radio
6  *
7  * GNU Radio is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 3, or (at your option)
10  * any later version.
11  *
12  * GNU Radio is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with GNU Radio; see the file COPYING. If not, write to
19  * the Free Software Foundation, Inc., 51 Franklin Street,
20  * Boston, MA 02110-1301, USA.
21  */
22 
23 #ifndef EYE_CONTROL_PANEL_H
24 #define EYE_CONTROL_PANEL_H
25 
28 #include <QtGui/QtGui>
29 #include <QCheckBox>
30 #include <QComboBox>
31 #include <QHBoxLayout>
32 #include <QLabel>
33 #include <QPushButton>
34 #include <QSlider>
35 #include <vector>
36 
37 class EyeControlPanel : public QVBoxLayout
38 {
39  Q_OBJECT
40 
41 public:
44 
45 public slots:
46  void toggleAutoScale(bool en);
47  void toggleGrid(bool en);
51 
52 signals:
54 
55 private:
56  EyeDisplayForm* d_parent;
57  QGroupBox* d_axes_box;
58  QGroupBox* d_trigger_box;
59  QGroupBox* d_extras_box;
60 
61  QVBoxLayout* d_axes_layout;
62  QHBoxLayout* d_yoff_layout;
63  QHBoxLayout* d_yrange_layout;
64  QVBoxLayout* d_trigger_layout;
65  QHBoxLayout* d_trigger_level_layout;
66  QHBoxLayout* d_trigger_delay_layout;
67  QVBoxLayout* d_extras_layout;
68 
69  QLabel* d_yoff_label;
70  QLabel* d_yrange_label;
71  QLabel* d_trigger_level_label;
72  QLabel* d_trigger_delay_label;
73 
74  QCheckBox* d_autoscale_check;
75  QCheckBox* d_grid_check;
76  QCheckBox* d_axislabels_check;
77 
78  QPushButton *d_yoff_plus, *d_yoff_minus;
79  QPushButton *d_yrange_plus, *d_yrange_minus;
80  QComboBox* d_trigger_mode_combo;
81  QComboBox* d_trigger_slope_combo;
82  QPushButton *d_trigger_level_plus, *d_trigger_level_minus;
83  QPushButton *d_trigger_delay_plus, *d_trigger_delay_minus;
84  QPushButton* d_autoscale_button;
85  QPushButton* d_stop_button;
86 };
87 
88 #endif /* EYE_CONTROL_PANEL_H */
eyedisplayform.h
EyeControlPanel::~EyeControlPanel
~EyeControlPanel()
EyeControlPanel::signalToggleStopButton
void signalToggleStopButton()
EyeControlPanel::toggleTriggerMode
void toggleTriggerMode(gr::qtgui::trigger_mode mode)
eyedisplaysform.h
EyeControlPanel::toggleStopButton
void toggleStopButton()
EyeDisplayForm
EyeDisplaysForm child for managing eye pattern plots.
Definition: eyedisplayform.h:39
EyeControlPanel::toggleAutoScale
void toggleAutoScale(bool en)
EyeControlPanel::EyeControlPanel
EyeControlPanel(EyeDisplayForm *form)
EyeControlPanel::toggleGrid
void toggleGrid(bool en)
gr::qtgui::trigger_slope
trigger_slope
Definition: trigger_mode.h:36
gr::qtgui::trigger_mode
trigger_mode
Definition: trigger_mode.h:29
EyeControlPanel
Definition: eyecontrolpanel.h:38
EyeControlPanel::toggleTriggerSlope
void toggleTriggerSlope(gr::qtgui::trigger_slope slope)