OpendTect  6.3
uimultiwelllogsel.h
Go to the documentation of this file.
1 #pragma once
2 /*+
3 ________________________________________________________________________
4 
5 (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
6 Author: Bruno
7 Date: Jan 2011
8 ________________________________________________________________________
9 
10 -*/
11 
12 #include "uiwellmod.h"
13 #include "uigroup.h"
14 #include "bufstringset.h"
15 #include "wellmarker.h"
16 #include "uistring.h"
17 #include "wellextractdata.h"
18 #include "uiwellextractparams.h"
19 
20 class DBKeySet;
21 class IOObj;
22 class uiCheckBox;
23 class uiGenInput;
24 class uiLabel;
25 class uiListBox;
26 class uiListBoxChoiceIO;
27 
28 
31 public:
32  uiMultiWellLogSel(uiParent*,const bool,
33  const uiWellExtractParams::Setup* = 0,
34  const BufferStringSet* wellnms=0,
35  const BufferStringSet* lognms=0 );
36  uiMultiWellLogSel(uiParent*, const bool,
37  const DBKey& singlewid,
38  const uiWellExtractParams::Setup* = 0);
40 
41  void selectOnlyWritableWells();
42 
43  void getSelLogNames(BufferStringSet&) const;
44  void getSelWellNames(BufferStringSet&) const;
45  void getSelWellIDs(BufferStringSet&) const;
46  void getSelWellIDs(DBKeySet&) const;
47  Well::ExtractParams* getWellExtractParams();
48 
49 
50  void setSelLogNames(const BufferStringSet&);
51  void setSelWellNames(const BufferStringSet&);
52  void setSelWellIDs(const BufferStringSet&);
53  void setSelWellIDs(const DBKeySet&);
54  void setWellExtractParams(const Well::ExtractParams&);
55 
56  void update(); //call this when data changed
58  { return wellextractparamsfld_; }
59 protected:
60 
62 
63  const DBKey* singlewid_;
64 
70 
71  void init(const bool);
72  void getFromScreen(CallBacker*);
73 
74  void readWellChoiceDone(CallBacker*);
75  void writeWellChoiceReq(CallBacker*);
76  void updateLogsFldCB(CallBacker*);
77  bool singlelog_;
78 };
Definition: uigroup.h:53
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
ObjectSet< IOObj > wellobjs_
Definition: uimultiwelllogsel.h:61
Definition: ioobj.h:57
uiWellExtractParams * wellextractparamsfld_
Definition: uimultiwelllogsel.h:68
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
bool isWellExtractParamsUsed() const
Definition: uimultiwelllogsel.h:57
bool init()
Definition: dbkey.h:98
ZRangeSelector to extract parameters.
Definition: wellextractdata.h:112
Definition: uiparent.h:24
Set of BufferString objects.
Definition: bufstringset.h:25
List Box.
Definition: uilistbox.h:73
Allows save/restore of chosen items for a uiListBox.
Definition: uilistboxchoiceio.h:34
uiListBox * wellsfld_
Definition: uimultiwelllogsel.h:65
General Input Element.
Definition: uigeninput.h:56
const uiWellExtractParams::Setup * setup_
Definition: uimultiwelllogsel.h:69
Definition: uimultiwelllogsel.h:29
Definition: uilabel.h:22
uiListBox * logsfld_
Definition: uimultiwelllogsel.h:66
bool singlelog_
Definition: uimultiwelllogsel.h:77
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
uiListBoxChoiceIO * wellschoiceio_
Definition: uimultiwelllogsel.h:67
Definition: uibutton.h:130
const DBKey * singlewid_
Definition: uimultiwelllogsel.h:63
Definition: uiwellextractparams.h:87
Definition: uiwellextractparams.h:84

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