40 const char* excludenm=0);
42 static bool survTypeOKForUser(
bool is2d);
53 , tooltip_(tooltip) {}
59 static void add(
const Util&);
64 const char* selectedSurveyName()
const;
66 {
return freshsurveyselected_; }
67 bool hasSurveys()
const;
108 void updateSurveyNames();
109 void readSurvInfoFromFile();
110 void setCurrentSurvInfo(
SurveyInfo*,
bool updscreen=
true);
111 void updateDataRootLabel();
112 void updateSurvList();
114 bool writeSettingsSurveyFile();
115 bool writeSurvInfoFileIfCommentChanged();
116 bool rootDirWritable()
const;
117 bool doSurvInfoDialog(
bool isnew);
118 void updateDataRootInSettings();
119 void rollbackNewSurvey(
const uiString&);
uiSurvInfoProvider * impsip_
Definition: uisurvey.h:78
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: uitextedit.h:74
The main survey selection dialog.
Definition: uisurvey.h:32
BufferStringSet surveydirs_
Definition: uisurvey.h:80
uiButton * editbut_
Definition: uisurvey.h:84
uiTextEdit * infofld_
Definition: uisurvey.h:87
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
SurveyInfo * curSurvInfo()
Definition: uisurvey.h:61
const BufferString orgdataroot_
Definition: uisurvey.h:73
Definition: uistring.h:89
Definition: uiparent.h:26
ObjectSet< uiButton > utilbuts_
Definition: uisurvey.h:86
Holds survey general information.
Definition: survinfo.h:45
Util(const char *pixmap, const uiString &tooltip, const CallBack &cb)
Definition: uisurvey.h:49
Set of BufferString objects.
Definition: bufstringset.h:28
uiSurveyMap * survmap_
Definition: uisurvey.h:76
uiButton * rmbut_
Definition: uisurvey.h:85
Definition: uidialog.h:42
List Box.
Definition: uilistbox.h:75
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
uiListBox * dirfld_
Definition: uisurvey.h:83
bool currentSurvRemoved() const
Definition: uisurvey.h:68
BufferString dataroot_
Definition: uisurvey.h:74
Definition: uisurvmap.h:82
BufferString initialsurveyname_
Definition: uisurvey.h:75
uiString tooltip_
Definition: uisurvey.h:57
'Menu' item on window. First is always 'X,Y <-> I/C'
Definition: uisurvey.h:47
uiTextEdit * notesfld_
Definition: uisurvey.h:88
BufferString pixmap_
Definition: uisurvey.h:56
BufferStringSet surveynames_
Definition: uisurvey.h:79
IOPar * impiop_
Definition: uisurvey.h:77
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
uiLineEdit * datarootlbl_
Definition: uisurvey.h:82
SurveyInfo * cursurvinfo_
Definition: uisurvey.h:72
bool parschanged_
of initial survey only
Definition: uisurvey.h:89
void updateInfo(CallBacker *)
Definition: uisurvey.h:106
bool freshsurveyselected_
Definition: uisurvey.h:91
Definition: uilineedit.h:51
const SurveyInfo * curSurvInfo() const
Definition: uisurvey.h:62
CallBacks object-oriented (object + method).
Definition: callback.h:57
bool freshSurveySelected() const
Definition: uisurvey.h:65
bool cursurvremoved_
Definition: uisurvey.h:90
CallBack cb_
Definition: uisurvey.h:55