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 <qohosinternalwindowid_p.h>
14#include <qohosplugincore.h>
15#include <functional>
16
18
20{
21
23
28
33
39
41 QtOhos::InternalWindowId contextWinId, QStringList filters, QString defaultPath,
42 DocumentSelectMode documentSelectMode, ResultMultiplicity resultMultiplicity,
43 QOhosConsumer<QOhosOptional<OpenResult>> resultCallback);
44
46 QtOhos::InternalWindowId contextWinId, QStringList newFileNames,
47 QString defaultFilePath, QStringList fileSuffixChoices,
48 QOhosConsumer<QOhosOptional<SaveResult>> resultCallback);
49
51 QtOhos::InternalWindowId contextWinId, QString filePath,
52 QOhosConsumer<bool> resultCallback);
53
54}
55
56QT_END_NAMESPACE
57
58#endif // QOHOSWINDOWMANAGER_H
bool show(Qt::WindowFlags windowFlags, Qt::WindowModality windowModality, QWindow *parent) override
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)
QPlatformFileDialogHelper * makeQOhosPlatformFileDialogHelper()