OpendTect-6_4
6.4
|
Dialog to get a file or directory name from user. More...
Public Types | |
enum | Mode { AnyFile, ExistingFile, Directory, DirectoryOnly, ExistingFiles } |
File selection mode. More... | |
enum | Type { Gen, Img, Txt, Html } |
Public Member Functions | |
uiFileDialog (uiParent *, bool forread, const char *fname=0, const char *filter=0, const uiString &caption=uiString::emptyString()) | |
uiFileDialog (uiParent *, Mode mode=AnyFile, const char *fname=0, const char *filter=0, const uiString &caption=uiString::emptyString()) | |
uiFileDialog (uiParent *, Type, const char *fname=0, const uiString &caption=uiString::emptyString()) | |
Always AnyFile. More... | |
const char * | fileName () const |
void | getFileNames (BufferStringSet &) const |
void | setMode (Mode m) |
Mode | mode () const |
void | setSelectedFilter (const char *fltr) |
const char * | selectedFilter () const |
void | setDirectory (const char *dir) |
void | setAllowAllExts (bool yn) |
default true for read, false for write More... | |
void | setConfirmOverwrite (bool yn) |
void | setDefaultExtension (const char *) |
const char * | getDefaultExtension () const |
int | go () |
int | processExternalFilenames (const char *dir=0, const char *filters=0) |
Static Public Member Functions | |
static void | list2String (const BufferStringSet &, BufferString &) |
static void | string2List (const BufferString &, BufferStringSet &) |
static void | setExternalFilenames (const FileMultiString &) |
static const char * | getExternalFilenamesErrMsg () |
Static Public Attributes | |
static const char * | filesep_ |
Protected Attributes | |
BufferString | fn |
Mode | mode_ |
BufferString | fname_ |
BufferString | filter_ |
uiString | caption_ |
uiParent * | parnt_ |
BufferStringSet | filenames_ |
BufferString | selectedfilter_ |
BufferString | currentdir_ |
bool | addallexts_ |
bool | forread_ |
bool | confirmoverwrite_ |
BufferString | defaultextension_ |
Static Protected Attributes | |
static FileMultiString * | externalfilenames_ |
static BufferString | extfilenameserrmsg_ |
Private Member Functions | |
mODTextTranslationClass (uiFileDialog) | |
void | setDefaultCaption () |
int | beginCmdRecEvent (const char *wintitle) |
void | endCmdRecEvent (int refnr, bool ok) |
Dialog to get a file or directory name from user.
enum uiFileDialog::Mode |
File selection mode.
enum uiFileDialog::Type |
uiFileDialog::uiFileDialog | ( | uiParent * | , |
bool | forread, | ||
const char * | fname = 0 , |
||
const char * | filter = 0 , |
||
const uiString & | caption = uiString::emptyString() |
||
) |
uiFileDialog::uiFileDialog | ( | uiParent * | , |
Mode | mode = AnyFile , |
||
const char * | fname = 0 , |
||
const char * | filter = 0 , |
||
const uiString & | caption = uiString::emptyString() |
||
) |
uiFileDialog::uiFileDialog | ( | uiParent * | , |
Type | , | ||
const char * | fname = 0 , |
||
const uiString & | caption = uiString::emptyString() |
||
) |
Always AnyFile.
|
private |
|
private |
|
inline |
const char* uiFileDialog::getDefaultExtension | ( | ) | const |
|
static |
void uiFileDialog::getFileNames | ( | BufferStringSet & | ) | const |
int uiFileDialog::go | ( | ) |
|
static |
|
inline |
|
private |
int uiFileDialog::processExternalFilenames | ( | const char * | dir = 0 , |
const char * | filters = 0 |
||
) |
|
inline |
|
inline |
default true for read, false for write
|
inline |
|
private |
void uiFileDialog::setDefaultExtension | ( | const char * | ) |
|
inline |
|
static |
|
inline |
|
inline |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019