|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <QGCFileDialogController.h>
Inheritance diagram for QGCFileDialogController:
Collaboration diagram for QGCFileDialogController:Public Member Functions | |
| QGCFileDialogController (QObject *parent=nullptr) | |
| ~QGCFileDialogController () | |
Static Public Member Functions | |
| static QStringList | getFiles (const QString &directoryPath, const QStringList &nameFilters) |
| Return all file in the specified path which match the specified extension. | |
| static QString | fullyQualifiedFilename (const QString &directoryPath, const QString &filename, const QStringList &nameFilters=QStringList()) |
| static bool | fileExists (const QString &filename) |
| Check for file existence of specified fully qualified file name. | |
| static void | deleteFile (const QString &filename) |
| Deletes the file specified by the fully qualified file name. | |
| static QString | urlToLocalFile (QUrl url) |
| static QString | fullFolderPathToShortMobilePath (const QString &fullFolderPath) |
Definition at line 10 of file QGCFileDialogController.h.
|
explicit |
Definition at line 10 of file QGCFileDialogController.cc.
| QGCFileDialogController::~QGCFileDialogController | ( | ) |
Definition at line 16 of file QGCFileDialogController.cc.
|
static |
Deletes the file specified by the fully qualified file name.
Definition at line 78 of file QGCFileDialogController.cc.
|
static |
Check for file existence of specified fully qualified file name.
Definition at line 37 of file QGCFileDialogController.cc.
|
static |
Important: Should only be used in mobile builds where default save location cannot be changed. Returns the standard QGC location portion of a fully qualified folder path. Example: "/Users/Don/Document/QGroundControl/Missions" returns "QGroundControl/Missions"
Definition at line 83 of file QGCFileDialogController.cc.
References AppSettings::savePath().
|
static |
Returns the fully qualified file name from the specified parts. If filename has no file extension the first file extension is nameFilters is added to the filename.
Definition at line 42 of file QGCFileDialogController.cc.
|
static |
Return all file in the specified path which match the specified extension.
Definition at line 21 of file QGCFileDialogController.cc.
|
static |
Definition at line 97 of file QGCFileDialogController.cc.