OpendTect-6_4  6.4
uilayseqattribed.h
Go to the documentation of this file.
1 #ifndef uilayseqattribed_h
2 #define uilayseqattribed_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert
9  Date: Jan 2011
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uistratmod.h"
16 #include "uidialog.h"
17 #include "uistring.h"
18 
19 class uiListBox;
20 class uiComboBox;
21 class uiGenInput;
22 class uiStratSelUnits;
23 namespace Strat { class LaySeqAttrib; class RefTree; };
24 
25 
30 public:
31 
32  mExpClass(uiStrat) Setup
33  {
34  public:
35  Setup( bool isnw )
36  : isnew_(isnw)
37  , allowlocal_(true)
38  , allowintegr_(true) {}
39 
40  mDefSetupMemb(bool,isnew)
41  mDefSetupMemb(bool,allowlocal)
42  mDefSetupMemb(bool,allowintegr)
43  };
44 
46  const Strat::RefTree&,const Setup&);
48 
49  bool anyChange() const { return anychg_; }
50  bool nameChanged() const { return nmchgd_; }
51 
52 protected:
53 
56  bool nmchgd_;
57  bool anychg_;
58 
69 
70  inline bool haveLocal() const { return localgrp_; }
71  inline bool haveIntegrated() const { return integrgrp_; }
72  bool isLocal() const;
73  void putToScreen();
74  bool getFromScreen();
75 
76  void initWin(CallBacker*);
77  void slSel(CallBacker*);
78  void transfSel(CallBacker*);
79 
80  bool acceptOK(CallBacker*);
81 
82 };
83 
84 #endif
Definition: uigroup.h:54
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
bool nmchgd_
Definition: uilayseqattribed.h:56
uiGroup * localgrp_
Definition: uilayseqattribed.h:59
const Strat::RefTree & reftree_
Definition: uilayseqattribed.h:55
edits a layer sequence attribute
Definition: uilayseqattribed.h:28
Combo box.
Definition: uicombobox.h:32
Definition: uiparent.h:26
bool haveLocal() const
Definition: uilayseqattribed.h:70
uiGenInput * namefld_
Definition: uilayseqattribed.h:62
bool nameChanged() const
Definition: uilayseqattribed.h:50
Definition: uidialog.h:42
List Box.
Definition: uilistbox.h:75
bool anyChange() const
Definition: uilayseqattribed.h:49
uiGenInput * islocalfld_
Definition: uilayseqattribed.h:61
uiGroup * integrgrp_
Definition: uilayseqattribed.h:60
General Input Element.
Definition: uigeninput.h:58
uiComboBox * transformfld_
Definition: uilayseqattribed.h:68
Definition: uilayseqattribed.h:32
uiListBox * lithofld_
Definition: uilayseqattribed.h:65
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
uiComboBox * stattypfld_
Definition: uilayseqattribed.h:66
uiStratSelUnits * unfld_
Definition: uilayseqattribed.h:64
Setup(bool isnw)
Definition: uilayseqattribed.h:35
Stratigraphy.
Definition: stratlevel.h:26
Tree of UnitRef's.
Definition: stratreftree.h:29
uiComboBox * upscaletypfld_
Definition: uilayseqattribed.h:67
Definition: uistratselunits.h:24
bool anychg_
Definition: uilayseqattribed.h:57
uiGenInput * valfld_
Definition: uilayseqattribed.h:63
attrib to extract from layer sequences
Definition: stratlayseqattrib.h:37
Strat::LaySeqAttrib & attr_
Definition: uilayseqattribed.h:54
bool haveIntegrated() const
Definition: uilayseqattribed.h:71

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