This file is indexed.

/usr/include/gnuradio/qtgui/freqcontrolpanel.h is in gnuradio-dev 3.7.10.1-2+b3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
/* -*- c++ -*- */
/*
 * Copyright 2015 Free Software Foundation, Inc.
 *
 * This file is part of GNU Radio
 *
 * GNU Radio is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3, or (at your option)
 * any later version.
 *
 * GNU Radio is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with GNU Radio; see the file COPYING.  If not, write to
 * the Free Software Foundation, Inc., 51 Franklin Street,
 * Boston, MA 02110-1301, USA.
 */

#ifndef FREQ_CONTROL_PANEL_H
#define FREQ_CONTROL_PANEL_H

#include <QtGui/QtGui>
#include <vector>
#include <QSlider>
#include <QComboBox>
#include <QCheckBox>
#include <QPushButton>
#include <QLabel>
#include <QHBoxLayout>
#include <gnuradio/qtgui/displayform.h>
#include <gnuradio/qtgui/freqdisplayform.h>

class FreqControlPanel : public QVBoxLayout
{
  Q_OBJECT

public:
  FreqControlPanel(FreqDisplayForm *form);
  ~FreqControlPanel();

public slots:
  void notifyAvgSlider(int val);
  void setFFTAverage(float val);
  void toggleGrid(bool en);
  void toggleAxisLabels(bool en);
  void toggleMaxHold(bool en);
  void toggleMinHold(bool en);

  void toggleFFTSize(int val);
  void toggleFFTWindow(const gr::filter::firdes::win_type win);

  void toggleTriggerMode(gr::qtgui::trigger_mode mode);

  void toggleStopButton();

signals:
  void signalAvgSlider(float val);
  void signalAvg(bool en);
  void signalToggleStopButton();

private:
  FreqDisplayForm *d_parent;

  QGroupBox *d_trace_box;
  QVBoxLayout *d_trace_layout;
  QCheckBox *d_maxhold_check;
  QCheckBox *d_minhold_check;

  QHBoxLayout *d_avg_layout;
  QLabel *d_avg_label;
  QSlider *d_avg_slider;

  QGroupBox *d_axes_box;
  QVBoxLayout *d_axes_layout;

  QCheckBox *d_grid_check;
  QCheckBox *d_axislabels_check;
  QHBoxLayout *d_yrange_layout;
  QLabel *d_yrange_label;
  QPushButton *d_yrange_plus;
  QPushButton *d_yrange_minus;

  QHBoxLayout *d_ymin_layout;
  QLabel *d_ymin_label;
  QPushButton *d_ymin_plus;
  QPushButton *d_ymin_minus;

  QPushButton *d_autoscale_button;

  QGroupBox *d_fft_box;
  QVBoxLayout *d_fft_layout;
  QComboBox *d_fft_size_combo;
  QComboBox *d_fft_win_combo;

  int d_slider_max, d_slider_min, d_slider_step;

  QGroupBox *d_trigger_box;
  QVBoxLayout *d_trigger_layout;
  QHBoxLayout *d_trigger_level_layout;
  QLabel *d_trigger_level_label;
  QComboBox *d_trigger_mode_combo;
  QPushButton *d_trigger_level_plus, *d_trigger_level_minus;

  QGroupBox *d_extras_box;
  QVBoxLayout *d_extras_layout;
  QPushButton *d_stop_button;
};

#endif /* FREQ_CONTROL_PANEL_H */