OpendTect-6_4  6.4
uistratlvlsel.h
Go to the documentation of this file.
1 #ifndef uistratlvlsel_h
2 #define uistratlvlsel_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Helene Huck
9  Date: September 2007
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uitoolsmod.h"
16 #include "uigroup.h"
17 
18 class uiComboBox;
19 namespace Strat { class Level; }
20 
21 
26 public:
27 
28  uiStratLevelSel(uiParent*,bool withudf,
29  const uiString& lbltxt=sTiedToTxt());
31  ~uiStratLevelSel();
32 
33  const Strat::Level* selected() const;
34  const char* getName() const;
35  Color getColor() const;
36  int getID() const;
37 
38  void setSelected(const Strat::Level*);
39  void setName(const char*);
40  void setID(int);
41 
43 
44  static const uiString sTiedToTxt();
45 
46 protected:
47 
49  bool haveudf_;
50 
51  void selCB(CallBacker*);
52  void extChgCB(CallBacker*);
53 };
54 
55 
56 #endif
Definition: uigroup.h:54
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
FixedString Level()
Definition: keystrs.h:78
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Selector for stratigraphic levels.
Definition: uistratlvlsel.h:24
Combo box.
Definition: uicombobox.h:32
Definition: uistring.h:89
Definition: uiparent.h:26
Stratigraphic level.
Definition: stratlevel.h:42
bool haveudf_
Definition: uistratlvlsel.h:49
Stratigraphy.
Definition: stratlevel.h:26
uiComboBox * fld_
Definition: uistratlvlsel.h:48
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
Notifier< uiStratLevelSel > selChange
Definition: uistratlvlsel.h:42

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