1 #ifndef uiioobjselgrp_h 2 #define uiioobjselgrp_h 28 class uiIOObjSelGrpManipSubj;
57 , allowsetdefault_(false)
58 , withinserters_(true)
59 , withwriteopts_(true)
60 , confirmoverwrite_(true) {}
75 # define mDefuiIOObjSelGrpConstructors(ctxtclss) \ 76 uiIOObjSelGrp(uiParent*,const ctxtclss&); \ 77 uiIOObjSelGrp(uiParent*,const ctxtclss&, \ 78 const uiString& seltxt); \ 79 uiIOObjSelGrp(uiParent*,const ctxtclss&, \ 81 uiIOObjSelGrp(uiParent*,const ctxtclss&, \ 82 const uiString& seltxt,const Setup&) 93 int currentItem()
const;
96 bool isChosen(
int)
const;
97 const MultiID& chosenID(
int idx=0)
const;
100 void setCurrent(
int);
101 void setCurrent(
const MultiID&);
102 void setChosen(
int,
bool yn=
true);
104 void chooseAll(
bool yn=
true);
106 bool updateCtxtIOObj();
120 { setup_.confirmoverwrite_ = yn; }
122 { asked2overwrite_ = yn; }
124 void setSurveyDefaultSubsel(
const char* subsel);
135 void fullUpdate(
const MultiID& kpselected);
136 void fullUpdate(
int);
161 IOObj* getIOObj(
int);
162 virtual bool createEntry(
const char*);
163 IOObj* updStatusBarInfo(
bool);
164 void triggerStatusMsg(
const char*);
182 void mkManipulators();
187 friend class uiIOObjSelGrpManipSubj;
#define mExpClass(module)
Definition: commondefs.h:160
uiGenInput * getNameField()
Definition: uiioobjselgrp.h:113
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
ChoiceMode
What to choose from any list-type UI object.
Definition: oduicommon.h:42
Definition: uiioobjselgrp.h:50
uiGroup * topgrp_
Definition: uiioobjselgrp.h:158
uiGroup * getTopGroup()
Definition: uiioobjselgrp.h:112
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Notifier< uiIOObjSelGrp > newStatusMsg
Definition: uiioobjselgrp.h:131
CtxtIOObj & ctio_
Definition: uiioobjselgrp.h:140
BufferString surveydefaultsubsel_
Definition: uiioobjselgrp.h:145
Notifier< uiIOObjSelGrp > selectionChanged
Definition: uiioobjselgrp.h:129
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
uiListBox * listfld_
Definition: uiioobjselgrp.h:149
void setConfirmOverwrite(bool yn)
Definition: uiioobjselgrp.h:119
Definition: oduicommon.h:45
const CtxtIOObj & getCtxtIOObj() const
Definition: uiioobjselgrp.h:107
Setup(OD::ChoiceMode cm=OD::ChooseOnlyOne)
Definition: uiioobjselgrp.h:53
static const uiString & emptyString()
Definition: uistring.h:109
Definition: uistring.h:89
uiToolButton * mkdefbut_
Definition: uiioobjselgrp.h:154
uiGenInput * nmfld_
Definition: uiioobjselgrp.h:150
Set of BufferString objects.
Definition: bufstringset.h:28
uiIOObjSelWriteTranslator * wrtrselfld_
Definition: uiioobjselgrp.h:153
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Definition: ctxtioobj.h:142
uiGenInput * getFilterField()
Definition: uiioobjselgrp.h:114
Definition: uiioobjseldlg.h:35
List Box.
Definition: uilistbox.h:75
bool askedToOverwrite() const
Definition: uiioobjselgrp.h:123
#define mDefuiIOObjSelGrpConstructors(ctxtclss)
Definition: uiioobjselgrp.h:75
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Notifier< uiIOObjSelGrp > itemChosen
Definition: uiioobjselgrp.h:130
BufferStringSet ioobjnms_
Definition: uiioobjselgrp.h:143
Allows save/restore of chosen items for a uiListBox.
Definition: uilistboxchoiceio.h:36
Buttongroup to manipulate an IODirEntryList.
Definition: uiioobjmanip.h:84
BufferStringSet dispnms_
Definition: uiioobjselgrp.h:144
uiGenInput * filtfld_
Definition: uiioobjselgrp.h:151
inserts a new object into the OD data store.
Definition: uiioobjinserter.h:31
ObjectSet< uiIOObjInserter > inserters_
Definition: uiioobjselgrp.h:157
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
uiIOObjSelGrpManipSubj * manipgrpsubj
Definition: uiioobjselgrp.h:152
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
uiListBox * getListField()
Definition: uiioobjselgrp.h:115
Setup setup_
Definition: uiioobjselgrp.h:141
I/O Interpreter class for a certain object type.
Definition: transl.h:123
bool isMultiChoice() const
Definition: uiioobjselgrp.h:90
void setAskedToOverwrite(bool yn)
Definition: uiioobjselgrp.h:121
ObjectSet< const char > iconnms_
Definition: uiioobjselgrp.h:147
bool asked2overwrite_
Definition: uiioobjselgrp.h:146
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Group for selecting output translator.
Definition: uiioobjselwritetransl.h:80
const ObjectSet< MultiID > & getIOObjIds() const
Definition: uiioobjselgrp.h:117
ObjectSet< MultiID > ioobjids_
Definition: uiioobjselgrp.h:142
ObjectSet< uiButton > insertbuts_
Definition: uiioobjselgrp.h:156
void selChg(CallBacker *)
bool isEmpty(const NLAModel *mdl)
bool isMultiChoice() const
Definition: uiioobjselgrp.h:70
bool isMultiChoice(OD::ChoiceMode cm)
Definition: oduicommon.h:90
uiListBoxChoiceIO * lbchoiceio_
Definition: uiioobjselgrp.h:155
Basic group for letting the user select an object.
Definition: uiioobjselgrp.h:46
Compound key consisting of ints.
Definition: multiid.h:25
Holds the context for selecting and/or creating IOObjs.
Definition: ctxtioobj.h:62