34 #include <QScopedPointer>
64 std::vector<mitk::MimeType> GetMimeTypes()
const;
65 QString GetFilterForMimeType(
const std::string &mimeType)
const;
67 QString GetDefaultFilter()
const;
68 QString GetDefaultExtension()
const;
70 QString ToString()
const;
74 bool ContainsMimeType(
const std::string &mimeType);
78 QScopedPointer<Impl> d;
85 static QString GetFileOpenFilterString();
100 static QList<mitk::BaseData::Pointer> Load(
const QStringList &paths, QWidget *parent =
nullptr);
102 static mitk::DataStorage::SetOfObjects::Pointer Load(
const QStringList &paths,
104 QWidget *parent =
nullptr);
106 static QList<mitk::BaseData::Pointer> Load(
const QString &path, QWidget *parent =
nullptr);
108 static mitk::DataStorage::SetOfObjects::Pointer Load(
const QString &path,
110 QWidget *parent =
nullptr);
115 const QString &defaultBaseName,
116 const QString &defaultPath = QString(),
117 QWidget *parent =
nullptr,
118 bool setPathProperty =
false);
179 static QStringList Save(
const std::vector<const mitk::BaseData *> &data,
180 const QStringList &defaultBaseNames,
181 const QString &defaultPath = QString(),
182 QWidget *parent =
nullptr,
183 bool setPathProperty =
false);
195 DEPRECATED(
static void SaveBaseDataWithDialog(
mitk::BaseData *data, std::string fileName, QWidget *parent =
nullptr));
206 std::string fileName =
"",
207 QWidget *parent =
nullptr));
218 std::string fileName =
"",
219 QWidget *parent =
nullptr));
230 std::string fileName =
"",
231 QWidget *parent =
nullptr));