OpendTect  6.3
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
uiSurveyInfoEditor Class Reference

The survey info editor. More...

Inheritance diagram for uiSurveyInfoEditor:
[legend]

Public Member Functions

 uiSurveyInfoEditor (uiParent *, bool isnewborn=false)
 
bool isOK () const
 Must be checked before 'go'. More...
 
 ~uiSurveyInfoEditor ()
 
BufferString dirName () const
 
- Public Member Functions inherited from uiDialog
 uiDialog (uiParent *, const Setup &)
 
const Setupsetup () const
 
int go ()
 
int goMinimized ()
 
void reject (CallBacker *cb=0)
 
void accept (CallBacker *cb=0)
 
void done (int ret=0)
 0=Cancel, 1=OK, other=user defined More...
 
void setHSpacing (int)
 
void setVSpacing (int)
 
void setBorder (int)
 
void setModal (bool yn)
 
bool isModal () const
 
uiButton * button (Button but)
 
void setButtonText (Button but, const uiString &txt)
 
void setCtrlStyle (CtrlStyle)
 On construction, it's (of course) OkAndCancel. More...
 
CtrlStyle getCtrlStyle () const
 OK button disabled when set to CloseOnly. More...
 
void setOkCancelText (const uiString &ok, const uiString &cnl)
 
void setOkText (const uiString &)
 
void setCancelText (const uiString &)
 Cancel button disabled when set to empty. More...
 
void enableSaveButton (const uiString &txt=uiStrings::sSaveAsDefault())
 Save button enabled when set to non-empty. More...
 
int uiResult () const
 0: cancel; 1: OK More...
 
void setButtonSensitive (Button, bool)
 
void setSaveButtonChecked (bool)
 
void setTitleText (const uiString &txt)
 
bool hasSaveButton () const
 
bool saveButtonChecked () const
 
void setSeparator (bool yn)
 Separator between central dialog and OK/Cancel bar? More...
 
bool separator () const
 
void setHelpKey (const HelpKey &)
 
virtual HelpKey helpKey () const
 
void showMinMaxButtons ()
 
void showAlwaysOnTop ()
 
void acceptOKCB (CallBacker *cb)
 
void rejectOKCB (CallBacker *cb)
 
- Public Member Functions inherited from uiMainWin
 uiMainWin (uiParent *, const uiMainWin::Setup &)
 
 uiMainWin (uiParent *, const uiString &caption=uiString::emptyString(), int nrstatusflds=1, bool withmenubar=true, bool modal=false)
 
virtual ~uiMainWin ()
 
uiStatusBarstatusBar ()
 
uiMenuBar * menuBar ()
 
void setCaption (const uiString &)
 
const uiStringcaption (bool unique=false) const
 
void setIcon (const uiPixmap &)
 Default icon is set in uiMain. More...
 
void setIconText (const uiString &)
 
virtual void show ()
 
void close ()
 
void raise ()
 
void showMaximized ()
 
void showMinimized ()
 
void showNormal ()
 
bool isMaximized () const
 
bool isMinimized () const
 
bool isHidden () const
 
bool isModal () const
 
void setSensitive (bool yn)
 
void toStatusBar (const uiString &, int fldidx=0, int msecs=-1)
 
virtual void reDraw (bool deep)
 
uiGrouptopGroup ()
 
void setShrinkAllowed (bool yn)
 
bool shrinkAllowed ()
 
void setExitAppOnClose (bool yn)
 automatically set by uiMain::setTopLevel More...
 
void setDeleteOnClose (bool yn)
 
void removeDockWindow (uiDockWin *)
 
void addDockWindow (uiDockWin &, Dock)
 
void addToolBar (uiToolBar *)
 
uiToolBarfindToolBar (const char *)
 
uiToolBarremoveToolBar (uiToolBar *)
 
void addToolBarBreak ()
 
uiMenugetToolbarsMenu () const
 
const ObjectSet< uiToolBar > & toolBars () const
 
const ObjectSet< uiDockWin > & dockWins () const
 
void setPopupArea (PopupArea pa)
 
PopupArea getPopupArea () const
 
void setCornerPos (int x, int y)
 
uiRect geometry (bool frame=true) const
 Position of top-left corner in screen pixel coords. More...
 
bool poppedUp () const
 
bool resetPopupTimerIfNotPoppedUp ()
 
bool finalised () const
 
virtual uiMainWinmainwin ()
 
int getNrWidgets () const
 
 mQtclass (QWidget *) getWidget(int)
 
uiParentparent ()
 
const uiParentparent () const
 
void translateText ()
 
bool grab (const char *filenm, int zoom=1, const char *format=0, int quality=-1) const
 
void activateInGUIThread (const CallBack &, bool busywait=true)
 
void saveImage (const char *fnm, int w, int h, int res)
 
void saveAsPDF (const char *fnm, int w, int h, int res)
 
void saveAsPS (const char *fnm, int w, int h, int res)
 
void copyToClipBoard ()
 
void runScript (const char *filename)
 
const char * getScriptToRun () const
 
- Public Member Functions inherited from uiParent
 uiParent (const char *nm, uiParentBody *)
 
void addChild (uiBaseObject &)
 
void manageChld (uiBaseObject &, uiObjectBody &)
 
void attachChild (constraintType tp, uiObject *child, uiObject *other, int margin, bool reciprocal)
 
const ObjectSet< uiBaseObject > * childList () const
 
uiObjectmainObject ()
 
const uiObjectmainObject () const
 
uiParentBodypbody ()
 
const uiParentBodypbody () const
 
void attach (constraintType t, int margin=-1)
 
void attach (constraintType t, uiParent *oth, int margin=-1, bool reciprocal=true)
 
void attach (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true)
 
virtual void display (bool yn, bool shrk=false, bool maximize=false)
 
bool isDisplayed () const
 
void setFocus ()
 
bool hasFocus () const
 
void setSensitive (bool yn=true)
 
bool sensitive () const
 
const uiFontfont () const
 
void setFont (const uiFont &f)
 
void setCaption (const uiString &c)
 
void setCursor (const MouseCursor &c)
 
uiSize actualsize (bool include_border) const
 
int prefHNrPics () const
 
int prefVNrPics () const
 
void setPrefHeight (int h)
 
void setPrefWidth (int w)
 
void setPrefHeightInChar (int h)
 
void setPrefHeightInChar (float h)
 
void setPrefWidthInChar (float w)
 
void setPrefWidthInChar (int w)
 
void shallowRedraw (CallBacker *=0)
 
void deepRedraw (CallBacker *=0)
 
void setStretch (int h, int v)
 
Color backgroundColor () const
 
Color roBackgroundColor () const
 
void setBackgroundColor (const Color &c)
 
void translateText ()
 

Static Public Member Functions

static ObjectSet< uiSurvInfoProvider > & survInfoProvs ()
 
static int addInfoProvider (uiSurvInfoProvider *)
 
static uiSurvInfoProvidergetInfoProviderByName (const uiString &)
 
static bool renameSurv (const char *path, const char *fromdirnm, const char *todirnm)
 
- Static Public Member Functions inherited from uiDialog
static int titlePos ()
 
static void setTitlePos (int pos)
 
- Static Public Member Functions inherited from uiMainWin
static uiMainWinactiveWindow ()
 
static uiMainWingtUiWinIfIsBdy (mQtclass(QWidget *) mwimpl)
 get uiMainWin for mwimpl if it is a uiMainWinBody More...
 
static ActModalTyp activeModalType ()
 
static uiMainWinactiveModalWindow ()
 
static const char * activeModalQDlgTitle ()
 
static const char * activeModalQDlgButTxt (int butnr)
 
static int activeModalQDlgRetVal (int butnr)
 
static void closeActiveModalQDlg (int retval)
 
static void getModalSignatures (BufferStringSet &)
 
static void getTopLevelWindows (ObjectSet< uiMainWin > &, bool visibleonly=true)
 
static uiString uniqueWinTitle (const uiString &, mQtclass(QWidget *) forwindow=0, BufferString *addendum=0)
 
static bool grabScreen (const char *filenm, const char *format=0, int quality=-1, int screen=0)
 
static void programActiveWindow (uiMainWin *)
 
static uiMainWinprogrammedActiveWindow ()
 

Protected Member Functions

void mkSIPFld (uiObject *, bool)
 
void mkRangeGrp ()
 
void mkCoordGrp ()
 
void mkTransfGrp ()
 
void mkLatLongGrp ()
 
void setValues ()
 
bool setInlCrlRange ()
 
bool setZRange ()
 
bool setSurvName ()
 
bool setCoords ()
 
bool setRelation ()
 
bool getFromScreen ()
 
void updateMap ()
 
void updStatusBar (const char *)
 
bool acceptOK ()
 confirm accept More...
 
void sipCB (CallBacker *)
 
void doFinalise (CallBacker *)
 
void setInl1Fld (CallBacker *)
 
void rangeChg (CallBacker *)
 
void coordsChg (CallBacker *)
 
void transformChg (CallBacker *)
 
void depthDisplayUnitSel (CallBacker *)
 
void updZUnit (CallBacker *)
 
void pathbutPush (CallBacker *)
 
void overruleCB (CallBacker *)
 
- Protected Member Functions inherited from uiDialog
virtual bool rejectOK ()
 confirm reject More...
 
virtual bool doneOK (int)
 confirm exit More...
 
- Protected Member Functions inherited from uiMainWin
virtual bool closeOK ()
 confirm window close More...
 
 uiMainWin (uiString, uiParent *)
 
uiObjectmainobject ()
 
void saveSettings ()
 
void readSettings ()
 
void saveAsPDF_PS (const char *fnm, bool aspdf, int w, int h, int res)
 
void copyToClipBoardCB (CallBacker *)
 
void aftPopupCB (CallBacker *)
 
void languageChangeCB (CallBacker *)
 
void updateCaption ()
 
- Protected Member Functions inherited from uiParent
virtual void attach_ (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true)
 

Static Protected Member Functions

static uiString getSRDString (bool infeet)
 

Protected Attributes

SurveyInfosi_
 
BufferString basepath_
 
BufferString orgdirname_
 
const BufferString rootdir_
 
bool isnew_
 
IOParimpiop_
 
ObjectSet< uiSurvInfoProvidersips_
 
uiSurvInfoProviderlastsip_
 
uiString errmsg_
 
uiGenInputsurvnmfld_
 
uiGenInputpathfld_
 
uiGenInputinlfld_
 
uiGenInputcrlfld_
 
uiGenInputzfld_
 
uiComboBoxzunitfld_
 
uiComboBoxpol2dfld_
 
uiGenInputx0fld_
 
uiGenInputxinlfld_
 
uiGenInputxcrlfld_
 
uiGenInputy0fld_
 
uiGenInputyinlfld_
 
uiGenInputycrlfld_
 
uiGenInputic0fld_
 
uiGenInputic1fld_
 
uiGenInputic2fld_
 
uiGenInputxy0fld_
 
uiGenInputxy1fld_
 
uiGenInputxy2fld_
 
Coords::uiPositionSystemSellatlongsel_
 
uiGroupgengrp_
 
uiGroupcrdgrp_
 
uiGrouptrgrp_
 
uiGrouprangegrp_
 
uiGrouplatlonggrp_
 
uiLabeledComboBoxsipfld_
 
uiCheckBoxoverrulefld_
 
uiGenInputdepthdispfld_
 
uiGenInputrefdatumfld_
 
uiSurveyMapsurveymap_
 
uiGrid2DMapObjectinlgridview_
 
Grid2Dinlgrid_
 
uiTabStacktabs_
 
- Protected Attributes inherited from uiDialog
bool cancelpushed_
 
CtrlStyle ctrlstyle_
 
- Protected Attributes inherited from uiMainWin
uiMainWinBodybody_
 
uiParentparent_
 
Timerafterpopuptimer_
 
PopupArea popuparea_
 
uiString caption_
 
uiString uniquecaption_
 
int languagechangecount_
 
BufferString scripttorun_
 

Private Member Functions

 mODTextTranslationClass (uiSurveyInfoEditor)
 

Friends

class uiSurveyManager
 

Additional Inherited Members

- Public Types inherited from uiDialog
enum  Button {
  OK, CANCEL, APPLY, HELP,
  CREDITS, SAVE
}
 
enum  CtrlStyle { OkAndCancel, RunAndClose, CloseOnly }
 
- Public Types inherited from uiMainWin
enum  Dock {
  Top, Bottom, Right, Left,
  Minimized, TornOff, Unmanaged
}
 Dock Selector. More...
 
enum  PopupArea {
  TopLeft, TopRight, BottomLeft, BottomRight,
  Middle, Auto
}
 
enum  ActModalTyp {
  None =0, Main, Message, File,
  Colour, Font, Unknown
}
 
- Public Attributes inherited from uiDialog
Notifier< uiDialogapplyPushed
 
- Public Attributes inherited from uiMainWin
Notifier< uiMainWinwindowClosed
 triggered when window exits More...
 
Notifier< uiMainWinactivatedone
 
Notifier< uiMainWinctrlCPressed
 
Notifier< uiMainWinafterPopup
 
Notifier< uiMainWinrunScriptRequest
 
- Static Protected Attributes inherited from uiDialog
static int titlepos_
 

Detailed Description

The survey info editor.

Constructor & Destructor Documentation

uiSurveyInfoEditor::uiSurveyInfoEditor ( uiParent ,
bool  isnewborn = false 
)
uiSurveyInfoEditor::~uiSurveyInfoEditor ( )

Member Function Documentation

bool uiSurveyInfoEditor::acceptOK ( )
protectedvirtual

confirm accept

Reimplemented from uiDialog.

static int uiSurveyInfoEditor::addInfoProvider ( uiSurvInfoProvider )
static
void uiSurveyInfoEditor::coordsChg ( CallBacker )
protected
void uiSurveyInfoEditor::depthDisplayUnitSel ( CallBacker )
protected
BufferString uiSurveyInfoEditor::dirName ( ) const
void uiSurveyInfoEditor::doFinalise ( CallBacker )
protected
bool uiSurveyInfoEditor::getFromScreen ( )
protected
static uiSurvInfoProvider* uiSurveyInfoEditor::getInfoProviderByName ( const uiString )
static
static uiString uiSurveyInfoEditor::getSRDString ( bool  infeet)
staticprotected
bool uiSurveyInfoEditor::isOK ( ) const
inline

Must be checked before 'go'.

void uiSurveyInfoEditor::mkCoordGrp ( )
protected
void uiSurveyInfoEditor::mkLatLongGrp ( )
protected
void uiSurveyInfoEditor::mkRangeGrp ( )
protected
void uiSurveyInfoEditor::mkSIPFld ( uiObject ,
bool   
)
protected
void uiSurveyInfoEditor::mkTransfGrp ( )
protected
uiSurveyInfoEditor::mODTextTranslationClass ( uiSurveyInfoEditor  )
private
void uiSurveyInfoEditor::overruleCB ( CallBacker )
protected
void uiSurveyInfoEditor::pathbutPush ( CallBacker )
protected
void uiSurveyInfoEditor::rangeChg ( CallBacker )
protected
static bool uiSurveyInfoEditor::renameSurv ( const char *  path,
const char *  fromdirnm,
const char *  todirnm 
)
static
bool uiSurveyInfoEditor::setCoords ( )
protected
void uiSurveyInfoEditor::setInl1Fld ( CallBacker )
protected
bool uiSurveyInfoEditor::setInlCrlRange ( )
protected
bool uiSurveyInfoEditor::setRelation ( )
protected
bool uiSurveyInfoEditor::setSurvName ( )
protected
void uiSurveyInfoEditor::setValues ( )
protected
bool uiSurveyInfoEditor::setZRange ( )
protected
void uiSurveyInfoEditor::sipCB ( CallBacker )
protected
static ObjectSet<uiSurvInfoProvider>& uiSurveyInfoEditor::survInfoProvs ( )
static
void uiSurveyInfoEditor::transformChg ( CallBacker )
protected
void uiSurveyInfoEditor::updateMap ( )
protected
void uiSurveyInfoEditor::updStatusBar ( const char *  )
protected
void uiSurveyInfoEditor::updZUnit ( CallBacker )
protected

Friends And Related Function Documentation

friend class uiSurveyManager
friend

Member Data Documentation

BufferString uiSurveyInfoEditor::basepath_
protected
uiGroup* uiSurveyInfoEditor::crdgrp_
protected
uiGenInput* uiSurveyInfoEditor::crlfld_
protected
uiGenInput* uiSurveyInfoEditor::depthdispfld_
protected
uiString uiSurveyInfoEditor::errmsg_
protected
uiGroup* uiSurveyInfoEditor::gengrp_
protected
uiGenInput* uiSurveyInfoEditor::ic0fld_
protected
uiGenInput* uiSurveyInfoEditor::ic1fld_
protected
uiGenInput* uiSurveyInfoEditor::ic2fld_
protected
IOPar* uiSurveyInfoEditor::impiop_
protected
uiGenInput* uiSurveyInfoEditor::inlfld_
protected
Grid2D* uiSurveyInfoEditor::inlgrid_
protected
uiGrid2DMapObject* uiSurveyInfoEditor::inlgridview_
protected
bool uiSurveyInfoEditor::isnew_
protected
uiSurvInfoProvider* uiSurveyInfoEditor::lastsip_
protected
uiGroup* uiSurveyInfoEditor::latlonggrp_
protected
Coords::uiPositionSystemSel* uiSurveyInfoEditor::latlongsel_
protected
BufferString uiSurveyInfoEditor::orgdirname_
protected
uiCheckBox* uiSurveyInfoEditor::overrulefld_
protected
uiGenInput* uiSurveyInfoEditor::pathfld_
protected
uiComboBox* uiSurveyInfoEditor::pol2dfld_
protected
uiGroup* uiSurveyInfoEditor::rangegrp_
protected
uiGenInput* uiSurveyInfoEditor::refdatumfld_
protected
const BufferString uiSurveyInfoEditor::rootdir_
protected
SurveyInfo& uiSurveyInfoEditor::si_
protected
uiLabeledComboBox* uiSurveyInfoEditor::sipfld_
protected
ObjectSet<uiSurvInfoProvider> uiSurveyInfoEditor::sips_
protected
uiSurveyMap* uiSurveyInfoEditor::surveymap_
protected
uiGenInput* uiSurveyInfoEditor::survnmfld_
protected
uiTabStack* uiSurveyInfoEditor::tabs_
protected
uiGroup* uiSurveyInfoEditor::trgrp_
protected
uiGenInput* uiSurveyInfoEditor::x0fld_
protected
uiGenInput* uiSurveyInfoEditor::xcrlfld_
protected
uiGenInput* uiSurveyInfoEditor::xinlfld_
protected
uiGenInput* uiSurveyInfoEditor::xy0fld_
protected
uiGenInput* uiSurveyInfoEditor::xy1fld_
protected
uiGenInput* uiSurveyInfoEditor::xy2fld_
protected
uiGenInput* uiSurveyInfoEditor::y0fld_
protected
uiGenInput* uiSurveyInfoEditor::ycrlfld_
protected
uiGenInput* uiSurveyInfoEditor::yinlfld_
protected
uiGenInput* uiSurveyInfoEditor::zfld_
protected
uiComboBox* uiSurveyInfoEditor::zunitfld_
protected

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