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

Public Types

typedef File::ViewPars Setup
 

Public Member Functions

 uiTextFile (uiParent *p, const char *fnm, const Setup &s=Setup())
 
const char * fileName () const
 
bool isModified () const
 
int maxLines () const
 
virtual bool isEditable () const
 
virtual bool isTable () const
 
bool open (const char *)
 
bool reLoad ()
 
bool save ()
 
bool saveAs (const char *)
 
int nrLines () const
 
void toLine (int)
 
const char * text () const
 
uiTextEdittextEdit ()
 
uiTextBrowsertextBrowser ()
 
uiTabletableEditor ()
 
uiObjectuiObj ()
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Public Attributes

Notifier< uiTextFilefileNmChg
 

Protected Member Functions

void init (uiParent *)
 
void setFileName (const char *)
 
void valChg (CallBacker *)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

Setup setup_
 
BufferString filename_
 
bool ismodified_
 
uiTextEdittxted_
 
uiTextBrowsertxtbr_
 
uiTabletbl_
 

Private Member Functions

 mODTextTranslationClass (uiTextFile)
 

Detailed Description

Member Typedef Documentation

Constructor & Destructor Documentation

uiTextFile::uiTextFile ( uiParent p,
const char *  fnm,
const Setup s = Setup() 
)
inline

Member Function Documentation

const char* uiTextFile::fileName ( ) const
inline
void uiTextFile::init ( uiParent )
protected
virtual bool uiTextFile::isEditable ( ) const
inlinevirtual
bool uiTextFile::isModified ( ) const
inline
virtual bool uiTextFile::isTable ( ) const
inlinevirtual
int uiTextFile::maxLines ( ) const
inline
uiTextFile::mODTextTranslationClass ( uiTextFile  )
private
int uiTextFile::nrLines ( ) const
bool uiTextFile::open ( const char *  )
bool uiTextFile::reLoad ( )
bool uiTextFile::save ( )
bool uiTextFile::saveAs ( const char *  )
void uiTextFile::setFileName ( const char *  )
protected
uiTable* uiTextFile::tableEditor ( )
inline
const char* uiTextFile::text ( ) const
uiTextBrowser* uiTextFile::textBrowser ( )
inline
uiTextEdit* uiTextFile::textEdit ( )
inline
void uiTextFile::toLine ( int  )
uiObject* uiTextFile::uiObj ( )
void uiTextFile::valChg ( CallBacker )
protected

Member Data Documentation

BufferString uiTextFile::filename_
protected
Notifier<uiTextFile> uiTextFile::fileNmChg
bool uiTextFile::ismodified_
mutableprotected
Setup uiTextFile::setup_
protected
uiTable* uiTextFile::tbl_
protected
uiTextBrowser* uiTextFile::txtbr_
protected
uiTextEdit* uiTextFile::txted_
protected

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