![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Classes | |
| struct | OpenResult |
| struct | SaveResult |
Typedefs | |
| using | DocumentSelectMode = QtOhos::enums::ohos::file::picker::DocumentSelectMode |
Enumerations | |
| enum class | ResultMultiplicity { SINGLE , MULTIPLE } |
Functions | |
| void | showFileDialogOpen (QtOhos::QObjectThreadSafeRef contextWindowRef, QStringList filters, QString defaultPath, DocumentSelectMode documentSelectMode, ResultMultiplicity resultMultiplicity, QOhosConsumer< QOhosOptional< OpenResult > > resultCallback) |
| void | showFileDialogSave (QtOhos::QObjectThreadSafeRef contextWindowRef, QStringList newFileNames, QString defaultFilePath, QStringList fileSuffixChoices, QOhosConsumer< QOhosOptional< SaveResult > > resultCallback) |
| using QOhosWindowManager::DocumentSelectMode = QtOhos::enums::ohos::file::picker::DocumentSelectMode |
Definition at line 21 of file qohoswindowmanager.h.
|
strong |
| Enumerator | |
|---|---|
| SINGLE | |
| MULTIPLE | |
Definition at line 23 of file qohoswindowmanager.h.
| void QOhosWindowManager::showFileDialogOpen | ( | QtOhos::QObjectThreadSafeRef | contextWindowRef, |
| QStringList | filters, | ||
| QString | defaultPath, | ||
| DocumentSelectMode | documentSelectMode, | ||
| ResultMultiplicity | resultMultiplicity, | ||
| QOhosConsumer< QOhosOptional< OpenResult > > | resultCallback ) |
Definition at line 107 of file qohoswindowmanager.cpp.
References QtOhos::invokeInJsThread().
Referenced by QT_BEGIN_NAMESPACE::QOhosPlatformFileDialogHelperImpl::show().
| void QOhosWindowManager::showFileDialogSave | ( | QtOhos::QObjectThreadSafeRef | contextWindowRef, |
| QStringList | newFileNames, | ||
| QString | defaultFilePath, | ||
| QStringList | fileSuffixChoices, | ||
| QOhosConsumer< QOhosOptional< SaveResult > > | resultCallback ) |
Definition at line 148 of file qohoswindowmanager.cpp.
References QtOhos::invokeInJsThread().
Referenced by QT_BEGIN_NAMESPACE::QOhosPlatformFileDialogHelperImpl::show().