OpendTect  6.3
uiwaveletsel.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: July 2016
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uiseismod.h"
14 #include "uiioobjsel.h"
15 #include "wavelet.h"
16 #include "ioobjctxt.h"
18 
19 
24 public:
25 
26  mExpClass(uiSeis) Setup : public uiIOObjSel::Setup
27  {
28  public:
29  Setup( const uiString& seltext=uiString::emptyString() )
30  : uiIOObjSel::Setup(seltext)
31  , withextract_(true)
32  , withman_(true)
33  , bigbuts_(false) {}
34 
35  // Only when for read:
36  mDefSetupMemb(bool,withextract)
37  mDefSetupMemb(bool,withman)
38  mDefSetupMemb(bool,bigbuts)
39  // "I ... like ... bigbuts and I don't know why"
40 
41  };
42 
43  uiWaveletIOObjSel(uiParent*,bool forread=true);
44  uiWaveletIOObjSel(uiParent*,const Setup&,
45  bool forread=true);
46 
47  ConstRefMan<Wavelet> getWavelet() const;
48  RefMan<Wavelet> getWaveletForEdit() const;
49  bool store(const Wavelet&,bool askoverwrite=true);
50 
51  static IOObjContext getCtxt(bool forread=true);
52 
53 protected:
54 
56 
57  void startManCB(CallBacker*);
58  void extractCB(CallBacker*);
59  void extrDlgCloseCB(CallBacker*);
60  void extractionDoneCB(CallBacker*);
61 
62 private:
63 
64  void init(const Setup&,bool);
65 
66 };
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
Setup(const uiString &seltext=uiString::emptyString())
Definition: uiwaveletsel.h:29
bool init()
Definition: wavelet.h:22
static const uiString & emptyString()
Definition: uistring.h:107
Definition: uistring.h:88
Definition: uiparent.h:24
selects wavelets.
Definition: uiwaveletsel.h:22
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:129
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:36
Definition: uiwaveletextraction.h:27
uiWaveletExtraction * extrdlg_
Definition: uiwaveletsel.h:55
Holds the context for selecting and/or creating IOObjs.
Definition: ioobjctxt.h:59
Definition: uiwaveletsel.h:26

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