Changeset View
Changeset View
Standalone View
Standalone View
app/formatdialog.cpp
Show First 20 Lines • Show All 221 Lines • ▼ Show 20 Line(s) | |||||
222 | <p>Unless specifically required, use an open format instead."), | 222 | <p>Unless specifically required, use an open format instead."), | ||
223 | 0, | 223 | 0, | ||
224 | ImageMetaInfo::LowColour | ImageMetaInfo::HighColour | 224 | ImageMetaInfo::LowColour | ImageMetaInfo::HighColour | ||
225 | }, | 225 | }, | ||
226 | 226 | | |||
227 | { nullptr, nullptr, 0, 0 } | 227 | { nullptr, nullptr, 0, 0 } | ||
228 | }; | 228 | }; | ||
229 | 229 | | |||
230 | static QString sLastFormat = QString::null; // format last used, whether | 230 | static QString sLastFormat; // format last used, whether | ||
231 | // remembered or not | 231 | // remembered or not | ||
232 | 232 | | |||
233 | FormatDialog::FormatDialog(QWidget *parent, ImageMetaInfo::ImageType type, | 233 | FormatDialog::FormatDialog(QWidget *parent, ImageMetaInfo::ImageType type, | ||
234 | bool askForFormat, const ImageFormat &format, | 234 | bool askForFormat, const ImageFormat &format, | ||
235 | bool askForFilename, const QString &filename) | 235 | bool askForFilename, const QString &filename) | ||
236 | : DialogBase(parent), | 236 | : DialogBase(parent), | ||
237 | mFormat(format), // save these to return, if | 237 | mFormat(format), // save these to return, if | ||
238 | mFilename(filename) // they are not requested | 238 | mFilename(filename) // they are not requested | ||
▲ Show 20 Lines • Show All 381 Lines • Show Last 20 Lines |