OpendTect-6_4  6.4
uiflatviewproptabs.h
Go to the documentation of this file.
1 #ifndef uiflatviewproptabs_h
2 #define uiflatviewproptabs_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Bert
8  Date: Mar 2007
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uiflatviewmod.h"
15 #include "coltabsequence.h"
16 #include "flatview.h"
17 #include "uidlggroup.h"
18 #include "uistring.h"
19 
20 class uiLabel;
21 class uiGenInput;
22 class uiComboBox;
23 class uiCheckBox;
24 class uiColorInput;
25 class uiSelLineStyle;
26 class uiColorTableGroup;
27 class uiSelLineStyle;
28 
35 public:
36 
37  virtual void putToScreen() = 0;
38 
39 protected:
41  uiString);
42 
46 
47 };
48 
49 
56 public:
57 
58  void setDataNames();
59  virtual void setData() = 0;
60  bool doDisp() const;
61 
62 protected:
64  const uiString&,bool showdisplayfield=true);
65 
67  virtual FlatView::DataDispPars::Common& commonPars() = 0;
68  virtual BufferString dataName() const = 0;
69 
79 
81 
82  void updateNonclipRange(CallBacker*);
83  void useMidValSel(CallBacker*);
84  void dispSel(CallBacker*);
85  void clipSel(CallBacker*);
86  virtual void handleFieldDisplay(bool) = 0;
87 
88  void putCommonToScreen();
89  bool acceptOK();
90  void doSetData(bool);
91 
92 };
93 
94 
101 public:
103  ~uiFVWVAPropTab();
104 
105  virtual void putToScreen();
106  bool acceptOK();
107  virtual void setData() { doSetData(true); }
108 
109 protected:
110 
112  virtual FlatView::DataDispPars::Common& commonPars() { return pars_; }
113  virtual BufferString dataName() const;
114 
122 
123  virtual void handleFieldDisplay(bool);
124  void dispSel(CallBacker*);
125  void reflineSel(CallBacker*);
126  void dispChgCB(CallBacker*);
127 };
128 
129 
136 public:
138  ~uiFVVDPropTab();
139 
140  virtual void putToScreen();
141  virtual bool acceptOK();
142  virtual void setData() { doSetData(false); }
143 
144 protected:
145 
148  virtual FlatView::DataDispPars::Common& commonPars() { return pars_; }
149  virtual BufferString dataName() const;
150 
153 
154  virtual void handleFieldDisplay(bool);
155  void dispSel(CallBacker*);
156  void dispChgCB(CallBacker*);
157 };
158 
159 
166 public:
167 
169  const BufferStringSet* annots);
170  ~uiFVAnnotPropTab();
171 
172  virtual void putToScreen();
173  virtual bool acceptOK();
174 
175  int getSelAnnot() const { return x1_->getSelAnnot(); }
176  void setSelAnnot( int i ) { x1_->setSelAnnot( i ); }
177 
178 
179 protected:
180 
181  void annotChgdCB(CallBacker*);
182  void auxNmFldCB(CallBacker*);
183  void getFromAuxFld(int);
184  void updateAuxFlds(int);
185 
187 
188  mExpClass(uiFlatView) AxesGroup : public uiGroup
190  public:
191  AxesGroup(uiParent*,FlatView::Annotation::AxisData&,
192  const BufferStringSet* annots=0,
193  bool dorevert=true);
194 
195  void putToScreen();
196  void getFromScreen();
197 
198  int getSelAnnot() const;
199  void setSelAnnot(int);
200  protected:
201 
202  FlatView::Annotation::AxisData& ad_;
203 
211 
212  void showAuxCheckedCB(CallBacker*);
213  void showAuxLineCheckedCB(CallBacker*);
214 
215  };
216 
220 
227 
237 };
238 
239 
240 #endif
Definition: uigroup.h:54
uiCheckBox * showgridlinesfld_
Definition: uiflatviewproptabs.h:205
#define mExpClass(module)
Definition: commondefs.h:160
uiString dataName(GeomType, bool both_pre_post=false)
virtual FlatView::DataDispPars::Common & commonPars()
Definition: uiflatviewproptabs.h:112
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
TypeSet< MarkerStyle2D > markerstyles_
Definition: uiflatviewproptabs.h:233
uiColorTableGroup * uicoltab_
Definition: uiflatviewproptabs.h:151
uiGenInput * auxnamefld_
Definition: uiflatviewproptabs.h:221
TypeSet< Color > fillcolors_
Definition: uiflatviewproptabs.h:232
uiFlatViewer WVA display properties tabs.
Definition: uiflatviewproptabs.h:99
uiSelLineStyle * linestylenocolorfld_
Definition: uiflatviewproptabs.h:223
Group for defining line properties Provides selection of linestyle, linecolor and linewidth...
Definition: uisellinest.h:29
virtual FlatView::DataDispPars::Common & commonPars()
Definition: uiflatviewproptabs.h:148
ColTab::Sequence ctab_
Definition: uiflatviewproptabs.h:147
Annotation data for flatviewers.
Definition: flatview.h:109
FlatView::Viewer & vwr_
Definition: uiflatviewproptabs.h:43
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
BoolTypeSet enabled_
Definition: uiflatviewproptabs.h:229
TypeSet< Interval< double > > x2rgs_
Definition: uiflatviewproptabs.h:235
Maps from [0,1] -> Color.
Definition: coltabsequence.h:37
FlatView::Annotation & annot_
Definition: uiflatviewproptabs.h:186
Wiggle/Variable Area parameters.
Definition: flatview.h:216
uiGenInput * useclipfld_
Definition: uiflatviewproptabs.h:71
Common to VD and WVA.
Definition: flatview.h:192
AxesGroup * x2_
Definition: uiflatviewproptabs.h:219
int getSelAnnot() const
Definition: uiflatviewproptabs.h:175
uiSelLineStyle * auxlinestylefld_
Definition: uiflatviewproptabs.h:207
uiGenInput * blockyfld_
Definition: uiflatviewproptabs.h:77
The base class for most UI elements.
Definition: uiobj.h:38
Combo box.
Definition: uicombobox.h:32
Definition: uistring.h:89
Definition: uiparent.h:26
Set of BufferString objects.
Definition: bufstringset.h:28
Definition: uidlggroup.h:26
TypeSet< int > indices_
Definition: uiflatviewproptabs.h:231
uiFlatViewer properties tabs.
Definition: uiflatviewproptabs.h:33
Data display parameters.
Definition: flatview.h:187
Flat Viewer using FlatView::Data and FlatView::Appearance.
Definition: flatview.h:324
uiLabel * uicoltablbl_
Definition: uiflatviewproptabs.h:152
ObjectSet< FlatView::AuxData::EditPermissions > permissions_
Definition: uiflatviewproptabs.h:228
Manages DataPacks.
Definition: datapack.h:141
uiGenInput * rgfld_
Definition: uiflatviewproptabs.h:76
uiColorInput * fillcolorfld_
Definition: uiflatviewproptabs.h:224
virtual void setData()
Definition: uiflatviewproptabs.h:107
bool showdisplayfield_
Definition: uiflatviewproptabs.h:78
Variable Density (=color-bar driven) parameters.
Definition: flatview.h:205
void setSelAnnot(int i)
Definition: uiflatviewproptabs.h:176
uiFlatViewer VD display properties tabs.
Definition: uiflatviewproptabs.h:134
Definition: uiflatviewproptabs.h:188
FlatView::DataDispPars::WVA & pars_
Definition: uiflatviewproptabs.h:111
uiCheckBox * showauxannotfld_
Definition: uiflatviewproptabs.h:206
General Input Element.
Definition: uigeninput.h:58
DataPackMgr & dpm_
Definition: uiflatviewproptabs.h:45
uiLabel * auxlblfld_
Definition: uiflatviewproptabs.h:208
TypeSet< OD::LineStyle > linestyles_
Definition: uiflatviewproptabs.h:230
AxesGroup * x1_
Definition: uiflatviewproptabs.h:218
uiGenInput * symclipratiofld_
Definition: uiflatviewproptabs.h:72
uiGenInput * x1rgfld_
Definition: uiflatviewproptabs.h:225
uiColorInput * rightcolsel_
Definition: uiflatviewproptabs.h:121
uiFlatViewer data display properties tabs.
Definition: uiflatviewproptabs.h:54
TypeSet< Interval< double > > x1rgs_
Definition: uiflatviewproptabs.h:234
FlatView::Annotation::AxisData & ad_
Definition: uiflatviewproptabs.h:202
Definition: uicolortable.h:117
uiColorInput * reflcolsel_
Definition: uiflatviewproptabs.h:119
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
uiGenInput * annotselfld_
Definition: uiflatviewproptabs.h:210
uiCheckBox * reversedfld_
Definition: uiflatviewproptabs.h:209
uiGenInput * reflinefld_
Definition: uiflatviewproptabs.h:116
small element for color selection. Has no text label.
Definition: uicolor.h:44
FlatView::Appearance & app_
Definition: uiflatviewproptabs.h:44
virtual void setData()
Definition: uiflatviewproptabs.h:142
Definition: uilabel.h:24
FlatView::DataDispPars::VD & pars_
Definition: uiflatviewproptabs.h:146
uiGenInput * symmidvalfld_
Definition: uiflatviewproptabs.h:74
uiGenInput * refvalfld_
Definition: uiflatviewproptabs.h:117
uiObject * lastcommonfld_
Definition: uiflatviewproptabs.h:80
uiGenInput * usemidvalfld_
Definition: uiflatviewproptabs.h:75
Flatviewer appearance.
Definition: flatview.h:270
int currentaux_
Definition: uiflatviewproptabs.h:236
uiGenInput * x2rgfld_
Definition: uiflatviewproptabs.h:226
uiColorInput * colfld_
Definition: uiflatviewproptabs.h:217
uiSelLineStyle * linestylefld_
Definition: uiflatviewproptabs.h:222
uiGenInput * assymclipratiofld_
Definition: uiflatviewproptabs.h:73
uiCheckBox * showannotfld_
Definition: uiflatviewproptabs.h:204
uiGenInput * overlapfld_
Definition: uiflatviewproptabs.h:115
Definition: uibutton.h:134
uiFlatViewer annotation properties tabs.
Definition: uiflatviewproptabs.h:164
FlatView::DataDispPars & ddpars_
Definition: uiflatviewproptabs.h:66
uiComboBox * dispfld_
Definition: uiflatviewproptabs.h:70
uiColorInput * wigcolsel_
Definition: uiflatviewproptabs.h:118
uiColorInput * leftcolsel_
Definition: uiflatviewproptabs.h:120

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