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#include <optional>
16
18
20{
21
23
28
33
39
41 QtOhos::QObjectThreadSafeRef contextWindowRef, QStringList filters, QString defaultPath,
42 DocumentSelectMode documentSelectMode, ResultMultiplicity resultMultiplicity,
43 QOhosConsumer<std::optional<OpenResult>> resultCallback);
44
46 QtOhos::QObjectThreadSafeRef contextWindowRef, QStringList newFileNames,
47 QString defaultFilePath, QStringList fileSuffixChoices,
48 QOhosConsumer<std::optional<SaveResult>> resultCallback);
49
50}
51
52QT_END_NAMESPACE
53
54#endif // QOHOSWINDOWMANAGER_H
bool show(Qt::WindowFlags windowFlags, Qt::WindowModality windowModality, QWindow *parent) override
void showFileDialogOpen(QtOhos::QObjectThreadSafeRef contextWindowRef, QStringList filters, QString defaultPath, DocumentSelectMode documentSelectMode, ResultMultiplicity resultMultiplicity, QOhosConsumer< std::optional< OpenResult > > resultCallback)
QtOhos::enums::ohos::file::picker::DocumentSelectMode DocumentSelectMode
void showFileDialogSave(QtOhos::QObjectThreadSafeRef contextWindowRef, QStringList newFileNames, QString defaultFilePath, QStringList fileSuffixChoices, QOhosConsumer< std::optional< SaveResult > > resultCallback)
Combined button and popup list for selecting options.
QOhosWindowManager::ResultMultiplicity mapQFileDialogOptionsToOhosResultMultiplicity(const QFileDialogOptions &options)
QOhosWindowManager::DocumentSelectMode mapQFileDialogOptionsToOhosDocumentSelectMode(const QFileDialogOptions &options)
QPlatformFileDialogHelper * makeQOhosPlatformFileDialogHelper()