Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QOhosWindowManager Namespace Reference

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)

Typedef Documentation

◆ DocumentSelectMode

Enumeration Type Documentation

◆ ResultMultiplicity

Enumerator
SINGLE 
MULTIPLE 

Definition at line 23 of file qohoswindowmanager.h.

Function Documentation

◆ showFileDialogOpen()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ showFileDialogSave()

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().

Here is the call graph for this function:
Here is the caller graph for this function: