digiKam
filesaveoptionsdlg.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2010-01-14
7  * Description : a dialog to display image file save options.
8  *
9  * Copyright (C) 2009 by David Eriksson <meldavid at acc umu se>
10  * Copyright (C) 2010-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
11  *
12  * This program is free software; you can redistribute it
13  * and/or modify it under the terms of the GNU General
14  * Public License as published by the Free Software Foundation;
15  * either version 2, or (at your option)
16  * any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * ============================================================ */
24 
25 #ifndef DIGIKAM_FILE_SAVE_OPTIONS_DLG_H
26 #define DIGIKAM_FILE_SAVE_OPTIONS_DLG_H
27 
28 // Qt includes
29 
30 #include <QDialog>
31 
32 // Local includes
33 
34 #include "digikam_export.h"
35 #include "filesaveoptionsbox.h"
36 
37 class QWidget;
38 
39 namespace Digikam
40 {
41 
42 class DIGIKAM_EXPORT FileSaveOptionsDlg : public QDialog
43 {
44  Q_OBJECT
45 
46 public:
47 
48  FileSaveOptionsDlg(QWidget* const parent, FileSaveOptionsBox* const options);
50 
61  static DImg::FORMAT discoverFormat(const QString& filename, DImg::FORMAT fallback = DImg::NONE);
62 };
63 
64 } // namespace Digikam
65 
66 #endif // DIGIKAM_FILE_SAVE_OPTIONS_DLG_H
FORMAT
Definition: dimg.h:66
@ NONE
Definition: dimg.h:71
Definition: filesaveoptionsbox.h:42
Definition: filesaveoptionsdlg.h:43
static DImg::FORMAT discoverFormat(const QString &filename, DImg::FORMAT fallback=DImg::NONE)
Definition: datefolderview.cpp:43