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
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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QQUICKFOLDERDIALOG_P_P_H
6
#
define
QQUICKFOLDERDIALOG_P_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This Folder is not part of the Qt API. It exists purely as an
13
// implementation detail. This header Folder may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtQuickTemplates2
/
private
/
qquickdialog_p_p
.
h
>
20
#
include
<
QtQuickTemplates2
/
private
/
qquickdialogbuttonbox_p
.
h
>
21
22
#
include
"qquickfolderdialogimpl_p.h"
23
24
#
include
<
QtCore
/
qpointer
.
h
>
25
26
QT_BEGIN_NAMESPACE
27
28
class
QQuickFolderDialogImplPrivate
:
public
QQuickDialogPrivate
29
{
30
Q_DECLARE_PUBLIC(QQuickFolderDialogImpl)
31
32
public
:
33
QQuickFolderDialogImplPrivate
();
34
35
static
QQuickFolderDialogImplPrivate
*get(QQuickFolderDialogImpl *dialog)
36
{
37
return
dialog->d_func();
38
}
39
40
QQuickFolderDialogImplAttached *
attachedOrWarn
();
41
42
void
updateEnabled
();
43
void
updateSelectedFolder
(
const
QString &oldFolderPath);
44
45
void
handleAccept
()
override
;
46
void
handleClick(QQuickAbstractButton *button) override;
47
48
QSharedPointer
<
QFileDialogOptions
>
options
;
49
QUrl
currentFolder
;
50
QUrl
selectedFolder
;
51
QString
acceptLabel
;
52
QString
rejectLabel
;
53
};
54
55
class
QQuickFolderDialogImplAttachedPrivate
:
public
QObjectPrivate
56
{
57
public
:
58
Q_DECLARE_PUBLIC(QQuickFolderDialogImplAttached)
59
60
void
folderDialogListViewCurrentIndexChanged
();
61
62
QPointer
<
QQuickDialogButtonBox
>
buttonBox
;
63
QPointer
<
QQuickListView
>
folderDialogListView
;
64
QPointer
<
QQuickFolderBreadcrumbBar
>
breadcrumbBar
;
65
};
66
67
QT_END_NAMESPACE
68
69
#
endif
// QQUICKFOLDERDIALOG_P_P_H
QQuickFolderBreadcrumbBarPrivate
Definition
qquickfolderbreadcrumbbar_p_p.h:32
QQuickFolderDialogImplAttachedPrivate
Definition
qquickfolderdialogimpl_p_p.h:56
QQuickFolderDialogImplAttachedPrivate::folderDialogListView
QPointer< QQuickListView > folderDialogListView
Definition
qquickfolderdialogimpl_p_p.h:63
QQuickFolderDialogImplAttachedPrivate::breadcrumbBar
QPointer< QQuickFolderBreadcrumbBar > breadcrumbBar
Definition
qquickfolderdialogimpl_p_p.h:64
QQuickFolderDialogImplAttachedPrivate::buttonBox
QPointer< QQuickDialogButtonBox > buttonBox
Definition
qquickfolderdialogimpl_p_p.h:62
QQuickFolderDialogImplPrivate
Definition
qquickfolderdialogimpl_p_p.h:29
QQuickFolderDialogImplPrivate::updateEnabled
void updateEnabled()
Definition
qquickfolderdialogimpl.cpp:24
QQuickFolderDialogImplPrivate::rejectLabel
QString rejectLabel
Definition
qquickfolderdialogimpl_p_p.h:52
QQuickFolderDialogImplPrivate::attachedOrWarn
QQuickFolderDialogImplAttached * attachedOrWarn()
Definition
qquickfolderdialogimpl.cpp:305
QQuickFolderDialogImplPrivate::updateSelectedFolder
void updateSelectedFolder(const QString &oldFolderPath)
Definition
qquickfolderdialogimpl.cpp:51
QQuickFolderDialogImplPrivate::currentFolder
QUrl currentFolder
Definition
qquickfolderdialogimpl_p_p.h:49
QQuickFolderDialogImplPrivate::selectedFolder
QUrl selectedFolder
Definition
qquickfolderdialogimpl_p_p.h:50
QQuickFolderDialogImplPrivate::options
QSharedPointer< QFileDialogOptions > options
Definition
qquickfolderdialogimpl_p_p.h:48
QQuickFolderDialogImplPrivate::handleAccept
void handleAccept() override
Definition
qquickfolderdialogimpl.cpp:122
QQuickFolderDialogImplPrivate::acceptLabel
QString acceptLabel
Definition
qquickfolderdialogimpl_p_p.h:51
QPlatformGraphicsBufferHelper
\inmodule QtGui
upButtonName
static QString upButtonName()
Definition
qquickfolderbreadcrumbbar.cpp:182
textFieldName
static QString textFieldName()
Definition
qquickfolderbreadcrumbbar.cpp:212
qtdeclarative
src
quickdialogs
quickdialogsquickimpl
qquickfolderdialogimpl_p_p.h
Generated on
for Qt by
1.14.0