OpendTect  6.3
uimultcomputils.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: H. Huck
7  Date: August 2008
8 ________________________________________________________________________
9 
10 -*/
11 
12 #include "uiseismod.h"
13 #include "bufstringset.h"
14 #include "uicompoundparsel.h"
15 #include "uidialog.h"
16 #include "uistring.h"
17 
18 class uiGenInput;
19 class uiListBox;
20 
21 
26 public:
28 
29  void getCompNrs(TypeSet<int>&) const;
30  const char* getCompName(int) const;
31 
32 protected:
33 
35 };
36 
37 
42  public:
44  ~uiMultCompSel();
45 
46  void setUpList(const DBKey&);
47  void setUpList(const BufferStringSet&);
48  bool allowChoice() const { return compnms_.size()>1; }
49 
50  protected:
51 
52  BufferString getSummary() const;
53  void doDlg(CallBacker*);
54  void prepareDlg();
55 
56  mExpClass(uiSeis) MCompDlg : public uiDialog
58  public:
60 
61  void selChg(CallBacker*);
64  };
65 
68 };
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
CompoundParSel to capture and sum up the user-selected components.
Definition: uimultcomputils.h:40
Single-line element allowing multi-parameter to be set via a dialog.
Definition: uicompoundparsel.h:29
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
uiListBox * outlistfld_
Definition: uimultcomputils.h:62
BufferStringSet compnms_
Definition: uimultcomputils.h:66
Definition: uiparent.h:24
uiListBox * compfld_
Definition: uimultcomputils.h:34
Set of BufferString objects.
Definition: bufstringset.h:25
Definition: uidialog.h:40
List Box.
Definition: uilistbox.h:73
dialog to select (multiple) component(s) of stored data
Definition: uimultcomputils.h:24
General Input Element.
Definition: uigeninput.h:56
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
Definition: uimultcomputils.h:56
bool allowChoice() const
Definition: uimultcomputils.h:48
MCompDlg * dlg_
Definition: uimultcomputils.h:67
uiGenInput * useallfld_
Definition: uimultcomputils.h:63

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