OpendTect  6.3
uistratlvllist.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 / Bruno
8  Date: July 2007 /Sept 2010
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uistratmod.h"
14 #include "uilistbox.h"
15 
18 public:
19 
21  ~uiStratLvlList();
22 
23  void setLevels();
24  void setIsLocked( bool yn ) { islocked_ = yn; }
25 
26  bool anyChg() const { return anychange_; }
27  void setNoChg() { anychange_ = false; }
28 
29 protected:
30 
31  bool islocked_;
32  bool anychange_;
33 
34  void fill();
35  void editLevel(bool);
36  bool checkLocked() const;
37 
38  void lvlSetChgCB(CallBacker*);
39  void removeLvl(CallBacker*);
40  void selLvlChgCB(CallBacker*);
41 
42  void addCB(CallBacker*);
43  void editCB(CallBacker*);
44  void removeCB(CallBacker*);
45  void removeAllCB(CallBacker*);
46 
47 private:
48 
49  static const char* sNoLevelTxt() {return "--- None ---"; }
50 
51 };
#define mExpClass(module)
Definition: commondefs.h:157
bool anyChg() const
Definition: uistratlvllist.h:26
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
bool islocked_
Definition: uistratlvllist.h:31
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
Definition: uistratlvllist.h:16
Definition: uiparent.h:24
List Box.
Definition: uilistbox.h:73
static const char * sNoLevelTxt()
Definition: uistratlvllist.h:49
void setNoChg()
Definition: uistratlvllist.h:27
bool anychange_
Definition: uistratlvllist.h:32
void setIsLocked(bool yn)
Definition: uistratlvllist.h:24

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