#include <dialogs.h>
The DialogManager allows GUI code to interact with native system dialogs.
◆ DialogResult
Values representing the user response to a dialog.
Enumerator |
---|
kDialogError | Dialog could not be displayed.
|
kDialogCancel | User cancelled the dialog (Cancel/No/Close buttons).
|
kDialogOk | User confirmed the dialog (OK/Yes buttons).
|
◆ showFileBrowser()
Display a dialog for selecting a file or folder in the file system.
- Parameters
-
title | Dialog title. |
choice | Path selected by the user. |
isDirBrowser | Restrict selection to directories. |
- Returns
- The dialog result.
◆ beginDialog()
void Common::DialogManager::beginDialog |
( |
| ) |
|
|
inlineprotected |
Call before opening a dialog.
◆ endDialog()
void Common::DialogManager::endDialog |
( |
| ) |
|
|
inlineprotected |
Call after closing a dialog.
The documentation for this class was generated from the following file: