Open file dialog.
More...
#include <base/ui/OpenFileDialog.h>
Inherits Dialog.
Open file dialog.
Open file dialog.
- Version
- 1.0
◆ Flag
Enumerator |
---|
ALLOW_MULTIPLE | Specifies that multi files may be selected.
|
MUST_EXIST | Specifies that the selected file(s) must exist.
|
◆ OpenFileDialog()
OpenFileDialog::OpenFileDialog |
( |
| ) |
|
|
noexcept |
Initializes the open file dialog window.
◆ execute()
bool OpenFileDialog::execute |
( |
| ) |
|
|
virtual |
Executes the dialog.
Implements Dialog.
◆ getFilename()
const String& OpenFileDialog::getFilename |
( |
| ) |
const |
|
inlinenoexcept |
◆ getFilenames()
const Array<String>& OpenFileDialog::getFilenames |
( |
| ) |
const |
|
inlinenoexcept |
◆ getFilters()
◆ getFlags()
unsigned int OpenFileDialog::getFlags |
( |
| ) |
const |
|
inlinenoexcept |
◆ getFolder()
const String& OpenFileDialog::getFolder |
( |
| ) |
const |
|
inlinenoexcept |
Returns the initial folder.
◆ getTitle()
const String& OpenFileDialog::getTitle |
( |
| ) |
const |
|
inlinenoexcept |
Returns the title of the dialog window.
◆ setFilename()
void OpenFileDialog::setFilename |
( |
const String & |
filename | ) |
|
|
inlinenoexcept |
Sets the current file name.
◆ setFilter()
void OpenFileDialog::setFilter |
( |
const String & |
description, |
|
|
const String & |
filter |
|
) |
| |
|
noexcept |
Sets the filter.
- Parameters
-
description | The filter description. |
filter | The filter. |
◆ setFilters()
◆ setFlags()
void OpenFileDialog::setFlags |
( |
unsigned int |
flags | ) |
|
|
inlinenoexcept |
◆ setFolder()
void OpenFileDialog::setFolder |
( |
const String & |
folder | ) |
|
|
inlinenoexcept |
◆ setTitle()
void OpenFileDialog::setTitle |
( |
const String & |
title | ) |
|
|
inlinenoexcept |
Sets the title of the dialog window.