OpendTect-6_4  6.4
uiautoattrdescset.h
Go to the documentation of this file.
1 #ifndef uiautoattrdescset_h
2 #define uiautoattrdescset_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: R. K. Singh
9  Date: June 2007
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiattributesmod.h"
16 #include "uidialog.h"
17 #include "multiid.h"
18 #include "bufstringset.h"
19 
20 class uiAttrDescEd;
21 class uiCheckBox;
22 class uiGenInput;
23 class uiLabel;
24 class uiListBox;
25 class uiIOObjSelGrp;
26 class CtxtIOObj;
27 class IOObj;
28 
29 
34 mExpClass(uiAttributes) uiAutoAttrSelDlg : public uiDialog
36 public:
37  uiAutoAttrSelDlg(uiParent* p,bool);
39 
40  IOObj* getObj();
41  bool useAuto();
42  bool loadAuto();
43 
44 protected:
45 
47  bool is2d_;
48 
53 
54  void useChg(CallBacker*);
55  bool acceptOK(CallBacker*);
56 
57 };
58 
59 
60 mExpClass(uiAttributes) uiAutoAttrSetOpen : public uiDialog
62 public:
66 
67  IOObj* getObj();
68  const char* getAttribname();
69  const char* getAttribfile();
70  bool isUserDef() { return usrdef_; }
71  bool isAuto() { return isauto_; }
72 
73 protected:
74 
76 
82 
85  int defselid_;
86  bool usrdef_;
87  bool isauto_;
88 
89  void setChg(CallBacker*);
90  bool acceptOK(CallBacker*);
91 
92 };
93 
94 #endif
uiListBox * defattrlist_
Definition: uiautoattrdescset.h:79
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
BufferStringSet attribnames_
Definition: uiautoattrdescset.h:84
uiLabel * lbl_
Definition: uiautoattrdescset.h:51
Definition: ioobj.h:58
int defselid_
Definition: uiautoattrdescset.h:85
bool is2d_
Definition: uiautoattrdescset.h:47
CtxtIOObj & ctio_
Definition: uiautoattrdescset.h:75
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Attribute description editor.
Definition: uiattrdesced.h:83
uiCheckBox * loadbutton_
Definition: uiautoattrdescset.h:52
bool isAuto()
Definition: uiautoattrdescset.h:71
Definition: uiparent.h:26
Set of BufferString objects.
Definition: bufstringset.h:28
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Definition: ctxtioobj.h:142
uiLabel * lbl_
Definition: uiautoattrdescset.h:78
Definition: uidialog.h:42
bool isauto_
Definition: uiautoattrdescset.h:87
List Box.
Definition: uilistbox.h:75
bool usrdef_
Definition: uiautoattrdescset.h:86
uiGenInput * usefld_
Definition: uiautoattrdescset.h:49
CtxtIOObj & ctio_
Definition: uiautoattrdescset.h:46
uiGenInput * defselfld_
Definition: uiautoattrdescset.h:80
General Input Element.
Definition: uigeninput.h:58
uiGenInput * autoloadfld_
Definition: uiautoattrdescset.h:81
Class for selecting Auto-load Attribute Set.
Definition: uiautoattrdescset.h:34
uiIOObjSelGrp * selgrp_
Definition: uiautoattrdescset.h:50
Definition: uilabel.h:24
Definition: uiautoattrdescset.h:60
Definition: uibutton.h:134
uiIOObjSelGrp * selgrp_
Definition: uiautoattrdescset.h:77
Basic group for letting the user select an object.
Definition: uiioobjselgrp.h:46
BufferStringSet attribfiles_
Definition: uiautoattrdescset.h:83
bool isUserDef()
Definition: uiautoattrdescset.h:70

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