OpendTect  7.0
Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
uiFileSelectorSetup Class Reference

Setup for any file or directory selection process. More...

Inheritance diagram for uiFileSelectorSetup:
[legend]

Public Types

typedef uiFileSelectorSetup Setup
 

Public Member Functions

 uiFileSelectorSetup (const char *fnm=nullptr)
 
 uiFileSelectorSetup (OD::FileSelectionMode, const char *fnm=nullptr)
 
bool isForDirectory () const
 
bool isForFile () const
 
bool isForRead () const
 
bool isForWrite () const
 
bool isSingle () const
 
SetupselectDirectory (bool yn=true)
 
SetupselectMultiFile (bool yn=true)
 
SetupsetFileName (const char *fnm)
 
SetupsetFormat (const FileFormat &ffmt)
 
SetupsetFormat (const uiString &ftype, const char *ext, const char *ext2=0, const char *ext3=0)
 
SetupsetForWrite (bool yn=true)
 
SetupsetInitialSelection (const char *fnm)
 

Public Attributes

bool allowallextensions
 
bool confirmoverwrite
 
OD::FileContentType contenttype
 
BufferString defaultextension
 
FileFormatList formats
 
BufferStringSet initialselection
 
BufferString initialselectiondir
 
BufferString mask
 
bool onlylocal
 
OD::FileSelectionMode selmode
 
bool skiplocal
 

Private Member Functions

void init (const char *)
 

Detailed Description

Setup for any file or directory selection process.

<>

Member Typedef Documentation

◆ Setup

Constructor & Destructor Documentation

◆ uiFileSelectorSetup() [1/2]

uiFileSelectorSetup::uiFileSelectorSetup ( const char *  fnm = nullptr)

◆ uiFileSelectorSetup() [2/2]

uiFileSelectorSetup::uiFileSelectorSetup ( OD::FileSelectionMode  ,
const char *  fnm = nullptr 
)

Member Function Documentation

◆ init()

void uiFileSelectorSetup::init ( const char *  )
private

◆ isForDirectory()

bool uiFileSelectorSetup::isForDirectory ( ) const
inline

◆ isForFile()

bool uiFileSelectorSetup::isForFile ( ) const
inline

◆ isForRead()

bool uiFileSelectorSetup::isForRead ( ) const
inline

◆ isForWrite()

bool uiFileSelectorSetup::isForWrite ( ) const
inline

◆ isSingle()

bool uiFileSelectorSetup::isSingle ( ) const
inline

◆ selectDirectory()

Setup& uiFileSelectorSetup::selectDirectory ( bool  yn = true)
inline

◆ selectMultiFile()

Setup& uiFileSelectorSetup::selectMultiFile ( bool  yn = true)
inline

◆ setFileName()

Setup& uiFileSelectorSetup::setFileName ( const char *  fnm)
inline

◆ setFormat() [1/2]

Setup& uiFileSelectorSetup::setFormat ( const FileFormat ffmt)
inline

◆ setFormat() [2/2]

Setup& uiFileSelectorSetup::setFormat ( const uiString ftype,
const char *  ext,
const char *  ext2 = 0,
const char *  ext3 = 0 
)
inline

◆ setForWrite()

Setup& uiFileSelectorSetup::setForWrite ( bool  yn = true)
inline

◆ setInitialSelection()

Setup& uiFileSelectorSetup::setInitialSelection ( const char *  fnm)
inline

Member Data Documentation

◆ allowallextensions

bool uiFileSelectorSetup::allowallextensions

◆ confirmoverwrite

bool uiFileSelectorSetup::confirmoverwrite

◆ contenttype

OD::FileContentType uiFileSelectorSetup::contenttype

◆ defaultextension

BufferString uiFileSelectorSetup::defaultextension

◆ formats

FileFormatList uiFileSelectorSetup::formats

◆ initialselection

BufferStringSet uiFileSelectorSetup::initialselection

◆ initialselectiondir

BufferString uiFileSelectorSetup::initialselectiondir

◆ mask

BufferString uiFileSelectorSetup::mask

◆ onlylocal

bool uiFileSelectorSetup::onlylocal

◆ selmode

OD::FileSelectionMode uiFileSelectorSetup::selmode

◆ skiplocal

bool uiFileSelectorSetup::skiplocal

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