## MQWidget.FileDialogBase class

A base class for file dialogs.

### Property

get | set | Type | Name | Description
--- | --- | --- | --- | ---
x | x | string | title | a title
x | x | string | filename | a filename
x | x | string | initialDir | an initial directory
x | x | string | defaultExt | a default extension
x | x | int | filterIndex | an index of a type of a file
x | x | bool | noChangeDir | a changable of a directory

### Method

Member | Description
--- | ---
addFilter | Add a type of a file.
getFilterCount | Get a number of types of files.
getFilter | Get a type of a file.
setFilter | Set a type of a file.
clearFilters | Erase all types of files for a file dialog.

addFilter(type)
Add a type of a file.
  Parameters:
  string | type | - | a type of a file
  Return value:
  int | - | an index of an added type of a file

getFilterCount
Get a number of types of files.
  Return value:
  int | - | a number of types of files

getFilter(index)
Get a type of a file.
  Parameters:
  int | index | - | an index of a type of a file
  Return value:
  string | - | a type of a file

setFilter(index, type)
Set a type of a file.
  Parameters:
  int | index | - | an index of a type of a file
  string | type | - | a type of a file

clearFilters
Erase all types of files for a file dialog.