OpendTect  6.3
uicolseqman.h
Go to the documentation of this file.
1 #pragma once
2 /*+
3 ________________________________________________________________________
4 
5  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
6  Author: Satyaki
7  Date: February 2008
8 ________________________________________________________________________
9 
10 -*/
11 
12 #include "uitoolsmod.h"
13 #include "uidialog.h"
14 #include "coltabsequence.h"
15 #include "datadistribution.h"
16 
17 class uiColorInput;
18 class uiColSeqDisp;
19 class uiColSeqColCtrlPtsEd;
20 class uiFunctionDisplay;
21 class uiGenInput;
22 class uiTreeView;
23 class uiButton;
24 class uiLabeledSpinBox;
25 class uiColTabImport;
26 
27 
28 mExpClass(uiTools) uiColSeqMan : public uiDialog
30 public:
31 
33 
34  uiColSeqMan(uiParent*,const char* initialseqnm=0);
35  ~uiColSeqMan();
37 
38  const Sequence& current() const { return *curseq_; }
39 
41 
42 protected:
43 
46  uiColSeqColCtrlPtsEd* ctrlptsed_;
52  uiButton* removebut_;
53 
58  bool mgrsaved_;
59 
60  friend class uiColSeqColCtrlPtsEd;
61 
62  bool save();
63  bool acceptOK();
64  bool rejectOK();
65 
66  void setSegmentation();
67  void handleSeqChg();
68 
69  void updateColSeqList();
70  void updateTransparencyGraph();
71  void updateSegmentationFields();
72  void updateSpecColFlds();
73  void updateActionStates();
74 
75  void doFinalise(CallBacker*);
76  void selChgCB(CallBacker*);
77  void transpPtSelCB(CallBacker*);
78  void transpPtChgCB(CallBacker*);
79  void segmentTypeSelCB(CallBacker*);
80  void nrSegmentsChgCB(CallBacker*);
81  void undefColSelCB(CallBacker*);
82  void markerColSelCB(CallBacker*);
83  void impColSeqCB(CallBacker*);
84  void removeCB(CallBacker*);
85  void toggleDisabledCB(CallBacker*);
86  void seqChgCB(CallBacker*);
87  void seqMgrChgCB(CallBacker*);
88 
89 };
#define mExpClass(module)
Definition: commondefs.h:157
uiColSeqDisp * seqdisp_
Definition: uicolseqman.h:47
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
uiColorInput * undefcolfld_
Definition: uicolseqman.h:48
Notifier< uiColSeqMan > selectionChanged
Definition: uicolseqman.h:40
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
A series of color control points able to give an (interpolated) color for every position [0...
Definition: coltabsequence.h:37
uiColSeqColCtrlPtsEd * ctrlptsed_
Definition: uicolseqman.h:46
uiGenInput * segtypefld_
Definition: uicolseqman.h:50
Definition: uiparent.h:24
ColTab::SequenceManager & seqmgr_
Definition: uicolseqman.h:56
Manages Sequences; reads/writes system or user-defined.
Definition: coltabseqmgr.h:33
uiLabeledSpinBox * nrsegfld_
Definition: uicolseqman.h:51
Definition: uidialog.h:40
#define mDeclInstanceCreatedNotifierAccess(clss)
Definition: notify.h:235
Definition: uispinbox.h:123
General Input Element.
Definition: uigeninput.h:56
displays a function of (X,Y) pairs on a canvas - optionally a Y2.
Definition: uifunctiondisplay.h:37
Definition: uitreeview.h:29
ColTab::Sequence Sequence
Definition: uicolseqman.h:32
ColTab::SequenceManager * rollbackmgr_
Definition: uicolseqman.h:57
uiButton * removebut_
Definition: uicolseqman.h:52
small element for color selection. Has no text label.
Definition: uicolor.h:42
uiTreeView * seqlistfld_
Definition: uicolseqman.h:44
Definition: uicolseqman.h:28
bool mgrsaved_
Definition: uicolseqman.h:58
uiColorInput * markcolfld_
Definition: uicolseqman.h:49
RefMan< ColTab::Sequence > curseq_
Definition: uicolseqman.h:54
RefMan< ColTab::Sequence > rollbackseq_
Definition: uicolseqman.h:55
Definition: uicolseqdisp.h:34
const Sequence & current() const
Definition: uicolseqman.h:38
uiFunctionDisplay * transpdisp_
Definition: uicolseqman.h:45
Definition: ptrman.h:200

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