OpendTect-6_4  6.4
uiwelldispprop.h
Go to the documentation of this file.
1 #ifndef uiwelldispprop_h
2 #define uiwelldispprop_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bruno
9  Date: Dec 2008
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiwellmod.h"
16 #include "uigroup.h"
17 #include "welldisp.h"
18 #include "uistrings.h"
19 
20 class uiCheckBox;
21 class uiColorInput;
22 class uiComboBox;
23 class uiColorTableSel;
24 class uiGenInput;
25 class uiLabeledComboBox;
26 class uiLabeledSpinBox;
27 class uiSpinBox;
28 class uiListBox;
29 class uiCheckList;
30 class uiSlider;
32 
33 namespace Well { class LogDisplayParSet; class LogSet; }
34 
41 public:
42 
43  mExpClass(uiWell) Setup
44  {
45  public:
46  Setup( const uiString& sztxt=uiString::emptyString(),
47  const uiString& coltxt=uiString::emptyString() )
48  : mysztxt_(!sztxt.isEmpty() ? sztxt : tr("Line thickness"))
49  , mycoltxt_(!coltxt.isEmpty() ? coltxt :
51  uiStrings::sColor().toLower()) )
52  , onlyfor2ddisplay_(false) {}
53  mDefSetupMemb(uiString,mysztxt)
54  mDefSetupMemb(uiString,mycoltxt)
55  mDefSetupMemb(bool,onlyfor2ddisplay)
56  };
57 
59  Well::DisplayProperties::BasicProps&);
60  Well::DisplayProperties::BasicProps& props() { return *props_; }
61 
62  void putToScreen();
63  void getFromScreen();
64 
65 
68 
69 protected:
70 
71  virtual void doPutToScreen() {}
72  virtual void doGetFromScreen() {}
73 
74  Well::DisplayProperties::BasicProps* props_;
75 
76  void propChg(CallBacker*);
80 };
81 
82 
89 public:
91  Well::DisplayProperties::Track&);
92 
93  Well::DisplayProperties::Track& trackprops()
94  { return static_cast<Well::DisplayProperties::Track&>(*props_); }
95 
96  void resetProps(Well::DisplayProperties::Track&);
97 
98 protected:
99 
100  virtual void doPutToScreen();
101  virtual void doGetFromScreen();
102 
108 };
109 
110 
117 public:
119  Well::DisplayProperties::Markers&,
120  const BufferStringSet& allmarkernms,
121  bool is2d=false);
122 
123  Well::DisplayProperties::Markers& mrkprops()
124  { return static_cast<Well::DisplayProperties::Markers&>(*props_); }
125 
126  void setAllMarkerNames(const BufferStringSet&);
127  void setAllMarkerNames(const BufferStringSet&,
128  const TypeSet<Color>&);
129  void resetProps(Well::DisplayProperties::Markers&);
130 
131 protected:
132 
133  virtual void doPutToScreen();
134  virtual void doGetFromScreen();
135  void markerFldsChged(CallBacker*);
136  void setMarkerNmColSel(CallBacker*);
137  void getSelNames();
138  void setSelNames();
147  bool is2d_;
149 };
150 
151 
158 public:
161  const Well::LogSet* wl);
162 
164  { return static_cast<Well::DisplayProperties::Log&>(*props_); }
165 
166  void resetProps(Well::DisplayProperties::Log&);
167  void setLogSet(const Well::LogSet*);
168 
169 protected:
170 
171  void doPutToScreen();
172  void doGetFromScreen();
173  void isFilledSel(CallBacker*);
174  void setSeismicSel();
175  void setTubeSel();
176  void setWellLogSel();
177  void isStyleChanged(CallBacker*);
178  void choiceSel(CallBacker*);
179  void setRangeFields(Interval<float>&);
180  void setFillRangeFields(Interval<float>&);
181  void updateRange(CallBacker*);
182  void updateFillRange(CallBacker*);
183  void calcRange(const char*, Interval<float>&);
184  void setFldSensitive(bool);
185  void logSel(CallBacker*);
186  void selNone();
187  void setFieldVals();
188  void disableLogDisplays();
189  void setStyleSensitive(bool);
190 
212 
216 
217 };
218 
219 #endif
Definition: uigroup.h:54
virtual void doPutToScreen()
Definition: uiwelldispprop.h:71
#define mExpClass(module)
Definition: commondefs.h:160
uiLabeledComboBox * shapefld_
Definition: uiwelldispprop.h:139
uiCheckBox * nmsizedynamicfld_
Definition: uiwelldispprop.h:148
uiColorTableSel * coltablistfld_
Definition: uiwelldispprop.h:209
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
FixedString Setup()
Definition: keystrs.h:116
const Well::LogSet * wl_
Definition: uiwelldispprop.h:215
uiCheckBox * samecolasmarkerfld_
Definition: uiwelldispprop.h:143
uiGenInput * clipratefld_
Definition: uiwelldispprop.h:192
Definition: uislider.h:42
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Group of check boxes. Ensures a certain policy is honored.
Definition: uichecklist.h:34
uiGenInput * rangefld_
Definition: uiwelldispprop.h:193
uiLabeledSpinBox * lblr_
Definition: uiwelldispprop.h:199
static const uiString & emptyString()
Definition: uistring.h:109
Definition: file.h:99
Log set.
Definition: welllogset.h:32
Combo box.
Definition: uicombobox.h:32
Definition: uistring.h:89
uiLabeledComboBox * logfilltypefld_
Definition: uiwelldispprop.h:204
Definition: uiparent.h:26
uiLabeledComboBox * filllogsfld_
Definition: uiwelldispprop.h:203
uiSpinBox * repeatfld_
Definition: uiwelldispprop.h:197
Set of BufferString objects.
Definition: bufstringset.h:28
uiSpinBox * ovlapfld_
Definition: uiwelldispprop.h:196
Well::DisplayProperties::BasicProps * props_
Definition: uiwelldispprop.h:74
uiComboBox * nmstylefld_
Definition: uiwelldispprop.h:106
uiColorInput * seiscolorfld_
Definition: uiwelldispprop.h:210
mODTextTranslationClass(uiWellMarkersDispProperties) public Well::DisplayProperties::Markers & mrkprops()
Definition: uiwelldispprop.h:123
List Box.
Definition: uilistbox.h:75
uiColorInput * nmcolfld_
Definition: uiwelldispprop.h:144
uiColorInput * fillcolorfld_
Definition: uiwelldispprop.h:211
mODTextTranslationClass(uiWellTrackDispProperties) public Well::DisplayProperties::Track & trackprops()
Definition: uiwelldispprop.h:93
virtual void doGetFromScreen()
Definition: uiwelldispprop.h:72
uiCheckBox * revertlogfld_
Definition: uiwelldispprop.h:206
uiCheckBox * nmsizedynamicfld_
Definition: uiwelldispprop.h:107
Definition: uispinbox.h:128
Well Track display properties.
Definition: uiwelldispprop.h:87
uiListBox * displaymarkersfld_
Definition: uiwelldispprop.h:146
Definition: directionalsurvey.h:19
General Input Element.
Definition: uigeninput.h:58
Definition: uicolortable.h:30
Well Markers display properties.
Definition: uiwelldispprop.h:115
Interval< float > valuerange_
Definition: uiwelldispprop.h:213
uiCheckList * stylefld_
Definition: uiwelldispprop.h:191
uiSlider * logwidthslider_
Definition: uiwelldispprop.h:200
uiComboBox * nmstylefld_
Definition: uiwelldispprop.h:142
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
uiCheckBox * dispbelowfld_
Definition: uiwelldispprop.h:104
Well display properties.
Definition: uiwelldispprop.h:39
Definition: uicombobox.h:133
Definition: uispinbox.h:24
uiLabeledSpinBox * szfld_
Definition: uiwelldispprop.h:78
uiLabeledSpinBox * cylinderheightfld_
Definition: uiwelldispprop.h:145
uiGenInput * colorrangefld_
Definition: uiwelldispprop.h:194
Well Log display properties.
Definition: uiwelldispprop.h:156
small element for color selection. Has no text label.
Definition: uicolor.h:44
Notifier< uiWellDispProperties > propChanged
Definition: uiwelldispprop.h:66
Setup setup_
Definition: uiwelldispprop.h:79
uiCheckBox * singlfillcolfld_
Definition: uiwelldispprop.h:207
uiLabeledComboBox * logsfld_
Definition: uiwelldispprop.h:202
bool is2d_
Definition: uiwelldispprop.h:147
uiCheckBox * singlecolfld_
Definition: uiwelldispprop.h:140
uiGenInput * cliprangefld_
Definition: uiwelldispprop.h:195
Interval< float > fillvaluerange_
Definition: uiwelldispprop.h:214
Well::DisplayProperties::BasicProps & props()
Definition: uiwelldispprop.h:60
static uiString phrJoinStrings(const uiString &a, const uiString &b)
"
uiWellLogDispProperties * curwelllogproperty_
Definition: uiwelldispprop.h:67
uiLabeledSpinBox * nmsizefld_
Definition: uiwelldispprop.h:105
uiLabeledSpinBox * lvlofdetailfld_
Definition: uiwelldispprop.h:201
uiLabeledSpinBox * nmsizefld_
Definition: uiwelldispprop.h:141
uiColorInput * colfld_
Definition: uiwelldispprop.h:77
uiCheckBox * dispabovefld_
Definition: uiwelldispprop.h:103
static uiString sColor(int num=1)
Definition: uistrings.h:250
uiLabeledSpinBox * lblo_
Definition: uiwelldispprop.h:198
Definition: uibutton.h:134
static uiString sLine(int num=1)
Definition: uistrings.h:343
mODTextTranslationClass(uiWellLogDispProperties) public Well::DisplayProperties::Log & logprops()
Definition: uiwelldispprop.h:163
uiCheckBox * logarithmfld_
Definition: uiwelldispprop.h:205
uiCheckBox * flipcoltabfld_
Definition: uiwelldispprop.h:208

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