OpendTect-6_4  6.4
uiattribsetbuild.h
Go to the documentation of this file.
1 #ifndef uiattribsetbuild_h
2 #define uiattribsetbuild_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 
16 #include "uiattributesmod.h"
17 #include "uibuildlistfromlist.h"
18 #include "datapack.h"
19 
20 class CtxtIOObj;
21 namespace Attrib { class DescSet; }
22 class uiPreStackAttrib;
23 
24 
27 public:
28 
29  mExpClass(uiAttributes) Setup
30  {
31  public:
32  Setup(bool for2d);
33  mDefSetupMemb(bool,is2d);
34  mDefSetupMemb(bool,showps);
35  mDefSetupMemb(bool,singletraceonly);
36  mDefSetupMemb(bool,showusingtrcpos);
37  mDefSetupMemb(bool,showdepthonlyattrs);
38  mDefSetupMemb(bool,showtimeonlyattrs);
39  mDefSetupMemb(bool,showhidden);
40  mDefSetupMemb(bool,showsteering);
41  };
44 
45  const Attrib::DescSet& descSet() const { return descset_; }
46 
48  bool isprestack=false);
49  bool handleUnsaved();
51  bool haveChange() const { return anychg_; }
52 
53 protected:
54 
60  bool anychg_;
61 
64 
65  void fillAvailable();
66  bool doAttrSetIO(bool);
67 
68  virtual void defSelChg();
69  virtual void editReq(bool);
70  virtual void removeReq();
71  virtual bool ioReq(bool);
72  virtual const char* avFromDef(const char*) const;
73 
74 };
75 
76 
77 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Definition: uiattribsetbuild.h:29
FixedString Setup()
Definition: keystrs.h:116
uiPreStackAttrib * uipsattrdesced_
Definition: uiattribsetbuild.h:63
Base class for element allowing the building of lists of items from available 'ingredients'.
Definition: uibuildlistfromlist.h:50
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
const Setup attrsetup_
Definition: uiattribsetbuild.h:56
Set of attribute descriptions.
Definition: attribdescset.h:35
TypeSet< DataPack::FullID > dpfids_
Definition: uiattribsetbuild.h:58
Definition: uiparent.h:26
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Definition: ctxtioobj.h:142
bool haveChange() const
Definition: uiattribsetbuild.h:51
Attrib::DescSet & descset_
Definition: uiattribsetbuild.h:55
uiToolButton * savebut_
Definition: uiattribsetbuild.h:62
TypeSet< DataPack::FullID > psdpfids_
Definition: uiattribsetbuild.h:59
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
CtxtIOObj & ctio_
Definition: uiattribsetbuild.h:57
PreStack Attribute ui.
Definition: uiprestackattrib.h:32
Definition: uitoolbutton.h:22
bool anychg_
Definition: uiattribsetbuild.h:60
Definition: uiattribsetbuild.h:25
const Attrib::DescSet & descSet() const
Definition: uiattribsetbuild.h:45
void setDataPackInp(const TypeSet< DataPack::FullID > &)
Semblance Attribute.
Definition: attribdataholder.h:25

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