1 #ifndef uiioobjseldlg_h 2 #define uiioobjseldlg_h 29 virtual const IOObj* ioObj()
const = 0;
43 : titletext_(titletxt)
45 , allowsetsurvdefault_(true)
46 , withwriteopts_(true)
47 , withinserters_(true) {}
60 int nrChosen()
const {
return selgrp_->nrChosen(); }
63 { selgrp_->getChosen( ids ); }
65 { selgrp_->getChosen( nms ); }
66 void chooseAll(
bool yn=
true ) { selgrp_->chooseAll( yn ); }
68 const IOObj* ioObj()
const;
74 void setSurveyDefaultSubsel(
const char*);
80 {
return selgrp_->updateCtxtIOObj(); }
89 static uiString selTxt(
bool forread);
#define mExpClass(module)
Definition: commondefs.h:160
description of properties of dialog.
Definition: uidialog.h:51
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Dialog letting the user select an object. It returns an IOObj* after successful go().
Definition: uiioobjseldlg.h:22
void getChosen(TypeSet< MultiID > &ids) const
Definition: uiioobjseldlg.h:62
static const uiString & emptyString()
Definition: uistring.h:109
Definition: uistring.h:89
Definition: uiparent.h:26
Setup setup_
Definition: uiioobjseldlg.h:83
bool fillPar(IOPar &i) const
Definition: uiioobjseldlg.h:71
Set of BufferString objects.
Definition: bufstringset.h:28
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Definition: ctxtioobj.h:142
Definition: uidialog.h:42
Definition: uiioobjseldlg.h:35
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
int nrChosen() const
Definition: uiioobjseldlg.h:60
Setup(const uiString &titletxt=uiString::emptyString())
Definition: uiioobjseldlg.h:42
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
bool acceptOK(CallBacker *)
confirm accept
Definition: uiioobjseldlg.h:79
uiIOObjRetDlg(uiParent *p, const Setup &s)
Definition: uiioobjseldlg.h:26
Definition: uiioobjseldlg.h:39
uiIOObjSelGrp * selGrp()
Definition: uiioobjseldlg.h:70
void getChosen(BufferStringSet &nms) const
Definition: uiioobjseldlg.h:64
const MultiID & chosenID(int i=0) const
Definition: uiioobjseldlg.h:61
uiIOObjSelGrp * selgrp_
Definition: uiioobjseldlg.h:84
void usePar(const IOPar &i)
Definition: uiioobjseldlg.h:72
Basic group for letting the user select an object.
Definition: uiioobjselgrp.h:46
void chooseAll(bool yn=true)
Definition: uiioobjseldlg.h:66
Compound key consisting of ints.
Definition: multiid.h:25
virtual uiIOObjSelGrp * selGrp()
Definition: uiioobjseldlg.h:31