34 #include <QScopedPointer>
65 std::vector<mitk::MimeType> GetMimeTypes()
const;
66 QString GetFilterForMimeType(
const std::string &mimeType)
const;
68 QString GetDefaultFilter()
const;
69 QString GetDefaultExtension()
const;
71 QString ToString()
const;
75 bool ContainsMimeType(
const std::string &mimeType);
79 QScopedPointer<Impl> d;
86 static QString GetFileOpenFilterString();
101 static QList<mitk::BaseData::Pointer> Load(
const QStringList &paths, QWidget *parent =
nullptr);
103 static mitk::DataStorage::SetOfObjects::Pointer Load(
const QStringList &paths,
105 QWidget *parent =
nullptr);
107 static QList<mitk::BaseData::Pointer> Load(
const QString &path, QWidget *parent =
nullptr);
109 static mitk::DataStorage::SetOfObjects::Pointer Load(
const QString &path,
111 QWidget *parent =
nullptr);
116 const QString &defaultBaseName,
117 const QString &defaultPath = QString(),
118 QWidget *parent =
nullptr,
119 bool setPathProperty =
false);
180 static QStringList Save(
const std::vector<const mitk::BaseData *> &data,
181 const QStringList &defaultBaseNames,
182 const QString &defaultPath = QString(),
183 QWidget *parent =
nullptr,
184 bool setPathProperty =
false);
196 DEPRECATED(
static void SaveBaseDataWithDialog(
mitk::BaseData *data, std::string fileName, QWidget *parent =
nullptr));
207 std::string fileName =
"",
208 QWidget *parent =
nullptr));
219 std::string fileName =
"",
220 QWidget *parent =
nullptr));
231 std::string fileName =
"",
232 QWidget *parent =
nullptr));