OpendTect-6_4  6.4
uistratlvllist.h
Go to the documentation of this file.
1 #ifndef uistratlvllist_h
2 #define uistratlvllist_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Helene Huck / Bruno
9  Date: July 2007 /Sept 2010
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uistratmod.h"
16 #include "uilistbox.h"
17 
20 public:
21 
23  ~uiStratLvlList();
24 
25  void setLevels();
26  void setIsLocked(bool yn) { islocked_ = yn; }
27 
28  bool anyChg() const { return anychange_; }
29  void setNoChg() { anychange_ = false; }
30 
31 protected:
32 
33  bool islocked_;
34  bool anychange_;
35 
36  void editLevel(bool);
37  bool checkLocked() const;
38 
39  void fill(CallBacker*);
40  void removeLvl(CallBacker*);
41  void selLvlChgCB(CallBacker*);
42 
43  void addCB(CallBacker*);
44  void editCB(CallBacker*);
45  void removeCB(CallBacker*);
46  void removeAllCB(CallBacker*);
47 
48 private:
49  static const char* sNoLevelTxt() {return "--- None ---"; }
50 };
51 
52 #endif
#define mExpClass(module)
Definition: commondefs.h:160
bool anyChg() const
Definition: uistratlvllist.h:28
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
bool islocked_
Definition: uistratlvllist.h:33
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Definition: uistratlvllist.h:18
Definition: uiparent.h:26
List Box.
Definition: uilistbox.h:75
static const char * sNoLevelTxt()
Definition: uistratlvllist.h:49
void setNoChg()
Definition: uistratlvllist.h:29
bool anychange_
Definition: uistratlvllist.h:34
void setIsLocked(bool yn)
Definition: uistratlvllist.h:26

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