OpendTect  6.3
uisynthgendlg.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Bert
8  Date: Nov 2010
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uiwellattribmod.h"
14 #include "uidialog.h"
15 #include "uistring.h"
16 
17 class StratSynth;
18 
19 class uiComboBox;
20 class uiGenInput;
21 class uiFlatViewer;
22 class uiListBox;
23 class uiLabeledComboBox;
24 class uiPushButton;
25 class uiSynthSeisGrp;
26 
27 mExpClass(uiWellAttrib) uiSynthGenDlg : public uiDialog
29 public:
31 
32  bool getFromScreen();
33  void putToScreen();
34  void updateSynthNames();
35  void updateWaveletName();
36  bool isCurSynthChanged() const;
37 
42 
43 protected:
44  void updateFieldDisplay();
45 
58 
59  void getPSNames(BufferStringSet&);
60  bool prepareSyntheticToBeChanged(bool toberemoved);
61  void typeChg(CallBacker*);
62  void genNewCB(CallBacker*);
63  bool acceptOK();
64  void removeSyntheticsCB(CallBacker*);
65  void changeSyntheticsCB(CallBacker*);
66  void parsChanged(CallBacker*);
67  void angleInpChanged(CallBacker*);
68  void nameChanged(CallBacker*);
69  bool rejectOK();
70  void finaliseDone(CallBacker*);
71 };
#define mExpClass(module)
Definition: commondefs.h:157
Notifier< uiSynthGenDlg > genNewReq
Definition: uisynthgendlg.h:38
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
uiLabeledComboBox * psselfld_
Definition: uisynthgendlg.h:47
uiPushButton * savebut_
Definition: uisynthgendlg.h:53
is the base class for all buttons.
Definition: uibutton.h:80
uiPushButton * gennewbut_
Definition: uisynthgendlg.h:50
CNotifier< uiSynthGenDlg, BufferString > synthDisabled
Definition: uisynthgendlg.h:40
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
uiGenInput * angleinpfld_
Definition: uisynthgendlg.h:48
Definition: uisynthgendlg.h:27
EnumDef synthtypedefs_
Definition: uisynthgendlg.h:57
Combo box.
Definition: uicombobox.h:30
Definition: uiparent.h:24
Set of BufferString objects.
Definition: bufstringset.h:25
Definition: uidialog.h:40
Notifier< uiSynthSeisGrp > parsChanged
Definition: uisynthseis.h:39
List Box.
Definition: uilistbox.h:73
CNotifier< uiSynthGenDlg, BufferString > synthChanged
Definition: uisynthgendlg.h:41
Definition: uisynthseis.h:26
General Input Element.
Definition: uigeninput.h:56
Definition: uicombobox.h:137
uiPushButton * revertbut_
Definition: uisynthgendlg.h:52
CNotifier< uiSynthGenDlg, BufferString > synthRemoved
Definition: uisynthgendlg.h:39
uiSynthSeisGrp * synthseis_
Definition: uisynthgendlg.h:56
uiGenInput * namefld_
Definition: uisynthgendlg.h:49
Fulfills the FlatView::Viewer specifications using &#39;ui&#39; classes.
Definition: uiflatviewer.h:31
Holds data pertinent to a certain enum. It does not know the enum values themselves, but treat them as integers.
Definition: enums.h:44
uiListBox * synthnmlb_
Definition: uisynthgendlg.h:54
StratSynth & stratsynth_
Definition: uisynthgendlg.h:55
uiComboBox * typefld_
Definition: uisynthgendlg.h:46
uiPushButton * applybut_
Definition: uisynthgendlg.h:51
Definition: stratsynth.h:44
void updateFieldDisplay()

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017