OpendTect  6.3
uistratlvlsel.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: Helene Huck
8  Date: September 2007
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "stratlevel.h"
14 
15 #include "uitoolsmod.h"
16 #include "uigroup.h"
17 
18 class uiComboBox;
19 namespace Strat { class Level; }
20 
21 
26 public:
27 
28  typedef Strat::Level::ID LevelID;
29 
30  uiStratLevelSel(uiParent*,bool withudf,
31  const uiString& lbltxt=sTiedToTxt());
33  ~uiStratLevelSel();
34 
35  Strat::Level selected() const;
36  BufferString getLevelName() const;
37  Color getColor() const;
38  LevelID getID() const;
39 
40  void setName(const char*);
41  void setID(LevelID);
42 
44 
45  static const uiString sTiedToTxt();
46 
47 protected:
48 
50  bool haveudf_;
51 
52  void selCB(CallBacker*);
53  void extChgCB(CallBacker*);
54 };
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
FixedString Level()
Definition: keystrs.h:78
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
Selector for stratigraphic levels.
Definition: uistratlvlsel.h:24
Combo box.
Definition: uicombobox.h:30
Definition: uistring.h:88
Definition: uiparent.h:24
Stratigraphic level.
Definition: stratlevel.h:35
bool haveudf_
Definition: uistratlvlsel.h:50
Stratigraphy.
Definition: stratlevel.h:25
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
uiComboBox * fld_
Definition: uistratlvlsel.h:49
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:24
Notifier< uiStratLevelSel > selChange
Definition: uistratlvlsel.h:43
FixedString ID()
Definition: keystrs.h:71

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