Views
Gadgets Package API Reference Guide
Product Documentation:
Views Documentation Home
Classes | Enumerations
filechoo.h File Reference
#include <ilviews/gadgets/idialog.h>
#include <ilviews/gadgets/panecont.h>
#include <ilviews/gadgets/toolbar.h>
#include <ilviews/gadgets/sheet.h>
#include <ilviews/gadgets/combo.h>
#include <ilviews/gadgets/tree.h>
#include <ilviews/gadgets/button.h>
#include <ilog/pathname.h>
#include <ilviews/gadgets/toolpath.h>
#include <ilviews/gadgets/matsel.h>

Classes

class  IlvFileChooser
 File selector dialog class. More...
 
class  IlvFileChooserOptions
 File chooser options class. More...
 
class  IlvFileChooserSheet
 Sheet class for file chooser dialog. More...
 
class  IlvFileChooserTree
 Tree class for file chooser dialog. More...
 
class  IlvPathGadgetItem
 Gadget item class with a pathname. More...
 
class  IlvTreePathGadgetItem
 Tree gadget item class with a pathname. More...
 

Enumerations

enum  IlvFileChooserBitmapName {
  IlvFileChooserUpBmpName, IlvFileChooserCreateBmpName, IlvFileChooserMatrixBmpName, IlvFileChooserListBmpName,
  IlvFileChooserShowAllBmpName, IlvFileChooserHiddenBmpName, IlvFileChooserDirectoryBmpName, IlvFileChooserFileBmpName,
  IlvFileChooserDiskBmpName, IlvFileChooserDiskErrorBmpName, IlvFileChooserNetworkBmpName, IlvFileChooserCdromBmpName,
  IlvFileChooserRemovableBmpName
}
 This enumeration defines the bitmaps used by an IlvFileChooser object. Bitmaps files are located in ILVHOME/data/icon. More...
 
enum  IlvFileChooserDisplayMode { IlvFileChooserListMode, IlvFileChooserMatrixMode }
 This enumeration defines the display modes of the list files of an IlvFileChooser object. More...
 
enum  IlvFileChooserLabel {
  IlvFileChooserLabelFilename, IlvFileChooserLabelFilter, IlvFileChooserLabelApply, IlvFileChooserLabelCancel,
  IlvFileChooserLabelName, IlvFileChooserLabelType, IlvFileChooserLabelSize, IlvFileChooserLabelSizeKB,
  IlvFileChooserLabelSizeMB, IlvFileChooserLabelSizeGB, IlvFileChooserLabelCreateDirectory, IlvFileChooserLabelDirectoryName,
  IlvFileChooserLabelError, IlvFileChooserLabelWarning, IlvFileChooserLabelCreateDirFailed, IlvFileChooserLabelFile,
  IlvFileChooserLabelFolder, IlvFileChooserLabelNotExist, IlvFileChooserLabelOverwrite
}
 This enumeration defines the labels or messages of an IlvFileChooser object. The default value of each label and message is a key from views.dbm. For each key, you can find a translation. More...
 
enum  IlvFileChooserSelection { IlvFileChooserFileSelection, IlvFileChooserDirectorySelection, IlvFileChooserFileAndDirectorySelection }
 This enumeration defines the selection types of an IlvFileChooser object. More...
 
enum  IlvFileChooserToolTip {
  IlvFileChooserToolTipUp, IlvFileChooserToolTipCreate, IlvFileChooserToolTipMatrix, IlvFileChooserToolTipList,
  IlvFileChooserToolTipShowAll, IlvFileChooserToolTipHidden
}
 This enumeration defines the tooltips of the toolbar of an IlvFileChooser object. More...
 
enum  IlvFileChooserType { IlvFileChooserOpen, IlvFileChooserSave }
 This enumeration defines the modes of an IlvFileChooser object. More...
 

Detailed Description

Library: ilvadvgdt
Declaration of the IlvFileChooser class and its related classes.

Enumeration Type Documentation

◆ IlvFileChooserBitmapName

This enumeration defines the bitmaps used by an IlvFileChooser object. Bitmaps files are located in ILVHOME/data/icon.

See also
IlvFileChooserOptions.
Enumerator
IlvFileChooserUpBmpName 

This value corresponds to the Up directory bitmap. The default value for the bitmap is updir.png.

IlvFileChooserCreateBmpName 

This value corresponds to the Create directory bitmap. The default value for the bitmap is createdir.png.

IlvFileChooserMatrixBmpName 

This value corresponds to the Matrix mode bitmap. The default value for the bitmap is matrix.png.

IlvFileChooserListBmpName 

This value corresponds to the List mode bitmap. The default value for the bitmap is column.png.

IlvFileChooserShowAllBmpName 

This value corresponds to the Show all files bitmap. The default value for the bitmap is showall.png.

IlvFileChooserHiddenBmpName 

This value corresponds to the Hide hidden files bitmap. The default value for the bitmap is hidden.png.

IlvFileChooserDirectoryBmpName 

This value corresponds to the Directory type bitmap. The default value for the bitmap is dir.png.

IlvFileChooserFileBmpName 

This value corresponds to the File type bitmap. The default value for the bitmap is txtfile.png.

IlvFileChooserDiskBmpName 

This value corresponds to the Disk device bitmap. The default value for the bitmap is disk.png.

IlvFileChooserDiskErrorBmpName 

This value corresponds to the Disk error device bitmap. The default value for the bitmap is diskerror.png.

IlvFileChooserNetworkBmpName 

This value corresponds to the Network device bitmap. The default value for the bitmap is network.png.

IlvFileChooserCdromBmpName 

This value corresponds to the CD-ROM device bitmap. The default value for the bitmap is cdrom.png.

IlvFileChooserRemovableBmpName 

This value corresponds to the Removable device bitmap. The default value for the bitmap is save.png.

◆ IlvFileChooserDisplayMode

This enumeration defines the display modes of the list files of an IlvFileChooser object.

See also
IlvFileChooserOptions.
Enumerator
IlvFileChooserListMode 

Files are displayed as an array with three columns: name, type and size.

IlvFileChooserMatrixMode 

Files are displayed as a matrix where the column count depends on the dialog width. Each matrix item contains a file or a directory.

◆ IlvFileChooserLabel

This enumeration defines the labels or messages of an IlvFileChooser object. The default value of each label and message is a key from views.dbm. For each key, you can find a translation.

See also
IlvFileChooserOptions.
Enumerator
IlvFileChooserLabelFilename 

This value corresponds to the Filename label. The default value is the key : &FCFileName.

IlvFileChooserLabelFilter 

This value corresponds to the Filter label. The default value is the key : &FCFilter.

IlvFileChooserLabelApply 

This value corresponds to the Apply label. The default value is one of keys : &FCOpen, &select or &save. This default value depends on the type and mode of the IlvFileChooser object which is set into the IlvFileChooserOptions object.

IlvFileChooserLabelCancel 

This value corresponds to the Cancel label. The default value is the key : &cancel.

IlvFileChooserLabelName 

This value corresponds to the Name label. The default value is the key : &Name.

IlvFileChooserLabelType 

This value corresponds to the Type label. The default value is the key : &type.

IlvFileChooserLabelSize 

This value corresponds to the Size label. The default value is the key : &size.

IlvFileChooserLabelSizeKB 

This value corresponds to the Kilobytes size label. The default value is the key : &FCKB.

IlvFileChooserLabelSizeMB 

This value corresponds to the Megabytes size label. The default value is the key : &FCMB.

IlvFileChooserLabelSizeGB 

This value corresponds to the Gigabytes size label. The default value is the key : &FCGB.

IlvFileChooserLabelCreateDirectory 

This value corresponds to the Create directory label. The default value is the key : &FCCreateDir.

IlvFileChooserLabelDirectoryName 

This value corresponds to the Directory name label. The default value is the key : &FCDirectoryName.

IlvFileChooserLabelError 

This value corresponds to the Error label. The default value is the key : &ErrorTitle.

IlvFileChooserLabelWarning 

This value corresponds to the Warning label. The default value is the key : &WarnerTitle.

IlvFileChooserLabelCreateDirFailed 

This value corresponds to the Create directory failed message. The default value is the key : &FCCreationFailed.

IlvFileChooserLabelFile 

This value corresponds to the File label. The default value is the key : &file.

IlvFileChooserLabelFolder 

This value corresponds to the Folder label. The default value is the key : &FCFolder.

IlvFileChooserLabelNotExist 

This value corresponds to the Selected item doesn't exist message. The default value is the key : &FCNotExist.

IlvFileChooserLabelOverwrite 

This value corresponds to the Overwrite file question message. The default value is the key : &OverwriteFile.

◆ IlvFileChooserSelection

This enumeration defines the selection types of an IlvFileChooser object.

See also
IlvFileChooserOptions.
Enumerator
IlvFileChooserFileSelection 

The selection can only contain files.

IlvFileChooserDirectorySelection 

The selection can only contain directories.

IlvFileChooserFileAndDirectorySelection 

The selection can contain files and directories.

◆ IlvFileChooserToolTip

This enumeration defines the tooltips of the toolbar of an IlvFileChooser object.

The default value of each tooltip is a key from views.dbm. For each key, you can find a translation.

See also
IlvFileChooserOptions.
Enumerator
IlvFileChooserToolTipUp 

This value corresponds to the Up directory tooltip. The default value is the key : &FCUpOneLevel.

IlvFileChooserToolTipCreate 

This value corresponds to the Create directory tooltip. The default value is the key : &FCCreateDir.

IlvFileChooserToolTipMatrix 

This value corresponds to the Matrix mode tooltip. The default value is the key : &FCDisplayMatrixMode.

IlvFileChooserToolTipList 

This value corresponds to the List mode tooltip. The default value is the key : &FCDisplayListMode.

IlvFileChooserToolTipShowAll 

This value corresponds to the Show all files display mode tooltip. The default value is the key : &FCShowAllFiles.

IlvFileChooserToolTipHidden 

This value corresponds to the Hide hidden files display mode tooltip. The default value is the key : &FCHideHiddenFiles.

◆ IlvFileChooserType

This enumeration defines the modes of an IlvFileChooser object.

See also
IlvFileChooserOptions.
Enumerator
IlvFileChooserOpen 

The dialog box is created to load a file. All selected items must exist.

IlvFileChooserSave 

The dialog box is created to save a file.