File: simulatedialog.h

package info (click to toggle)
aoflagger 3.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,960 kB
  • sloc: cpp: 83,076; python: 10,187; sh: 260; makefile: 178
file content (48 lines) | stat: -rw-r--r-- 1,067 bytes parent folder | download | duplicates (2)
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
#ifndef SIMULATE_WINDOW_H
#define SIMULATE_WINDOW_H

#include <string>

#include <gtkmm/button.h>
#include <gtkmm/comboboxtext.h>
#include <gtkmm/dialog.h>
#include <gtkmm/entry.h>
#include <gtkmm/grid.h>
#include <gtkmm/label.h>

#include "../structures/timefrequencydata.h"

class SimulateDialog : public Gtk::Dialog {
 public:
  SimulateDialog();
  ~SimulateDialog() {}

  TimeFrequencyData Make() const;

 private:
  void onSimulateClicked();
  void onCloseClicked();

  Gtk::Grid _grid;

  Gtk::Label _nTimesLabel;
  Gtk::Entry _nTimesEntry;
  Gtk::Label _nChannelsLabel;
  Gtk::Entry _nChannelsEntry;
  Gtk::Label _bandwidthLabel;
  Gtk::Entry _bandwidthEntry;
  Gtk::Label _polarizationsLabel;
  Gtk::ComboBoxText _polarizationsSelection;
  Gtk::Label _targetLabel;
  Gtk::ComboBoxText _targetSelection;
  Gtk::Label _noiseLabel;
  Gtk::ComboBoxText _noiseSelection;
  Gtk::Label _noiseLevelLabel;
  Gtk::Entry _noiseLevelEntry;
  Gtk::Label _rfiLabel;
  Gtk::ComboBoxText _rfiSelection;

  Gtk::Button* _simulateButton;
};

#endif  // IMAGEPROPERTIESWINDOW_H