Electric Tiger DAQ  1.0.0
Data Acquisition Software for the Electric Tiger Experiment
chartscalecontrols.h
1 #ifndef CHARTSCALECONTROLS_H
2 #define CHARTSCALECONTROLS_H
3 
4 #include <QDockWidget>
5 #include <QString>
6 
7 namespace Ui {
8 class ChartScaleControls;
9 }
10 
11 class PowerControls : public QDockWidget {
12  Q_OBJECT
13 
14  public:
15  explicit PowerControls(QWidget *parent = 0);
16  ~PowerControls();
17 
18  private:
19  Ui::ChartScaleControls *ui;
20 
21  signals:
22  void MinSet(double min_val);
23  void MaxSet(double max_val);
24  void UnitSelected(QString units);
25  void SpanSet(int span_val);
26  void CenterSet(int cent_val);
27  void SelectedVolts();
28  void SelecteddBm();
29  void AutoScaleOn();
30  void AutoScaleOff();
31 
32  public slots:
33  void SetFreqSpan(int span);
34  void SetMinMax(std::pair< int, int > vals);
35 
36  private slots:
37  void CenterSpanUpdate();
38  void MinMaxUpdate();
39 
40 };
41 
42 #endif // CHARTSCALECONTROLS_H
Definition: chartscalecontrols.h:7
Definition: chartscalecontrols.h:11