20#ifndef LIBREPCB_EDITOR_FILEDIALOG_H
21#define LIBREPCB_EDITOR_FILEDIALOG_H
54 QWidget* parent =
nullptr,
const QString& caption = QString(),
55 const QString& dir = QString(),
const QString& filter = QString(),
56 QString* selectedFilter =
nullptr,
57 QFileDialog::Options options = QFileDialog::Options());
60 QWidget* parent =
nullptr,
const QString& caption = QString(),
61 const QString& dir = QString(),
const QString& filter = QString(),
62 QString* selectedFilter =
nullptr,
63 QFileDialog::Options options = QFileDialog::Options());
66 QWidget* parent =
nullptr,
const QString& caption = QString(),
67 const QString& dir = QString(),
const QString& filter = QString(),
68 QString* selectedFilter =
nullptr,
69 QFileDialog::Options options = QFileDialog::Options());
72 QWidget* parent =
nullptr,
const QString& caption = QString(),
73 const QString& dir = QString(),
74 QFileDialog::Options options = QFileDialog::ShowDirsOnly);
77 static void patchOptions(QFileDialog::Options& options)
noexcept;
Wrapper around QFileDialog to slightly change its behaviour.
Definition: filedialog.h:46
static void patchOptions(QFileDialog::Options &options) noexcept
Definition: filedialog.cpp:76
static QString getOpenFileName(QWidget *parent=nullptr, const QString &caption=QString(), const QString &dir=QString(), const QString &filter=QString(), QString *selectedFilter=nullptr, QFileDialog::Options options=QFileDialog::Options())
Definition: filedialog.cpp:35
FileDialog(const FileDialog &other)=delete
static QStringList getOpenFileNames(QWidget *parent=nullptr, const QString &caption=QString(), const QString &dir=QString(), const QString &filter=QString(), QString *selectedFilter=nullptr, QFileDialog::Options options=QFileDialog::Options())
Definition: filedialog.cpp:44
static QString getSaveFileName(QWidget *parent=nullptr, const QString &caption=QString(), const QString &dir=QString(), const QString &filter=QString(), QString *selectedFilter=nullptr, QFileDialog::Options options=QFileDialog::Options())
Definition: filedialog.cpp:55
static QString getExistingDirectory(QWidget *parent=nullptr, const QString &caption=QString(), const QString &dir=QString(), QFileDialog::Options options=QFileDialog::ShowDirsOnly)
Definition: filedialog.cpp:64
Definition: occmodel.cpp:77