OpendTect  7.0
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
uiSeisBrowser Class Reference
Inheritance diagram for uiSeisBrowser:
[legend]

Classes

class  Setup
 

Public Member Functions

 uiSeisBrowser (uiParent *, const Setup &, bool)
 
 ~uiSeisBrowser ()
 
void commitChanges ()
 
const BinIDcurBinID () const
 
float curZ () const
 
bool doSetPos (const BinID &, bool force, bool veryfirst=false)
 
bool goTo (const BinID &)
 
bool is2D () const
 
bool isOK () const
 
void setCompNr (int compnr)
 
void setCrlWise (bool yn=true)
 
void setPos (const BinID &, bool)
 
void setStepout (int)
 
void setZ (float)
 
int stepOut ()
 
bool storeChgdData ()
 
- Public Member Functions inherited from uiDialog
 uiDialog (uiParent *, const Setup &)
 
 ~uiDialog ()
 
void accept (CallBacker *cb=0)
 
uiButtonbutton (Button)
 
const uiButtonbutton (Button) const
 
void done (DoneResult)
 
void enableSaveButton (const uiString &txt=uiStrings::sSaveAsDefault())
 Save button enabled when set to non-empty. More...
 
CtrlStyle getCtrlStyle () const
 OK button disabled when set to CloseOnly. More...
 
uiGroupgetDlgGroup ()
 
int go ()
 
int goMinimized ()
 
bool hasSaveButton () const
 
virtual HelpKey helpKey () const
 
bool isButtonSensitive (Button) const
 
bool isModal () const
 
int nrVideos () const
 
void reject (CallBacker *cb=0)
 
void removeVideo (int)
 
bool saveButtonChecked () const
 
bool separator () const
 
void setBorder (int)
 
void setButtonSensitive (Button, bool)
 
void setButtonText (Button but, const uiString &txt)
 
void setCancelText (const uiString &)
 Cancel button disabled when set to empty. More...
 
void setCtrlStyle (CtrlStyle)
 On construction, it's (of course) OkAndCancel. More...
 
void setHelpKey (const HelpKey &)
 
void setHSpacing (int)
 
void setModal (bool yn)
 
void setOkCancelText (const uiString &ok, const uiString &cnl)
 
void setOkText (const uiString &)
 
void setSaveButtonChecked (bool)
 
void setSeparator (bool yn)
 Separator between central dialog and OK/Cancel bar? More...
 
void setTitleText (const uiString &txt)
 
const Setupsetup () const
 
void setVideoKey (const HelpKey &)
 
void setVideoKey (const HelpKey &, int idx)
 
void setVSpacing (int)
 
int uiResult () const
 -1 running, otherwise (int)DoneResult More...
 
HelpKey videoKey (int idx=0) const
 
- 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 ()
 
void activate ()
 
void activateInGUIThread (const CallBack &, bool busywait=true)
 
void addDockWindow (uiDockWin &, Dock)
 
void addToolBar (uiToolBar *)
 
void addToolBarBreak ()
 
const uiStringcaption (bool unique=false) const
 
void close ()
 
void copyToClipBoard ()
 
const ObjectSet< uiDockWin > & dockWins () const
 
bool finalised () const
 
bool finalized () const
 
uiToolBarfindToolBar (const char *)
 
void forceClose ()
 
uiRect geometry (bool frame=true) const
 Position of top-left corner in screen pixel coords. More...
 
PopupArea getPopupArea () const
 
const char * getScriptToRun () const
 
uiMenugetToolbarsMenu () const
 
bool grab (const char *filenm, int zoom=1, const char *format=0, int quality=-1) const
 
bool isDeleteOnClose () const
 
bool isHidden () const
 
bool isMaximized () const
 
bool isMinimized () const
 
bool isModal () const
 
uiMainWinmainwin () override
 
uiMenuBarmenuBar ()
 
uiParentparent ()
 
const uiParentparent () const
 
bool poppedUp () const
 
QScreen * qScreen () const
 
QWidget * qWidget () const
 
void raise ()
 
void reDraw (bool deep) override
 
void removeDockWindow (uiDockWin *)
 
uiToolBarremoveToolBar (uiToolBar *)
 
void restoreDefaultState ()
 
void runScript (const char *filename)
 
void saveAsPDF (const char *fnm, int w, int h, int res)
 
mDeprecatedObs void saveAsPS (const char *fnm, int w, int h, int res)
 
void saveImage (const char *fnm, const char *fmt=nullptr, int quality=-1)
 
void saveImage (const char *fnm, int w, int h, int res)
 
void setActivateOnFirstShow (bool yn=true)
 
void setCaption (const uiString &)
 
void setCornerPos (int x, int y)
 
void setDeleteOnClose (bool yn)
 
void setExitAppOnClose (bool yn)
 automatically set by uiMain::setTopLevel More...
 
void setGeometry (const uiRect &)
 
void setIcon (const uiPixmap &)
 Default icon is set in uiMain. More...
 
void setIconText (const uiString &)
 
void setPopupArea (PopupArea pa)
 
void setSensitive (bool yn)
 
void setShrinkAllowed (bool yn)
 
virtual void show ()
 
bool showAlwaysOnTop (bool yn=true)
 
void showAndActivate ()
 
void showMaximized ()
 
void showMinimized ()
 
bool showMinMaxButtons (bool yn=true)
 
void showNormal ()
 
bool shrinkAllowed ()
 
uiStatusBarstatusBar ()
 
const ObjectSet< uiToolBar > & toolBars () const
 
uiGrouptopGroup ()
 
void toStatusBar (const uiString &, int fldidx=0, int msecs=-1)
 
bool touch ()
 resets pop-up timer if !poppedUp yet More...
 
void translateText () override
 
- Public Member Functions inherited from uiParent
uiSize actualsize (bool inclborder=true) const
 
uiSize actualSize (bool include_border) const
 
void addChild (uiBaseObject &)
 
void attach (constraintType t, int margin=-1)
 
void attach (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true)
 
void attach (constraintType t, uiParent *oth, int margin=-1, bool reciprocal=true)
 
void attachChild (constraintType tp, uiObject *child, uiObject *other, int margin, bool reciprocal)
 
OD::Color backgroundColor () const
 
const ObjectSet< uiBaseObject > * childList () const
 
void deepRedraw (CallBacker *=0)
 
virtual void display (bool yn, bool shrk=false, bool maximize=false)
 
const uiFontfont () const
 
bool hasFocus () const
 
bool isDisplayed () const
 
uiObjectmainObject ()
 
const uiObjectmainObject () const
 
void manageChild (uiBaseObject &, uiObjectBody &)
 
uiParentBodypbody ()
 
const uiParentBodypbody () const
 
int prefHNrPics () const
 
int prefVNrPics () const
 
OD::Color roBackgroundColor () const
 
bool sensitive () const
 
void setBackgroundColor (const OD::Color &c)
 
void setCaption (const uiString &c)
 
void setCursor (const MouseCursor &c)
 
void setFocus ()
 
void setFont (const uiFont &f)
 
void setPrefHeight (int h)
 
void setPrefHeightInChar (float h)
 
void setPrefHeightInChar (int h)
 
void setPrefWidth (int w)
 
void setPrefWidthInChar (float w)
 
void setPrefWidthInChar (int w)
 
void setSensitive (bool yn=true)
 
void setStretch (int h, int v)
 
void shallowRedraw (CallBacker *=0)
 
int stretch (bool h) const
 
void translateText () override
 
- Public Member Functions inherited from uiBaseObject
 uiBaseObject (const char *nm, uiBody *=0)
 
virtual ~uiBaseObject ()
 
int beginCmdRecEvent (const BufferString &msg)
 
int beginCmdRecEvent (const char *msg=0)
 
int beginCmdRecEvent (od_uint64 id, const char *msg=0)
 
uiBodybody ()
 
const uiBodybody () const
 
void clear ()
 
void endCmdRecEvent (int refnr, const char *msg=0)
 
void endCmdRecEvent (od_uint64 id, int refnr, const char *msg=0)
 
void finalise ()
 
bool finalised () const
 
void finalize ()
 
bool finalized () const
 
virtual QWidget * getWidget ()
 
const QWidget * getWidget () const
 
virtual Notifier< uiBaseObject > & postFinalise ()
 
virtual Notifier< uiBaseObject > & postFinalize ()
 
virtual Notifier< uiBaseObject > & preFinalise ()
 
virtual Notifier< uiBaseObject > & preFinalize ()
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
const name_typename () const override
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 

Static Public Member Functions

static void doBrowse (uiParent *, const IOObj &, bool is2d, const LineKey *lk=0)
 
- Static Public Member Functions inherited from uiDialog
static void setTitlePos (TitlePos)
 
static TitlePos titlePos ()
 
- Static Public Member Functions inherited from uiMainWin
static const char * activeModalQDlgButTxt (int butnr)
 
static int activeModalQDlgRetVal (int butnr)
 
static const char * activeModalQDlgTitle ()
 
static ActModalTyp activeModalType ()
 
static uiMainWinactiveModalWindow ()
 
static uiMainWinactiveWindow ()
 
static void closeActiveModalQDlg (int retval)
 
static OD::WindowActivationBehavior getActivateBehaviour ()
 
static void getModalSignatures (BufferStringSet &)
 
static void getTopLevelWindows (ObjectSet< uiMainWin > &, bool visibleonly=true)
 
static bool grabScreen (const char *filenm, const char *format=0, int quality=-1, int screen=0)
 
static bool grabScreen (const char *filenm, const char *format=0, int quality=-1, QScreen *qscreen=nullptr)
 
static uiMainWingtUiWinIfIsBdy (QWidget *mwimpl)
 get uiMainWin for mwimpl if it is a uiMainWinBody More...
 
static void programActiveWindow (uiMainWin *)
 
static uiMainWinprogrammedActiveWindow ()
 
static void setActivateBehaviour (OD::WindowActivationBehavior)
 
static uiString uniqueWinTitle (const uiString &, QWidget *forwindow=0, BufferString *addendum=0)
 
- Static Public Member Functions inherited from uiBaseObject
static void addCmdRecorder (const CallBack &)
 
static void removeCmdRecorder (const CallBack &)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Public Attributes

bool is2d_
 
- Public Attributes inherited from uiDialog
Notifier< uiDialogapplyPushed
 
- Public Attributes inherited from uiMainWin
Notifier< uiMainWinactivatedone
 
Notifier< uiMainWinafterPopup
 
Notifier< uiMainWinctrlCPressed
 
Notifier< uiMainWinrunScriptRequest
 
Notifier< uiMainWinwindowClosed
 triggered when window exits More...
 
Notifier< uiMainWinwindowHidden
 
Notifier< uiMainWinwindowShown
 

Protected Member Functions

bool acceptOK (CallBacker *) override
 confirm accept More...
 
void addTrc (SeisTrcBuf &, const BinID &)
 
void chgCompNrCB (CallBacker *)
 
void createMenuAndToolBar ()
 
void createTable ()
 
void dispTracesPush (CallBacker *)
 
void fillTable ()
 
void fillTableColumn (const SeisTrc &, int)
 
void fillUdf (SeisTrc &)
 
BinID getNextBid (const BinID &, int, bool) const
 
void goToPush (CallBacker *)
 
void infoClose (CallBacker *)
 
void infoPush (CallBacker *)
 
void leftArrowPush (CallBacker *)
 
void nrTracesChgCB (CallBacker *)
 
bool openData (const Setup &)
 
void rightArrowPush (CallBacker *)
 
void setTrcBufViewTitle ()
 
void switchViewTypePush (CallBacker *)
 
void trcbufViewerClosed (CallBacker *)
 
void trcselectionChanged (CallBacker *)
 
void updateWiggleButtonStatus ()
 
void valChgReDraw (CallBacker *)
 
- Protected Member Functions inherited from uiDialog
virtual bool doneOK (int)
 confirm exit More...
 
virtual bool rejectOK (CallBacker *)
 confirm reject More...
 
- Protected Member Functions inherited from uiMainWin
 uiMainWin (uiString, uiParent *)
 
void aftPopupCB (CallBacker *)
 
virtual bool closeOK ()
 confirm window close More...
 
void copyToClipBoardCB (CallBacker *)
 
void languageChangeCB (CallBacker *)
 
uiObjectmainobject () override
 
void readSettings ()
 
void saveAsPDF_PS (const char *fnm, int w, int h, int res)
 
void saveSettings ()
 
void setForceFinalise (bool yn)
 
void setForceFinalize (bool)
 
void updateCaption ()
 
- Protected Member Functions inherited from uiParent
 uiParent (const char *nm, uiParentBody *)
 
 ~uiParent ()
 
virtual void attach_ (constraintType t, uiObject *oth, int margin=-1, bool reciprocal=true)
 
- Protected Member Functions inherited from uiBaseObject
void setBody (uiBody *b)
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 

Protected Attributes

BufferStringSet compnms_
 
int compnr_
 
bool crlwise_
 
int crlwisebutidx_
 
SeisTrcctrc_
 
uiSeisBrowserInfoVwr * infovwr_
 
int nrcomps_
 
int nrsamples_
 
uiSpinBoxnrtrcsfld_
 
SamplingData< float > sd_
 
uiComboBoxselcompnmfld_
 
const Setup setup_
 
int showwgglbutidx_
 
int stepout_
 
uiTabletbl_
 
SeisTrcBuftbuf_
 
SeisTrcBuftbufchgdtrcs_
 
CBVSSeisTrcTranslatortr_
 
uiSeisTrcBufViewertrcbufvwr_
 
CBVSSeisTrcTranslatortri_
 
CBVSSeisTrcTranslatortro_
 
uiToolBaruitb_
 
const ZDomain::Defzdomdef_
 
- Protected Attributes inherited from uiDialog
bool cancelpushed_
 
CtrlStyle ctrlstyle_
 
- Protected Attributes inherited from uiMainWin
Timerafterpopuptimer_
 
uiMainWinBodybody_
 
uiString caption_
 
int languagechangecount_
 
uiParentparent_
 
PopupArea popuparea_
 
BufferString scripttorun_
 
uiString uniquecaption_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Private Attributes

SeisTrcBuftbufafter_
 
SeisTrcBuftbufbefore_
 

Additional Inherited Members

- Public Types inherited from uiDialog
enum  Button {
  OK , CANCEL , APPLY , HELP ,
  CREDITS , SAVE
}
 
enum  CtrlStyle { OkAndCancel , RunAndClose , CloseOnly }
 
enum  DoneResult { Rejected =0 , Accepted =1 }
 
enum  TitlePos { LeftSide , CenterWin , RightSide }
 
- Public Types inherited from uiMainWin
enum  ActModalTyp {
  None =0 , Main , Message , File ,
  Colour , Font , Unknown
}
 
enum  Dock {
  Top , Bottom , Right , Left ,
  Minimized , TornOff , Unmanaged
}
 Dock Selector. More...
 
enum  PopupArea {
  TopLeft , TopRight , BottomLeft , BottomRight ,
  Middle , Auto
}
 
- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Static Protected Attributes inherited from uiDialog
static TitlePos titlepos_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ uiSeisBrowser()

uiSeisBrowser::uiSeisBrowser ( uiParent ,
const Setup ,
bool   
)

◆ ~uiSeisBrowser()

uiSeisBrowser::~uiSeisBrowser ( )

Member Function Documentation

◆ acceptOK()

bool uiSeisBrowser::acceptOK ( CallBacker )
overrideprotectedvirtual

confirm accept

Reimplemented from uiDialog.

◆ addTrc()

void uiSeisBrowser::addTrc ( SeisTrcBuf ,
const BinID  
)
protected

◆ chgCompNrCB()

void uiSeisBrowser::chgCompNrCB ( CallBacker )
protected

◆ commitChanges()

void uiSeisBrowser::commitChanges ( )

◆ createMenuAndToolBar()

void uiSeisBrowser::createMenuAndToolBar ( )
protected

◆ createTable()

void uiSeisBrowser::createTable ( )
protected

◆ curBinID()

const BinID& uiSeisBrowser::curBinID ( ) const

◆ curZ()

float uiSeisBrowser::curZ ( ) const

◆ dispTracesPush()

void uiSeisBrowser::dispTracesPush ( CallBacker )
protected

◆ doBrowse()

static void uiSeisBrowser::doBrowse ( uiParent ,
const IOObj ,
bool  is2d,
const LineKey lk = 0 
)
static

◆ doSetPos()

bool uiSeisBrowser::doSetPos ( const BinID ,
bool  force,
bool  veryfirst = false 
)

◆ fillTable()

void uiSeisBrowser::fillTable ( )
protected

◆ fillTableColumn()

void uiSeisBrowser::fillTableColumn ( const SeisTrc ,
int   
)
protected

◆ fillUdf()

void uiSeisBrowser::fillUdf ( SeisTrc )
protected

◆ getNextBid()

BinID uiSeisBrowser::getNextBid ( const BinID ,
int  ,
bool   
) const
protected

◆ goTo()

bool uiSeisBrowser::goTo ( const BinID )

◆ goToPush()

void uiSeisBrowser::goToPush ( CallBacker )
protected

◆ infoClose()

void uiSeisBrowser::infoClose ( CallBacker )
protected

◆ infoPush()

void uiSeisBrowser::infoPush ( CallBacker )
protected

◆ is2D()

bool uiSeisBrowser::is2D ( ) const

◆ isOK()

bool uiSeisBrowser::isOK ( ) const
inline

◆ leftArrowPush()

void uiSeisBrowser::leftArrowPush ( CallBacker )
protected

◆ nrTracesChgCB()

void uiSeisBrowser::nrTracesChgCB ( CallBacker )
protected

◆ openData()

bool uiSeisBrowser::openData ( const Setup )
protected

◆ rightArrowPush()

void uiSeisBrowser::rightArrowPush ( CallBacker )
protected

◆ setCompNr()

void uiSeisBrowser::setCompNr ( int  compnr)
inline

◆ setCrlWise()

void uiSeisBrowser::setCrlWise ( bool  yn = true)
inline

◆ setPos()

void uiSeisBrowser::setPos ( const BinID ,
bool   
)

◆ setStepout()

void uiSeisBrowser::setStepout ( int  )

◆ setTrcBufViewTitle()

void uiSeisBrowser::setTrcBufViewTitle ( )
protected

◆ setZ()

void uiSeisBrowser::setZ ( float  )

◆ stepOut()

int uiSeisBrowser::stepOut ( )
inline

◆ storeChgdData()

bool uiSeisBrowser::storeChgdData ( )

◆ switchViewTypePush()

void uiSeisBrowser::switchViewTypePush ( CallBacker )
protected

◆ trcbufViewerClosed()

void uiSeisBrowser::trcbufViewerClosed ( CallBacker )
protected

◆ trcselectionChanged()

void uiSeisBrowser::trcselectionChanged ( CallBacker )
protected

◆ updateWiggleButtonStatus()

void uiSeisBrowser::updateWiggleButtonStatus ( )
protected

◆ valChgReDraw()

void uiSeisBrowser::valChgReDraw ( CallBacker )
protected

Member Data Documentation

◆ compnms_

BufferStringSet uiSeisBrowser::compnms_
protected

◆ compnr_

int uiSeisBrowser::compnr_
protected

◆ crlwise_

bool uiSeisBrowser::crlwise_
protected

◆ crlwisebutidx_

int uiSeisBrowser::crlwisebutidx_
protected

◆ ctrc_

SeisTrc& uiSeisBrowser::ctrc_
protected

◆ infovwr_

uiSeisBrowserInfoVwr* uiSeisBrowser::infovwr_
protected

◆ is2d_

bool uiSeisBrowser::is2d_

◆ nrcomps_

int uiSeisBrowser::nrcomps_
protected

◆ nrsamples_

int uiSeisBrowser::nrsamples_
protected

◆ nrtrcsfld_

uiSpinBox* uiSeisBrowser::nrtrcsfld_
protected

◆ sd_

SamplingData<float> uiSeisBrowser::sd_
protected

◆ selcompnmfld_

uiComboBox* uiSeisBrowser::selcompnmfld_
protected

◆ setup_

const Setup uiSeisBrowser::setup_
protected

◆ showwgglbutidx_

int uiSeisBrowser::showwgglbutidx_
protected

◆ stepout_

int uiSeisBrowser::stepout_
protected

◆ tbl_

uiTable* uiSeisBrowser::tbl_
protected

◆ tbuf_

SeisTrcBuf& uiSeisBrowser::tbuf_
protected

◆ tbufafter_

SeisTrcBuf& uiSeisBrowser::tbufafter_
private

◆ tbufbefore_

SeisTrcBuf& uiSeisBrowser::tbufbefore_
private

◆ tbufchgdtrcs_

SeisTrcBuf& uiSeisBrowser::tbufchgdtrcs_
protected

◆ tr_

CBVSSeisTrcTranslator* uiSeisBrowser::tr_
protected

◆ trcbufvwr_

uiSeisTrcBufViewer* uiSeisBrowser::trcbufvwr_
protected

◆ tri_

CBVSSeisTrcTranslator* uiSeisBrowser::tri_
protected

◆ tro_

CBVSSeisTrcTranslator* uiSeisBrowser::tro_
protected

◆ uitb_

uiToolBar* uiSeisBrowser::uitb_
protected

◆ zdomdef_

const ZDomain::Def* uiSeisBrowser::zdomdef_
protected

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