4#ifndef QOHOSWINDOWMANAGER_H
5#define QOHOSWINDOWMANAGER_H
7#include <QtCore/private/qohoscommon_p.h>
8#include <QtCore/qpoint.h>
9#include <QtCore/qrect.h>
10#include <QtCore/qstringlist.h>
11#include <QtCore/qstring.h>
12#include <qohosenums.h>
13#include <qohosinternalwindowid_p.h>
14#include <qohosplugincore.h>
42 DocumentSelectMode documentSelectMode, ResultMultiplicity resultMultiplicity,
43 QOhosConsumer<QOhosOptional<OpenResult>> resultCallback);
47 QString defaultFilePath, QStringList fileSuffixChoices,
48 QOhosConsumer<QOhosOptional<SaveResult>> resultCallback);
52 QOhosConsumer<
bool> resultCallback);
void showFileDialogAuthorization(QtOhos::InternalWindowId contextWinId, QString filePath, QOhosConsumer< bool > resultCallback)
void showFileDialogOpen(QtOhos::InternalWindowId contextWinId, QStringList filters, QString defaultPath, DocumentSelectMode documentSelectMode, ResultMultiplicity resultMultiplicity, QOhosConsumer< QOhosOptional< OpenResult > > resultCallback)
QtOhos::enums::ohos::file::picker::DocumentSelectMode DocumentSelectMode
void showFileDialogSave(QtOhos::InternalWindowId contextWinId, QStringList newFileNames, QString defaultFilePath, QStringList fileSuffixChoices, QOhosConsumer< QOhosOptional< SaveResult > > resultCallback)
Combined button and popup list for selecting options.
QOhosWindowManager::ResultMultiplicity mapQFileDialogOptionsToOhosResultMultiplicity(const QFileDialogOptions &options)
QtOhos::InternalWindowId tryGetFocusedWindowInternalWindowId()
QOhosWindowManager::DocumentSelectMode mapQFileDialogOptionsToOhosDocumentSelectMode(const QFileDialogOptions &options)
QtOhos::InternalWindowId getQWindowInternalWindowIdOrFail(QWindow *qWindow)
int selectedFileSuffixChoiceIndex