UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
sv_options_dialog.hpp
1 /* sa_options_dialog.hpp */
2 /* $Id$ */
3 #ifndef __hds_sa_options_dialog_hpp
4 #define __hds_sa_options_dialog_hpp
5 //------------------------------------------------------------------------------------------
6 #include <QColorDialog>
7 #include <QDoubleValidator>
8 
9 #include <hds_widgets/dialog.hpp>
10 #include <hds_widgets/sv_options_controller.hpp>
11 #include <hds_widgets/ui_sv_options_dialog.h>
12 
14 namespace hds
15 {
18  {
19  Q_OBJECT
20 
21  public:
22 
24  SVOptionsDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
25 
27  virtual ~SVOptionsDialog();
28 
32  virtual void attachSeismicView(ZqSeismicView *ps);
33 
36  {return m_current_sv_options;}
37 
38 
40  virtual void show();
41 
43  virtual void showModal();
44 
45  protected:
46 
48  virtual void buttonClicked(const hds::Dialog::Button &button_type);
49 
50  signals:
51 
53  void svOptionChanged();
54 
55  protected slots:
56 
58  virtual void updateNormalizationMode(int mode);
59 
61  virtual void updateVisualMode();
62 
64  virtual void updateAGC(double val);
65 
67  virtual void updateVisualGain();
68 
70  virtual void updateAmplCutLevel(double val);
71 
73  virtual void updateOverlapping(double val);
74 
76  virtual void wigglePolyOrderUpdated(int val);
77 
79  virtual void updateColorMode();
80 
82  virtual void commonColorButtonPressed();
83 
85  virtual void posColorButtonPressed();
86 
88  virtual void negColorButtonPressed();
89 
91  virtual void updateZeroSamplesMode();
92 
94  virtual void updateZeroLevelVal();
95 
97  virtual void zeroColorButtonPressed();
98 
100  virtual void drawGridStateChanged(int state);
101 
103  virtual void drawGridStepValueChanged(double val);
104 
106  virtual void updateTrOrientation(int val);
107 
108  private:
109 
111  QColorDialog m_cdlg;
112 
114  ZqbSVOptions m_current_sv_options;
115 
117  QDoubleValidator *mp_double_valitador;
118 
120  Ui::SVOptionsDialog m_ui;
121 
123  void set_btns_colors(const ZqbSVOptions &options);
124  };
125 };
126 
127 #endif /* hds_sa_options_dialog.hpp */
virtual void updateTrOrientation(int val)
virtual void wigglePolyOrderUpdated(int val)
virtual void updateVisualGain()
const ZqbSVOptions & currentSVOptions() const
Definition: sv_options_dialog.hpp:35
virtual void updateVisualMode()
virtual void updateNormalizationMode(int mode)
virtual void buttonClicked(const hds::Dialog::Button &button_type)
virtual void updateColorMode()
SVOptionsDialog(QWidget *parent=0, Qt::WindowFlags f=0)
virtual void updateOverlapping(double val)
virtual void posColorButtonPressed()
virtual void updateAmplCutLevel(double val)
virtual void commonColorButtonPressed()
virtual void updateAGC(double val)
Definition: zq_seismic_view.hpp:36
virtual void attachSeismicView(ZqSeismicView *ps)
Definition: zqb_svoptions.hpp:139
Definition: dialog.hpp:15
virtual void updateZeroSamplesMode()
virtual void updateZeroLevelVal()
virtual void drawGridStepValueChanged(double val)
virtual void showModal()
virtual void negColorButtonPressed()
virtual ~SVOptionsDialog()
Definition: sv_options_dialog.hpp:17
Button
Definition: dialog.hpp:22
Definition: sv_options_controller.hpp:14
virtual void drawGridStateChanged(int state)
virtual void zeroColorButtonPressed()
virtual void show()
Definition: ui_sv_options_dialog.h:525