OpendTect-6_4  6.4
uistratlayseqattrsetbuild.h
Go to the documentation of this file.
1 #ifndef uistratlayseqattrsetbuild_h
2 #define uistratlayseqattrsetbuild_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 "uibuildlistfromlist.h"
17 #include "propertyref.h"
18 class CtxtIOObj;
19 namespace Strat { class RefTree; class LayerModel; class LaySeqAttribSet; }
20 
21 
26 public:
27 
28  enum SetTypeSel { AllTypes, OnlyLocal, OnlyIntegrated };
29 
31  const Strat::LayerModel&,
32  SetTypeSel sts=AllTypes,
35 
36  const Strat::LaySeqAttribSet& attribSet() const { return attrset_; }
37  const PropertyRefSelection& propertyRefs() const { return props_; }
38 
39  bool handleUnsaved();
41  bool haveChange() const { return anychg_; }
42 
43 protected:
44 
46  const bool setismine_;
51  bool anychg_;
52 
53  virtual void editReq(bool);
54  virtual void removeReq();
55  virtual bool ioReq(bool);
56  virtual const char* avFromDef(const char*) const;
57 
58 };
59 
60 
61 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Definition: propertyref.h:176
bool haveChange() const
Definition: uistratlayseqattrsetbuild.h:41
Base class for element allowing the building of lists of items from available 'ingredients'.
Definition: uibuildlistfromlist.h:50
PropertyRefSelection props_
Definition: uistratlayseqattrsetbuild.h:48
bool anychg_
Definition: uistratlayseqattrsetbuild.h:51
const SetTypeSel typesel_
Definition: uistratlayseqattrsetbuild.h:50
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
const PropertyRefSelection & propertyRefs() const
Definition: uistratlayseqattrsetbuild.h:37
SetTypeSel
Definition: uistratlayseqattrsetbuild.h:28
attribs to extract from layer sequences
Definition: stratlayseqattrib.h:91
Definition: uiparent.h:26
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Definition: ctxtioobj.h:142
CtxtIOObj & ctio_
Definition: uistratlayseqattrsetbuild.h:49
const bool setismine_
Definition: uistratlayseqattrsetbuild.h:46
allows user to define (or read) a set of layer sequence attributes
Definition: uistratlayseqattrsetbuild.h:24
Stratigraphy.
Definition: stratlevel.h:26
Tree of UnitRef's.
Definition: stratreftree.h:29
Strat::LaySeqAttribSet & attrset_
Definition: uistratlayseqattrsetbuild.h:45
const Strat::RefTree & reftree_
Definition: uistratlayseqattrsetbuild.h:47
A model consisting of layer sequences.
Definition: stratlayermodel.h:36
const Strat::LaySeqAttribSet & attribSet() const
Definition: uistratlayseqattrsetbuild.h:36

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