Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickfolderdialogimpl_p_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 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 QQUICKFOLDERDIALOG_P_P_H
5#define QQUICKFOLDERDIALOG_P_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This Folder is not part of the Qt API. It exists purely as an
12// implementation detail. This header Folder may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtQuickTemplates2/private/qquickdialog_p_p.h>
19#include <QtQuickTemplates2/private/qquickdialogbuttonbox_p.h>
20
22
23#include <QtCore/qpointer.h>
24
26
28{
29 Q_DECLARE_PUBLIC(QQuickFolderDialogImpl)
30
31public:
33
35 {
36 return dialog->d_func();
37 }
38
40
41 void updateEnabled();
42 void updateSelectedFolder(const QString &oldFolderPath);
43
44 void handleAccept() override;
46
47 QSharedPointer<QFileDialogOptions> options;
52};
53
55{
56public:
57 Q_DECLARE_PUBLIC(QQuickFolderDialogImplAttached)
58
60
61 QPointer<QQuickDialogButtonBox> buttonBox;
62 QPointer<QQuickListView> folderDialogListView;
63 QPointer<QQuickFolderBreadcrumbBar> breadcrumbBar;
64};
65
67
68#endif // QQUICKFOLDERDIALOG_P_P_H
QPointer< QQuickFolderBreadcrumbBar > breadcrumbBar
QPointer< QQuickDialogButtonBox > buttonBox
QQuickFolderDialogImplAttached * attachedOrWarn()
void updateSelectedFolder(const QString &oldFolderPath)
static QQuickFolderDialogImplPrivate * get(QQuickFolderDialogImpl *dialog)
void handleClick(QQuickAbstractButton *button) override
QSharedPointer< QFileDialogOptions > options
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
\inmodule QtCore
Definition qurl.h:94
QPushButton * button
[2]
Combined button and popup list for selecting options.
QFileDialog dialog(this)
[1]