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.h
Go to the documentation of this file.
1// Copyright (C) 2025 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QOHOSWINDOWMANAGER_H
5#define QOHOSWINDOWMANAGER_H
6
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 <qohosplugincore.h>
14#include <functional>
15
17
19{
20
22
27
32
38
40 QtOhos::QObjectThreadSafeRef contextWindowRef, QStringList filters, QString defaultPath,
41 DocumentSelectMode documentSelectMode, ResultMultiplicity resultMultiplicity,
42 QOhosConsumer<QOhosOptional<OpenResult>> resultCallback);
43
45 QtOhos::QObjectThreadSafeRef contextWindowRef, QStringList newFileNames,
46 QString defaultFilePath, QStringList fileSuffixChoices,
47 QOhosConsumer<QOhosOptional<SaveResult>> resultCallback);
48
49}
50
51QT_END_NAMESPACE
52
53#endif // QOHOSWINDOWMANAGER_H
bool show(Qt::WindowFlags windowFlags, Qt::WindowModality windowModality, QWindow *parent) override
void showFileDialogSave(QtOhos::QObjectThreadSafeRef contextWindowRef, QStringList newFileNames, QString defaultFilePath, QStringList fileSuffixChoices, QOhosConsumer< QOhosOptional< SaveResult > > resultCallback)
void showFileDialogOpen(QtOhos::QObjectThreadSafeRef contextWindowRef, QStringList filters, QString defaultPath, DocumentSelectMode documentSelectMode, ResultMultiplicity resultMultiplicity, QOhosConsumer< QOhosOptional< OpenResult > > resultCallback)
QtOhos::enums::ohos::file::picker::DocumentSelectMode DocumentSelectMode
Combined button and popup list for selecting options.
QOhosWindowManager::ResultMultiplicity mapQFileDialogOptionsToOhosResultMultiplicity(const QFileDialogOptions &options)
QOhosWindowManager::DocumentSelectMode mapQFileDialogOptionsToOhosDocumentSelectMode(const QFileDialogOptions &options)
QPlatformFileDialogHelper * makeQOhosPlatformFileDialogHelper()