## MQWidget.OpenFileDialog class

A open file dialog.

Super classes: MQWidget.FileDialogBase

### Property

get | set | Type | Name | Description
--- | --- | --- | --- | ---
x | x | bool | fileMustExist | whether only existing files can be selected or not
x | x | bool | multiSelect | multiple selection

### Method

Member | Description
--- | ---
OpenFileDialog | Constructor.
execute | Open a file dialog.
getFileNamesCount | Get a number of selected files.
getFileNames | Get a selected filename for multiple selection.

OpenFileDialog(parent)
Constructor.
  Parameters:
  MQWidget.WindowBase | parent | - | A parent window

execute
Open a file dialog.
  Return value:
  bool | - | Whether a file was selected or not

getFileNamesCount
Get a number of selected files.
  Return value:
  int | - | a number of selected files

getFileNames(index)
Get a selected filename for multiple selection.
  Parameters:
  int | index | - | an index of a selected file
  Return value:
  string | - | a filename