OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Attributes | Friends | List of all members
uiStratTreeWin Class Reference

Main window for Stratigraphy display: holds the reference tree and the units description view. More...

Inheritance diagram for uiStratTreeWin:
[legend]

Public Member Functions

 uiStratTreeWin (uiParent *)
 
 ~uiStratTreeWin ()
 
void popUp () const
 
virtual bool closeOK ()
 confirm window close More...
 
void changeLayerModelNumber (bool add)
 
- 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

static void addTool (uiToolButtonSetup *)
 becomes mine More...
 
static void makeEditable (bool allow)
 
- 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 finalizeCB (CallBacker *)
 
void initWin ()
 
void saveLegacyTrees ()
 
void initItem (MenuItem &, const uiString &, const char *)
 
void initMenuItems ()
 
void createMenu ()
 
void createToolBar ()
 
void createGroups ()
 
void updateDisplay ()
 
void updateCaption ()
 
void actionCB (CallBacker *)
 
void newTree ()
 
void openTree ()
 
void defaultTree ()
 
bool askSave ()
 
bool save (bool saveas)
 
void reset ()
 
void setNewRT ()
 
void readTree (const MultiID &)
 
void switchView ()
 
void setIsLocked (bool yn)
 
bool isLocked () const
 
void setEditable (bool yn)
 
void updateButtonSensitivity ()
 
void manLiths ()
 
void manConts ()
 
void help ()
 
void selLvlChgCB (CallBacker *)
 
void rClickLvlCB (CallBacker *)
 
void unitSelCB (CallBacker *)
 
void unitRenamedCB (CallBacker *)
 
void survChgCB (CallBacker *)
 
void appCloseCB (CallBacker *)
 
- Protected Member Functions inherited from uiMainWin
 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

uiStratRefTreeuitree_
 
uiStratDisplayuistratdisp_
 
uiStratLvlListlvllist_
 
Strat::RepositoryAccessrepos_
 
uiToolBartb_
 
uiToolBarstratvwtb_
 
uiToolBartreevwtb_
 
uiToolBarothertb_
 
MenuItem newitem_
 
MenuItem openitem_
 
MenuItem defaultitem_
 
MenuItem saveitem_
 
MenuItem saveasitem_
 
MenuItem lockitem_
 
MenuItem resetitem_
 
MenuItem expanditem_
 
MenuItem collapseitem_
 
MenuItem moveupitem_
 
MenuItem movedownitem_
 
MenuItem switchviewitem_
 
MenuItem lithoitem_
 
MenuItem contentsitem_
 
MenuItem helpitem_
 
bool needsave_
 
bool istreedisp_
 
MultiID treekey_
 
- Protected Attributes inherited from uiMainWin
uiMainWinBodybody_
 
uiParentparent_
 
Timerafterpopuptimer_
 
PopupArea popuparea_
 
uiString caption_
 
uiString uniquecaption_
 
int languagechangecount_
 
BufferString scripttorun_
 

Private Member Functions

 mODTextTranslationClass (uiStratTreeWin)
 
uiString sEditTxt (bool domenu)
 
uiString sLockTxt (bool domenu)
 

Static Private Attributes

static ManagedObjectSet< uiToolButtonSetuptbsetups_
 

Friends

const uiStratTreeWinStratTWin ()
 

Additional Inherited Members

- 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 uiMainWin
Notifier< uiMainWinwindowClosed
 triggered when window exits More...
 
Notifier< uiMainWinactivatedone
 
Notifier< uiMainWinctrlCPressed
 
Notifier< uiMainWinafterPopup
 
Notifier< uiMainWinrunScriptRequest
 

Detailed Description

Main window for Stratigraphy display: holds the reference tree and the units description view.

Constructor & Destructor Documentation

uiStratTreeWin::uiStratTreeWin ( uiParent )
uiStratTreeWin::~uiStratTreeWin ( )

Member Function Documentation

void uiStratTreeWin::actionCB ( CallBacker )
protected
static void uiStratTreeWin::addTool ( uiToolButtonSetup )
static

becomes mine

void uiStratTreeWin::appCloseCB ( CallBacker )
protected
bool uiStratTreeWin::askSave ( )
protected
void uiStratTreeWin::changeLayerModelNumber ( bool  add)
virtual bool uiStratTreeWin::closeOK ( )
virtual

confirm window close

Reimplemented from uiMainWin.

void uiStratTreeWin::createGroups ( )
protected
void uiStratTreeWin::createMenu ( )
protected
void uiStratTreeWin::createToolBar ( )
protected
void uiStratTreeWin::defaultTree ( )
protected
void uiStratTreeWin::finalizeCB ( CallBacker )
protected
void uiStratTreeWin::help ( )
protected
void uiStratTreeWin::initItem ( MenuItem ,
const uiString ,
const char *   
)
protected
void uiStratTreeWin::initMenuItems ( )
protected
void uiStratTreeWin::initWin ( )
protected
bool uiStratTreeWin::isLocked ( ) const
protected
static void uiStratTreeWin::makeEditable ( bool  allow)
static
void uiStratTreeWin::manConts ( )
protected
void uiStratTreeWin::manLiths ( )
protected
uiStratTreeWin::mODTextTranslationClass ( uiStratTreeWin  )
private
void uiStratTreeWin::newTree ( )
protected
void uiStratTreeWin::openTree ( )
protected
void uiStratTreeWin::popUp ( ) const
void uiStratTreeWin::rClickLvlCB ( CallBacker )
protected
void uiStratTreeWin::readTree ( const MultiID )
protected
void uiStratTreeWin::reset ( )
protected
bool uiStratTreeWin::save ( bool  saveas)
protected
void uiStratTreeWin::saveLegacyTrees ( )
protected
uiString uiStratTreeWin::sEditTxt ( bool  domenu)
private
void uiStratTreeWin::selLvlChgCB ( CallBacker )
protected
void uiStratTreeWin::setEditable ( bool  yn)
protected
void uiStratTreeWin::setIsLocked ( bool  yn)
protected
void uiStratTreeWin::setNewRT ( )
protected
uiString uiStratTreeWin::sLockTxt ( bool  domenu)
private
void uiStratTreeWin::survChgCB ( CallBacker )
protected
void uiStratTreeWin::switchView ( )
protected
void uiStratTreeWin::unitRenamedCB ( CallBacker )
protected
void uiStratTreeWin::unitSelCB ( CallBacker )
protected
void uiStratTreeWin::updateButtonSensitivity ( )
protected
void uiStratTreeWin::updateCaption ( )
protected
void uiStratTreeWin::updateDisplay ( )
protected

Friends And Related Function Documentation

const uiStratTreeWin& StratTWin ( )
friend

Member Data Documentation

MenuItem uiStratTreeWin::collapseitem_
protected
MenuItem uiStratTreeWin::contentsitem_
protected
MenuItem uiStratTreeWin::defaultitem_
protected
MenuItem uiStratTreeWin::expanditem_
protected
MenuItem uiStratTreeWin::helpitem_
protected
bool uiStratTreeWin::istreedisp_
protected
MenuItem uiStratTreeWin::lithoitem_
protected
MenuItem uiStratTreeWin::lockitem_
protected
uiStratLvlList* uiStratTreeWin::lvllist_
protected
MenuItem uiStratTreeWin::movedownitem_
protected
MenuItem uiStratTreeWin::moveupitem_
protected
bool uiStratTreeWin::needsave_
protected
MenuItem uiStratTreeWin::newitem_
protected
MenuItem uiStratTreeWin::openitem_
protected
uiToolBar* uiStratTreeWin::othertb_
protected
Strat::RepositoryAccess& uiStratTreeWin::repos_
protected
MenuItem uiStratTreeWin::resetitem_
protected
MenuItem uiStratTreeWin::saveasitem_
protected
MenuItem uiStratTreeWin::saveitem_
protected
uiToolBar* uiStratTreeWin::stratvwtb_
protected
MenuItem uiStratTreeWin::switchviewitem_
protected
uiToolBar* uiStratTreeWin::tb_
protected
ManagedObjectSet<uiToolButtonSetup> uiStratTreeWin::tbsetups_
staticprivate
MultiID uiStratTreeWin::treekey_
protected
uiToolBar* uiStratTreeWin::treevwtb_
protected
uiStratDisplay* uiStratTreeWin::uistratdisp_
protected
uiStratRefTree* uiStratTreeWin::uitree_
protected

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