OpendTect-6_4  6.4
Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
uiSeisBrowser Class Reference
Inheritance diagram for uiSeisBrowser:
[legend]

Protected Member Functions

bool openData (const Setup &)
 
void createMenuAndToolBar ()
 
void createTable ()
 
void fillTable ()
 
void fillUdf (SeisTrc &)
 
void fillTableColumn (const SeisTrc &, int)
 
BinID getNextBid (const BinID &, int, bool) const
 
void addTrc (SeisTrcBuf &, const BinID &)
 
void updateWiggleButtonStatus ()
 
void setTrcBufViewTitle ()
 
void goToPush (CallBacker *)
 
void infoPush (CallBacker *)
 
void infoClose (CallBacker *)
 
void rightArrowPush (CallBacker *)
 
void leftArrowPush (CallBacker *)
 
void switchViewTypePush (CallBacker *)
 
bool acceptOK (CallBacker *)
 confirm accept More...
 
void dispTracesPush (CallBacker *)
 
void trcbufViewerClosed (CallBacker *)
 
void trcselectionChanged (CallBacker *)
 
void valChgReDraw (CallBacker *)
 
void chgCompNrCB (CallBacker *)
 
void nrTracesChgCB (CallBacker *)
 
- Protected Member Functions inherited from uiDialog
virtual bool rejectOK (CallBacker *)
 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 setForceFinalise (bool)
 
void updateCaption ()
 
- Protected Member Functions inherited from uiParent
virtual void attach_ (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true)
 

Protected Attributes

const Setup setup_
 
uiSeisBrowserInfoVwr * infovwr_
 
uiSeisTrcBufViewertrcbufvwr_
 
SeisTrcBuftbuf_
 
SeisTrcBuftbufchgdtrcs_
 
SeisTrcctrc_
 
CBVSSeisTrcTranslatortr_
 
CBVSSeisTrcTranslatortro_
 
CBVSSeisTrcTranslatortri_
 
const ZDomain::Defzdomdef_
 
bool crlwise_
 
int crlwisebutidx_
 
int showwgglbutidx_
 
uiComboBoxselcompnmfld_
 
uiSpinBoxnrtrcsfld_
 
int stepout_
 
uiTabletbl_
 
uiToolBaruitb_
 
int compnr_
 
int nrcomps_
 
BufferStringSet compnms_
 
int nrsamples_
 
SamplingData< float > sd_
 
- 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(uiSeisBrowser) public uiSeisBrowser (uiParent *, const Setup &, bool)
 
 ~uiSeisBrowser ()
 
bool isOK () const
 
void setPos (const BinID &, bool)
 
bool doSetPos (const BinID &, bool force, bool veryfirst=false)
 
void setZ (float)
 
void setCrlWise (bool yn=true)
 
void commitChanges ()
 
bool storeChgdData ()
 
bool goTo (const BinID &)
 
int stepOut ()
 
void setStepout (int)
 
bool is2D () const
 
const BinIDcurBinID () const
 
float curZ () const
 
void setCompNr (int compnr)
 

Static Private Member Functions

static void doBrowse (uiParent *, const IOObj &, bool is2d, const LineKey *lk=0)
 

Private Attributes

bool is2d_
 
SeisTrcBuftbufbefore_
 
SeisTrcBuftbufafter_
 

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 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 ()
 
- 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 touch ()
 resets pop-up timer if !poppedUp yet More...
 
bool finalised () const
 
virtual uiMainWinmainwin ()
 
 mQtclass (QWidget *) qWidget() const
 
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 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 ()
 
- 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

Constructor & Destructor Documentation

uiSeisBrowser::~uiSeisBrowser ( )
private

Member Function Documentation

bool uiSeisBrowser::acceptOK ( CallBacker )
protectedvirtual

confirm accept

Reimplemented from uiDialog.

void uiSeisBrowser::addTrc ( SeisTrcBuf ,
const BinID  
)
protected
void uiSeisBrowser::chgCompNrCB ( CallBacker )
protected
void uiSeisBrowser::commitChanges ( )
private
void uiSeisBrowser::createMenuAndToolBar ( )
protected
void uiSeisBrowser::createTable ( )
protected
const BinID& uiSeisBrowser::curBinID ( ) const
private
float uiSeisBrowser::curZ ( ) const
private
void uiSeisBrowser::dispTracesPush ( CallBacker )
protected
static void uiSeisBrowser::doBrowse ( uiParent ,
const IOObj ,
bool  is2d,
const LineKey lk = 0 
)
staticprivate
bool uiSeisBrowser::doSetPos ( const BinID ,
bool  force,
bool  veryfirst = false 
)
private
void uiSeisBrowser::fillTable ( )
protected
void uiSeisBrowser::fillTableColumn ( const SeisTrc ,
int   
)
protected
void uiSeisBrowser::fillUdf ( SeisTrc )
protected
BinID uiSeisBrowser::getNextBid ( const BinID ,
int  ,
bool   
) const
protected
bool uiSeisBrowser::goTo ( const BinID )
private
void uiSeisBrowser::goToPush ( CallBacker )
protected
void uiSeisBrowser::infoClose ( CallBacker )
protected
void uiSeisBrowser::infoPush ( CallBacker )
protected
bool uiSeisBrowser::is2D ( ) const
private
bool uiSeisBrowser::isOK ( ) const
inlineprivate
void uiSeisBrowser::leftArrowPush ( CallBacker )
protected
void uiSeisBrowser::nrTracesChgCB ( CallBacker )
protected
bool uiSeisBrowser::openData ( const Setup )
protected
void uiSeisBrowser::rightArrowPush ( CallBacker )
protected
void uiSeisBrowser::setCompNr ( int  compnr)
inlineprivate
void uiSeisBrowser::setCrlWise ( bool  yn = true)
inlineprivate
void uiSeisBrowser::setPos ( const BinID ,
bool   
)
private
void uiSeisBrowser::setStepout ( int  )
private
void uiSeisBrowser::setTrcBufViewTitle ( )
protected
void uiSeisBrowser::setZ ( float  )
private
int uiSeisBrowser::stepOut ( )
inlineprivate
bool uiSeisBrowser::storeChgdData ( )
private
void uiSeisBrowser::switchViewTypePush ( CallBacker )
protected
void uiSeisBrowser::trcbufViewerClosed ( CallBacker )
protected
void uiSeisBrowser::trcselectionChanged ( CallBacker )
protected
void uiSeisBrowser::updateWiggleButtonStatus ( )
protected
void uiSeisBrowser::valChgReDraw ( CallBacker )
protected

Member Data Documentation

BufferStringSet uiSeisBrowser::compnms_
protected
int uiSeisBrowser::compnr_
protected
bool uiSeisBrowser::crlwise_
protected
int uiSeisBrowser::crlwisebutidx_
protected
SeisTrc& uiSeisBrowser::ctrc_
protected
uiSeisBrowserInfoVwr* uiSeisBrowser::infovwr_
protected
bool uiSeisBrowser::is2d_
private
int uiSeisBrowser::nrcomps_
protected
int uiSeisBrowser::nrsamples_
protected
uiSpinBox* uiSeisBrowser::nrtrcsfld_
protected
SamplingData<float> uiSeisBrowser::sd_
protected
uiComboBox* uiSeisBrowser::selcompnmfld_
protected
const Setup uiSeisBrowser::setup_
protected
int uiSeisBrowser::showwgglbutidx_
protected
int uiSeisBrowser::stepout_
protected
uiTable* uiSeisBrowser::tbl_
protected
SeisTrcBuf& uiSeisBrowser::tbuf_
protected
SeisTrcBuf& uiSeisBrowser::tbufafter_
private
SeisTrcBuf& uiSeisBrowser::tbufbefore_
private
SeisTrcBuf& uiSeisBrowser::tbufchgdtrcs_
protected
CBVSSeisTrcTranslator* uiSeisBrowser::tr_
protected
uiSeisTrcBufViewer* uiSeisBrowser::trcbufvwr_
protected
CBVSSeisTrcTranslator* uiSeisBrowser::tri_
protected
CBVSSeisTrcTranslator* uiSeisBrowser::tro_
protected
uiToolBar* uiSeisBrowser::uitb_
protected
const ZDomain::Def* uiSeisBrowser::zdomdef_
protected

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