GNU Radio Manual and C++ API Reference 3.10.5.1
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 * SPDX-License-Identifier: GPL-3.0-or-later
8 */
9
10#ifndef EYE_CONTROL_PANEL_H
11#define EYE_CONTROL_PANEL_H
12
15#include <QtGui/QtGui>
16#include <QCheckBox>
17#include <QComboBox>
18#include <QHBoxLayout>
19#include <QLabel>
20#include <QPushButton>
21#include <QSlider>
22#include <vector>
23
24class EyeControlPanel : public QVBoxLayout
25{
26 Q_OBJECT
27
28public:
30 ~EyeControlPanel() override;
31
32public slots:
33 void toggleAutoScale(bool en);
34 void toggleGrid(bool en);
38 void updateStopLabel(bool on);
39
40signals:
42
43private:
44 EyeDisplayForm* d_parent;
45 QGroupBox* d_axes_box;
46 QGroupBox* d_trigger_box;
47 QGroupBox* d_extras_box;
48
49 QVBoxLayout* d_axes_layout;
50 QHBoxLayout* d_yoff_layout;
51 QHBoxLayout* d_yrange_layout;
52 QVBoxLayout* d_trigger_layout;
53 QHBoxLayout* d_trigger_level_layout;
54 QHBoxLayout* d_trigger_delay_layout;
55 QVBoxLayout* d_extras_layout;
56
57 QLabel* d_yoff_label;
58 QLabel* d_yrange_label;
59 QLabel* d_trigger_level_label;
60 QLabel* d_trigger_delay_label;
61
62 QCheckBox* d_autoscale_check;
63 QCheckBox* d_grid_check;
64 QCheckBox* d_axislabels_check;
65
66 QPushButton *d_yoff_plus, *d_yoff_minus;
67 QPushButton *d_yrange_plus, *d_yrange_minus;
68 QComboBox* d_trigger_mode_combo;
69 QComboBox* d_trigger_slope_combo;
70 QPushButton *d_trigger_level_plus, *d_trigger_level_minus;
71 QPushButton *d_trigger_delay_plus, *d_trigger_delay_minus;
72 QPushButton* d_autoscale_button;
73 QPushButton* d_stop_button;
74};
75
76#endif /* EYE_CONTROL_PANEL_H */
Definition: eyecontrolpanel.h:25
EyeControlPanel(EyeDisplayForm *form)
void toggleTriggerSlope(gr::qtgui::trigger_slope slope)
~EyeControlPanel() override
void toggleStopButton()
void toggleAutoScale(bool en)
void toggleTriggerMode(gr::qtgui::trigger_mode mode)
void signalToggleStopButton()
void updateStopLabel(bool on)
void toggleGrid(bool en)
EyeDisplaysForm child for managing eye pattern plots.
Definition: eyedisplayform.h:26
trigger_mode
Definition: trigger_mode.h:17
trigger_slope
Definition: trigger_mode.h:24