GNU Radio C++ API Reference: eyecontrolpanel.h Source File

| GNU Radio C++ API Reference 3.10.12.0 The Free & Open Software Radio Ecosystem |

Loading...
Searching...
No Matches
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
13#include <gnuradio/qtgui/eyedisplayform.h>
14#include <gnuradio/qtgui/eyedisplaysform.h>
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
24 class EyeControlPanel : public QVBoxLayout
25{
26 Q_OBJECT
27
28public:
29 EyeControlPanel(EyeDisplayForm* form);
30 ~EyeControlPanel() override;
31
32public slots:
33 void toggleAutoScale(bool en);
34 void toggleGrid(bool en);
35 void toggleTriggerMode(gr::qtgui::trigger_mode mode);
36 void toggleTriggerSlope(gr::qtgui::trigger_slope slope);
37 void toggleStopButton();
38 void updateStopLabel(bool on);
39
40signals:
41 void signalToggleStopButton();
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 */
EyeControlPanel::EyeControlPanel
EyeControlPanel(EyeDisplayForm *form)
EyeControlPanel::toggleTriggerSlope
void toggleTriggerSlope(gr::qtgui::trigger_slope slope)
EyeControlPanel::~EyeControlPanel
~EyeControlPanel() override
EyeControlPanel::toggleStopButton
void toggleStopButton()
EyeControlPanel::toggleAutoScale
void toggleAutoScale(bool en)
EyeControlPanel::toggleTriggerMode
void toggleTriggerMode(gr::qtgui::trigger_mode mode)
EyeControlPanel::signalToggleStopButton
void signalToggleStopButton()
EyeControlPanel::updateStopLabel
void updateStopLabel(bool on)
EyeControlPanel::toggleGrid
void toggleGrid(bool en)
EyeDisplayForm
EyeDisplaysForm child for managing eye pattern plots.
Definition eyedisplayform.h:26
eyedisplayform.h
eyedisplaysform.h
gr::qtgui::trigger_mode
trigger_mode
Definition trigger_mode.h:17
gr::qtgui::trigger_slope
trigger_slope
Definition trigger_mode.h:24