UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
seismic_viewer.hpp
1 /* seismic_viewer.hpp */
2 /* $Id$ */
3 #ifndef __seismic_viewer_hpp
4 #define __seismic_viewer_hpp
5 
6 #include <QtGui>
7 #include <hds_widgets/seismic_area_widget.hpp>
8 #include <hds_widgets/sa_options_dialog.hpp>
9 #include <hds_widgets/ss_options_dialog.hpp>
10 #include <hds_widgets/sa_axes_dialog.hpp>
11 #include <hds_widgets/ui_seismic_viewer.h>
12 
14 namespace hds
15 {
17  class SeismicViewer : public QMainWindow
18  {
19  Q_OBJECT
20 
21  public:
22 
24  SeismicViewer(QWidget *parent = NULL, Qt::WindowFlags flags = 0);
25 
27  virtual ~SeismicViewer();
28 
30  void attachDoc(ZdSeismicSet &seis_doc);
31 
32 
34  const SeismicAreaWidget& saWidget() const {return *m_p_sa_wid;}
35 
38 
39  signals:
40 
42  void closed();
43 
44  protected slots:
45 
46  virtual void actionInfoModeToggled(bool checked);
47  virtual void actionZoomModeToggled(bool checked);
48  virtual void actionZoomAllActivated();
49  virtual void actionTracesSelectionActivated();
50  virtual void actionTracesViewActivated();
51  virtual void actionCoordinateAxesActivated();
52  virtual void redrawSeismic();
53 
54  protected:
55 
58 
61 
63  ZdSeismicSet *m_p_seis_doc;
64 
65  SAOptionsDialog *m_p_sa_opt_dlg;
66  SSOptionsDialog *m_p_ss_opt_dlg;
67  SAAxesDialog *m_p_sa_axes_dlg;
68 
69  virtual void closeEvent(QCloseEvent *event);
70  };
71 }; // hds
72 
73 #endif /* seismic_viewer.hpp */
Ui::SeismicViewer m_ui
Definition: seismic_viewer.hpp:57
SeismicViewer(QWidget *parent=NULL, Qt::WindowFlags flags=0)
virtual ~SeismicViewer()
const SeismicAreaWidget & saWidget() const
Definition: seismic_viewer.hpp:34
void attachDoc(ZdSeismicSet &seis_doc)
Definition: seismic_area_widget.hpp:44
SeismicAreaWidget & saWidget()
Definition: seismic_viewer.hpp:37
Definition: sa_axes_dialog.hpp:15
Definition: zd_seismic_set.hpp:17
Definition: ui_seismic_viewer.h:140
Definition: ss_options_dialog.hpp:16
SeismicAreaWidget * m_p_sa_wid
Definition: seismic_viewer.hpp:60
Definition: sa_options_dialog.hpp:17
Definition: seismic_viewer.hpp:17