OpendTect  6.3
uiwellrdmlinedlg.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 Payraudeau
8  Date: October 2005
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uiwellmod.h"
14 #include "uidialog.h"
15 #include "uigroup.h"
16 #include "bufstringset.h"
17 #include "dbkey.h"
18 #include "uistring.h"
19 
20 class IOObj;
21 class CtxtIOObj;
22 class uiCheckBox;
23 class uiIOObjSel;
24 class uiTable;
25 class uiGenInput;
26 class uiListBox;
27 class uiToolButton;
28 class uiPushButton;
29 class uiWellPartServer;
30 
31 
32 mExpClass(uiWell) uiWellSelGrp : public uiGroup
34 public:
35  uiWellSelGrp(uiParent*,bool withpos=true);
36 
37  void getCoordinates(TypeSet<Coord>&);
38  const DBKeySet& getSelWells() const { return selwellsids_; }
39  void setSelectedWells();
40 
41 protected:
42 
43  void fillListBox();
44 
45  void createSelectButtons(uiGroup*);
46  void createMoveButtons(uiGroup*);
47  void createFields();
48  void attachFields(uiGroup*,uiGroup*);
49  void selButPush(CallBacker*);
50  void moveButPush(CallBacker*);
51  int getFirstEmptyRow();
52  void extendLine(TypeSet<Coord>&);
53  void ptsSel(CallBacker*);
54 
55  bool withpos_;
56 
61 
64 
66 
69 
72 };
73 
84 public:
87 
88  void getCoordinates(TypeSet<Coord>&);
89  DBKey getRandLineID() const;
90  bool dispOnCreation();
91 
92 protected:
93 
94  void createFields();
95  void attachFields();
96  void previewPush(CallBacker*);
97  void extendLine(TypeSet<Coord>&);
98  bool acceptOK();
99 
103 
105 
107 
110 };
Definition: uigroup.h:53
TypeSet< int > selwellstypes_
Definition: uiwellrdmlinedlg.h:60
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
Definition: ioobj.h:57
Definition: uiwellrdmlinedlg.h:32
is the base class for all buttons.
Definition: uibutton.h:80
uiToolButton * fromselect_
Definition: uiwellrdmlinedlg.h:68
uiToolButton * toselect_
Definition: uiwellrdmlinedlg.h:67
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
uiIOObjSel * outfld_
Definition: uiwellrdmlinedlg.h:101
uiWellPartServer * wellserv_
Definition: uiwellrdmlinedlg.h:109
Definition: dbkey.h:98
Definition: uitable.h:29
uiCheckBox * dispfld_
Definition: uiwellrdmlinedlg.h:102
bool withpos_
Definition: uiwellrdmlinedlg.h:55
Definition: uiparent.h:24
Set of BufferString objects.
Definition: bufstringset.h:25
uiGenInput * extendfld_
Definition: uiwellrdmlinedlg.h:100
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Definition: ctxtioobj.h:24
Definition: uidialog.h:40
Part Server for Wells.
Definition: uiwellpartserv.h:40
List Box.
Definition: uilistbox.h:73
uiToolButton * moveupward_
Definition: uiwellrdmlinedlg.h:70
Set of (small) copyable elements.
Definition: commontypes.h:26
uiToolButton * movedownward_
Definition: uiwellrdmlinedlg.h:71
General Input Element.
Definition: uigeninput.h:56
BufferStringSet allwellsnames_
Definition: uiwellrdmlinedlg.h:57
uiTable * selwellstbl_
Definition: uiwellrdmlinedlg.h:63
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:36
DBKeySet allwellsids_
Definition: uiwellrdmlinedlg.h:58
uiListBox * wellsbox_
Definition: uiwellrdmlinedlg.h:62
: setup a dialog where the user can select throught which wells (s)he wants to make a random line pat...
Definition: uiwellrdmlinedlg.h:82
CtxtIOObj & outctio_
Definition: uiwellrdmlinedlg.h:104
const DBKeySet & getSelWells() const
Definition: uiwellrdmlinedlg.h:38
Definition: uitoolbutton.h:20
uiWellSelGrp * selgrp_
Definition: uiwellrdmlinedlg.h:108
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
Definition: uibutton.h:130
uiGenInput * onlytopfld_
Definition: uiwellrdmlinedlg.h:65
DBKeySet selwellsids_
Definition: uiwellrdmlinedlg.h:59
uiPushButton * previewbutton_
Definition: uiwellrdmlinedlg.h:106

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