Add additional static functions to filedialog

This commit is contained in:
GriffinR
2024-10-10 01:43:35 -04:00
parent 1ed9b1ee10
commit f192b745dd
2 changed files with 27 additions and 0 deletions

View File

@@ -36,6 +36,18 @@ public:
QString *selectedFilter = nullptr,
QFileDialog::Options options = Options());
static QStringList getOpenFileNames(QWidget *parent = nullptr,
const QString &caption = QString(),
const QString &dir = QString(),
const QString &filter = QString(),
QString *selectedFilter = nullptr,
QFileDialog::Options options = Options());
static QString getExistingDirectory(QWidget *parent = nullptr,
const QString &caption = QString(),
const QString &dir = QString(),
QFileDialog::Options options = ShowDirsOnly);
static QString getSaveFileName(QWidget *parent = nullptr,
const QString &caption = QString(),
const QString &dir = QString(),