OpendTect  6.6
uisegyimpparsdlg.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: Bert
8  Date: Oct 2015
9  RCS: $Id:$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uisegycommon.h"
15 #include "uidialog.h"
16 
17 class uiListBox;
18 class uiCheckBox;
19 class uiGenInput;
20 class uiTextEdit;
21 namespace Repos { class IOParSet; class IOPar; }
22 
23 
24 mExpClass(uiSEGYTools) uiSEGYImpParsDlg : public uiDialog
26 public:
27 
28  uiSEGYImpParsDlg(uiParent*,bool,const char*);
30 
31  const char* parName() const { return parname_; }
32 
33 protected:
34 
36  uiButton* renbut_;
37  uiButton* delbut_;
39 
41  mutable bool setchgd_;
42 
43  int parIdx() const;
44  void fillList();
45  void update(const char*);
46  void updateButtons();
47 
48  void renCB(CallBacker*);
49  void delCB(CallBacker*);
52 
53  virtual void selectionChanged() {}
54  virtual bool doIO() = 0;
55 
56 };
57 
58 
61 public:
62 
63  uiSEGYReadImpParsDlg(uiParent*,const char* defnm=0);
64 
65  const IOPar* pars() const;
66 
67 protected:
68 
69  virtual bool doIO();
71 
72  virtual void selectionChanged();
73 
74 };
75 
76 
79 public:
80 
82  const char* defnm=0);
84 
85 protected:
86 
90 
91  virtual bool doIO();
92  virtual void selectionChanged();
93 
94 };
95 
96 
97 
uiSEGYImpParsDlg::selChgCB
void selChgCB(CallBacker *)
uiSEGYReadImpParsDlg::selectionChanged
virtual void selectionChanged()
uiSEGYImpParsDlg::renCB
void renCB(CallBacker *)
uiSEGYImpParsDlg::setchgd_
bool setchgd_
Definition: uisegyimpparsdlg.h:41
uiSEGYImpParsDlg::listfld_
uiListBox * listfld_
Definition: uisegyimpparsdlg.h:35
uiSEGYReadImpParsDlg::detailsfld_
uiTextEdit * detailsfld_
Definition: uisegyimpparsdlg.h:70
uiSEGYImpParsDlg::updateButtons
void updateButtons()
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
uiSEGYImpParsDlg::fillList
void fillList()
uiCheckBox
Definition: uibutton.h:167
uiSEGYImpParsDlg::parIdx
int parIdx() const
uiSEGYStoreImpParsDlg
Definition: uisegyimpparsdlg.h:78
uiSEGYReadImpParsDlg::pars
mODTextTranslationClass(uiSEGYReadImpParsDlg) public const IOPar * pars() const
uiSEGYReadImpParsDlg::doIO
virtual bool doIO()
uiTextEdit
Definition: uitextedit.h:75
uiSEGYImpParsDlg::update
void update(const char *)
uiSEGYImpParsDlg::doIO
virtual bool doIO()=0
uisegycommon.h
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
uiSEGYImpParsDlg::parset_
Repos::IOParSet & parset_
Definition: uisegyimpparsdlg.h:38
mODTextTranslationClass
#define mODTextTranslationClass(clss)
Definition: uistring.h:40
uiGenInput
General Input Element.
Definition: uigeninput.h:59
uiSEGYStoreImpParsDlg::parstostore_
Repos::IOPar * parstostore_
Definition: uisegyimpparsdlg.h:89
uiListBox
List Box.
Definition: uilistbox.h:75
uiSEGYStoreImpParsDlg::~uiSEGYStoreImpParsDlg
mODTextTranslationClass(uiSEGYStoreImpParsDlg) public ~uiSEGYStoreImpParsDlg()
uiSEGYStoreImpParsDlg::asdefbox_
uiCheckBox * asdefbox_
Definition: uisegyimpparsdlg.h:88
uidialog.h
uiSEGYImpParsDlg::delCB
void delCB(CallBacker *)
uiSEGYImpParsDlg::~uiSEGYImpParsDlg
mODTextTranslationClass(uiSEGYImpParsDlg) public ~uiSEGYImpParsDlg()
uiSEGYImpParsDlg::renbut_
uiButton * renbut_
Definition: uisegyimpparsdlg.h:36
uiSEGYStoreImpParsDlg::selectionChanged
virtual void selectionChanged()
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
uiSEGYImpParsDlg
Definition: uisegyimpparsdlg.h:25
uiSEGYStoreImpParsDlg::doIO
virtual bool doIO()
uiSEGYImpParsDlg::selectionChanged
virtual void selectionChanged()
Definition: uisegyimpparsdlg.h:53
uiSEGYImpParsDlg::parName
const char * parName() const
Definition: uisegyimpparsdlg.h:31
uiSEGYImpParsDlg::delbut_
uiButton * delbut_
Definition: uisegyimpparsdlg.h:37
uiParent
Definition: uiparent.h:26
uiSEGYImpParsDlg::acceptOK
bool acceptOK(CallBacker *)
confirm accept
Repos::IOPar
IOPar with its Repos Source.
Definition: repos.h:87
uiDialog
Definition: uidialog.h:42
uiSEGYReadImpParsDlg
Definition: uisegyimpparsdlg.h:60
IOPar
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
uiSEGYStoreImpParsDlg::namefld_
uiGenInput * namefld_
Definition: uisegyimpparsdlg.h:87
uiSEGYImpParsDlg::parname_
BufferString parname_
Definition: uisegyimpparsdlg.h:40
Repos
Definition: repos.h:22
Repos::IOParSet
Set of Repos::IOPar with each a unique name for user recognistion.
Definition: repos.h:103

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