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
qfileselector.h
Go to the documentation of this file.
1// Copyright (C) 2013 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
4#ifndef QFILESELECTOR_H
5#define QFILESELECTOR_H
6
7#include <QtCore/QObject>
8#include <QtCore/QStringList>
9
11
13class Q_CORE_EXPORT QFileSelector : public QObject
14{
16public:
17 explicit QFileSelector(QObject *parent = nullptr);
19
20 QString select(const QString &filePath) const;
21 QUrl select(const QUrl &filePath) const;
22
23 QStringList extraSelectors() const;
24 void setExtraSelectors(const QStringList &list);
25
26 QStringList allSelectors() const;
27
28private:
29 Q_DECLARE_PRIVATE(QFileSelector)
30};
31
33
34#endif
\inmodule QtCore
\inmodule QtCore
Definition qobject.h:103
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
\inmodule QtCore
Definition qurl.h:94
Combined button and popup list for selecting options.
#define Q_OBJECT
QList< int > list
[14]
selection select(topLeft, bottomRight)