OpendTect-6_4  6.4
uimultcomputils.h
Go to the documentation of this file.
1 #ifndef uimultcomputils_h
2 #define uimultcomputils_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: H. Huck
8  Date: August 2008
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uiseismod.h"
15 #include "bufstringset.h"
16 #include "uicompoundparsel.h"
17 #include "uidialog.h"
18 #include "uistring.h"
19 
20 class LineKey;
21 class uiGenInput;
22 class uiListBox;
23 
24 
29 public:
31 
32  void getCompNrs(TypeSet<int>&) const;
33  const char* getCompName(int) const;
34 
35 protected:
36 
38 };
39 
40 
45  public:
47  ~uiMultCompSel();
48 
49  void setUpList(const MultiID&);
50  void setUpList(const BufferStringSet&);
51  bool allowChoice() const { return compnms_.size()>1; }
52 
53  protected:
54 
55  BufferString getSummary() const;
56  void doDlg(CallBacker*);
57  void prepareDlg();
58 
59  mExpClass(uiSeis) MCompDlg : public uiDialog
61  public:
63 
64  void selChg(CallBacker*);
67  };
68 
71 };
72 
73 
74 #endif
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
CompoundParSel to capture and sum up the user-selected components.
Definition: uimultcomputils.h:43
Single-line element allowing multi-parameter to be set via a dialog.
Definition: uicompoundparsel.h:31
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
uiListBox * outlistfld_
Definition: uimultcomputils.h:65
BufferStringSet compnms_
Definition: uimultcomputils.h:69
Definition: uiparent.h:26
uiListBox * compfld_
Definition: uimultcomputils.h:37
Set of BufferString objects.
Definition: bufstringset.h:28
Definition: uidialog.h:42
List Box.
Definition: uilistbox.h:75
Key for a line in a line set.
Definition: linekey.h:22
dialog to select (multiple) component(s) of stored data
Definition: uimultcomputils.h:27
General Input Element.
Definition: uigeninput.h:58
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Definition: uimultcomputils.h:59
bool allowChoice() const
Definition: uimultcomputils.h:51
MCompDlg * dlg_
Definition: uimultcomputils.h:70
uiGenInput * useallfld_
Definition: uimultcomputils.h:66
Compound key consisting of ints.
Definition: multiid.h:25

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