Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qqmlfileselector.h
Go to the documentation of this file.
1
// Copyright (C) 2016 BlackBerry Limited. All rights reserved.
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
4
5
#
ifndef
QQMLFILESELECTOR_H
6
#
define
QQMLFILESELECTOR_H
7
8
#
include
<
QtCore
/
QObject
>
9
#
include
<
QtCore
/
QUrl
>
10
#
include
<
QtQml
/
QQmlEngine
>
11
#
include
<
QtQml
/
qtqmlglobal
.
h
>
12
13
QT_BEGIN_NAMESPACE
14
15
class
QFileSelector;
16
class
QQmlFileSelectorPrivate;
17
class
Q_QML_EXPORT
QQmlFileSelector
:
public
QObject
18
{
19
Q_OBJECT
20
Q_DECLARE_PRIVATE(QQmlFileSelector)
21
public
:
22
explicit
QQmlFileSelector(QQmlEngine *engine, QObject *parent =
nullptr
);
23
~QQmlFileSelector() override;
24
QFileSelector *selector()
const
noexcept
;
25
void
setSelector(QFileSelector *selector);
26
void
setExtraSelectors(
const
QStringList &strings);
27
28
#
if
QT_DEPRECATED_SINCE
(
6
,
0
)
29
QT_DEPRECATED
static
QQmlFileSelector *get(QQmlEngine*);
30
#
endif
31
32
private
:
33
Q_DISABLE_COPY(QQmlFileSelector)
34
};
35
36
QT_END_NAMESPACE
37
38
#
endif
QQmlFileSelector
A class for applying a QFileSelector to QML file loading.
Definition
qqmlfileselector.h:18
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtdeclarative
src
qml
qml
qqmlfileselector.h
Generated on
for Qt by
1.18.0