OpendTect-6_4  6.4
uiwellrdmlinedlg.h
Go to the documentation of this file.
1 #ifndef uiwellrdmlinedlg_h
2 #define uiwellrdmlinedlg_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Helene Payraudeau
9  Date: October 2005
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiwellmod.h"
16 #include "uidialog.h"
17 #include "uigroup.h"
18 #include "bufstringset.h"
19 #include "uistring.h"
20 
21 class IOObj;
22 class CtxtIOObj;
23 class uiCheckBox;
24 class uiIOObjSel;
25 class uiTable;
26 class uiGenInput;
27 class uiListBox;
28 class uiToolButton;
29 class uiPushButton;
30 class uiWellPartServer;
31 
32 
33 mExpClass(uiWell) uiWellSelGrp : public uiGroup
35 public:
36  uiWellSelGrp(uiParent*,bool withpos=true);
37 
38  void getCoordinates(TypeSet<Coord>&);
39  const TypeSet<MultiID>& getSelWells() const { return selwellsids_; }
40  void setSelectedWells();
41 
42 protected:
43 
44  void fillListBox();
45 
46  void createSelectButtons(uiGroup*);
47  void createMoveButtons(uiGroup*);
48  void createFields();
49  void attachFields(uiGroup*,uiGroup*);
50  void selButPush(CallBacker*);
51  void moveButPush(CallBacker*);
52  int getFirstEmptyRow();
53  void extendLine(TypeSet<Coord>&);
54  void ptsSel(CallBacker*);
55 
56  bool withpos_;
57 
62 
65 
67 
70 
73 };
74 
85 public:
88 
89  void getCoordinates(TypeSet<Coord>&);
90  const char* getRandLineID() const;
91  bool dispOnCreation();
92 
93 protected:
94 
95  void createFields();
96  void attachFields();
97  void previewPush(CallBacker*);
98  void extendLine(TypeSet<Coord>&);
99  bool acceptOK(CallBacker*);
100 
104 
106 
108 
111 };
112 
113 #endif
Definition: uigroup.h:54
TypeSet< int > selwellstypes_
Definition: uiwellrdmlinedlg.h:61
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
TypeSet< MultiID > selwellsids_
Definition: uiwellrdmlinedlg.h:60
Definition: ioobj.h:58
Definition: uiwellrdmlinedlg.h:33
is the base class for all buttons.
Definition: uibutton.h:83
uiToolButton * fromselect_
Definition: uiwellrdmlinedlg.h:69
uiToolButton * toselect_
Definition: uiwellrdmlinedlg.h:68
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
uiIOObjSel * outfld_
Definition: uiwellrdmlinedlg.h:102
uiWellPartServer * wellserv_
Definition: uiwellrdmlinedlg.h:110
Definition: uitable.h:30
uiCheckBox * dispfld_
Definition: uiwellrdmlinedlg.h:103
bool withpos_
Definition: uiwellrdmlinedlg.h:56
Definition: uiparent.h:26
Set of BufferString objects.
Definition: bufstringset.h:28
uiGenInput * extendfld_
Definition: uiwellrdmlinedlg.h:101
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Definition: ctxtioobj.h:142
Definition: uidialog.h:42
Part Server for Wells.
Definition: uiwellpartserv.h:39
List Box.
Definition: uilistbox.h:75
uiToolButton * moveupward_
Definition: uiwellrdmlinedlg.h:71
uiToolButton * movedownward_
Definition: uiwellrdmlinedlg.h:72
const TypeSet< MultiID > & getSelWells() const
Definition: uiwellrdmlinedlg.h:39
General Input Element.
Definition: uigeninput.h:58
BufferStringSet allwellsnames_
Definition: uiwellrdmlinedlg.h:58
uiTable * selwellstbl_
Definition: uiwellrdmlinedlg.h:64
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:38
uiListBox * wellsbox_
Definition: uiwellrdmlinedlg.h:63
: setup a dialog where the user can select throught which wells (s)he wants to make a random line pat...
Definition: uiwellrdmlinedlg.h:83
CtxtIOObj & outctio_
Definition: uiwellrdmlinedlg.h:105
Definition: uitoolbutton.h:22
uiWellSelGrp * selgrp_
Definition: uiwellrdmlinedlg.h:109
Definition: uibutton.h:134
TypeSet< MultiID > allwellsids_
Definition: uiwellrdmlinedlg.h:59
uiGenInput * onlytopfld_
Definition: uiwellrdmlinedlg.h:66
uiPushButton * previewbutton_
Definition: uiwellrdmlinedlg.h:107

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