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

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